Ubuntu :: VNC Could Not Acquire Name On Session Bus?
Aug 23, 2010
I'm experiencing a problem when trying to use VNC on my desktop box. Whenever I try to connect, I get a gray screen with the error "could not acquire name on session bus".I've searched the forums, but after trying several solutions, nothing has seemed to work for me.My xstartup file looks like this:
After upgrading from 11.1 to 11.2 my gnome box starts with a message box stating "Could not acquire name on session bus" directly after the (successful) login.I'm not really sure which applications creates the message box since there is no title on the window.As far as I can see, the everything else on the desktop is fully operational.When investigating the problem I found some kind of recursive calls in the process table (ps -axf):
Need explanation about low level (like assembly level) memory management? Such as, how does a process acquire more memory, sharing memory among processes, etc. I don't want to know how to use malloc or other library functions, but more along the lines of how an example malloc implementation would acquire memory.
I've just moved from Ubuntu 9.04 and installed 10.04. I have 5.1 sound set up and selected the Analogue Surround 5.1 in the hardware selection. I'm using on board sound so i have the correct device selected. I have sound but my problem comes when trying to adjust the balance and sub etc. I can move the subwoofer on its own and set the fade on its own but if i try to change the balance the fade moves with it (not always in the same way, sometimes it fades to the rear, some times to the front). Also, when i move the master volume the subwoofer level follows it.Is there a fix for this problem?
Also how can i acquire the sound drivers and settings panel that where in 9.04 if not? will they still be comparable with 10.04?
Due to all the "fun" I had upgrading spamassassin from 3.2.5 to 3.3.1 on C55 I thought I would detail it here so as to possibly save others from all the frustration I have endured. There are probably a zillion different ways to make this work but this is how I did it and it seems to work well.
1) Acquire spamassassin rpm. I downloaded several different versions from various sites and had problems with all of them so I ended up grabbing the SRPM from Fedora 13 spamassassin-3.3.1-2.fc13.src.rpm. This of course will not load onto C55 as rpmbuild has changed so I loaded it onto a FC13 box and then TARed the SPEC & SOURCES directories, copied them onto a C55 and built SRPM from there.
2) Install on C55 The new spamassassin requires several updated packages to make it happy. a) perl-Mail-DKIM greater than 0.31. I cheated and used this one from FC8 perl-Mail-DKIM-0.32-3.fc8.noarch.rpm b) perl-socket6 that is 2.0 or later. I got this one from DAG perl-Socket6-0.20-1.rf.x86_64.rpm c) perl-NetAddr-IP that is 4.0 or later. Again DAG saved the day perl-NetAddr-IP-4.007-1.rf.x86_64.rpm d) the spamassassin of course :) Actually I built them from the SRPMs as I needed both the 32 and 64 bit packages for various servers.
3) Run sa-update --D to get the latest rules then restart the spamassassin service. For those who do not have access to a FC13 box you can get a copy of the SRPM I made here [URL].
I am running 6 servers on RHEL4.4 with oracle databases and application on HP ML370 hardware. Since initial installation, I have not applied any patch updates. I would like to start practising Patch Management and would like to know how to start and how to do it. For security reasons, I am not allowed to connect the servers to RHN or RHS hence will appreciate other options of acquiring patch updates in bundled form say on a monthly basis.
I setup the dnsmasq in debian squeeze as dhcp and dns server, for the debian host i assigned the static ip addresses, and configured the xp for dhcp. Windows XP network can't acquire DHCP address from debian squeeze with this error:
Quote:
error unable to contact your dhcp server Request has timed out.
this is the tcpdump output in debian for the xp network:
Quote:
15:12:10.631635 IP 0.0.0.0.bootpc > 255.255.255.255.bootps: BOOTP/DHCP, Request from 00:07:e9:a8:ea:93 (oui Unknown), length 300 15:13:16.611793 IP 0.0.0.0.bootpc > 255.255.255.255.bootps: BOOTP/DHCP, Request from 00:07:e9:a8:ea:93 (oui Unknown), length 300 15:13:16.611793 IP 0.0.0.0.bootpc > 255.255.255.255.bootps: BOOTP/DHCP, Request from 00:07:e9:a8:ea:93 (oui Unknown), length 300 15:12:42.631730 ARP, Request who-has 169.254.202.161 tell 169.254.202.161, length 4615:12:44.613568 ARP, Request who-has
Although Im using SuSE since 7.2 this is my first forum post here. I just plugged in my iPhone with USB and 11.4 created an eth1 interface for the iPhone and also loads the ipheth kernel module. Anyhow I am not able to acquire an IP address using DHCP. The iPhone OS is 4.2.1 and its an iPhone 3G 8GB black
Is there a session manager I can use with 10.10? I would like to try Openbox but am not sure how to select it as a startup session. I would like to be able to choose between kde, gnome and openbox.
I have a very bad attempt at hashing the components of an tcp session to assign/locate the session in a hash table bucket. I am pretty sure that it has a very high collision rate and when there are a very large number of tcp sessions my application is having to search a long linked list to find the session within the bucket.
All the hashing functions I have found take a single string input where I need to input several integers and hash them into a single result. My guess is that any real hashing function is going to produce better results than what I am currently doing.
I am putting together some new systems for my customer and I'm having some trouble with a script that we use to back up files to a DVD R. The problem is that I can't write a 2nd session to the DVD unless I eject the disk and reload it. The drives are slimline type drives, Sony BD-5730S and Teac DV-W28S-V93, so they won't reload without human intervention. Opsys is CentOS 5.4 or RHEL 5.4. I've tried both AMD and Intel based mother boards. If i try this on Fedora 11 or 12 it works fine. This works on IDE attached drives but not a SATA attached drives. Fedora appears to use something called genisoimage instead of mkisofs. I can't get genisoimage to run on CentOS or RHEL.
Here's the code to setup the test files:
rm -f /tmp/BDtest/* mkdir /tmp/BDtest dd if=/dev/zero of=/tmp/BDtest/blank.iso bs=10M count=1 for NUM in {1..160}
I am currently in a project to set up an LTSP server with 10 thin clients. I am using Ubuntu 9.10 (Karmic).
Installing server and booting clients are working fine. Now, according to the need, I have to restrict user session numbers and allow resuming previous user session.
I have achieved to do the first one, but still could not able to setup the second one. As per requirement, if some thin can have power failure, the same session should be restored back. I am confused here, if I need to focus on saving xsessions or saving gnome sessions. I am looking for a concrete solution as I am running out of time.
The following message comes up when I boot up: Logging in user Warning: Cannot open ConsoleKit session: Unable to open session: Launch helper exited with unknown return code 0. When I press OK, the system completes the start up and everything looks normal. But when I try to connect to internet, I get the following message:
KNetworkManager cannot start because the installation is misconfigured. System DBUS policy does not allow it to provide user settings; contact your system administrator or distribution. KNetworkManager will not start automatically in future. If I reboot the system, I logg in successfully. So far the problem has appeared approximately upon every second time I boot up. Rebooting the system seems to take care of it.
Don't know what info is of interest. I'm using
Opensuse 11.2 KDE 4.4.2 (Factory) After upgrade from 4.4.1 to 4.4.2 it worked fine for a week or so.
I do a clean install of slackware64 13.1 beta1 with KDE and switch default runlevel to 4 in /etc/inittab.
I try to login in kdm, I always come back to the login....
I try this with default runlevel 3 and an .xinitrc with "ck-launch-session startkde" .. works without problems, so I switch back to default runlevel 4, now i can login and only get the error "Cannot open ConsoleKit session: Unable to open session..."
after an update yesterday, I cannot log into my X session ...
The first time I tried, my screen showed a KDE background, and I got the error:
could not start ksmserver check your installation then I had to click ok, and it put me back to the log in screen.
I opened a shell (ctrl-alt-F1), logged in and typed:
sudo apt-get remove ksmserver, and it told me there was nothing to remove, but said I had a bunch of stale packages and to apt-get autoremove them, and I did
Now, when I go to the log in screen (X), under sessions, it only has xterm (no gnome, no kde) ...
[edit]
I forgot to add, I have always used Gnome, and not kde ... I have no idea why it originally tried to throw me into a KDE session
How can I get my gnome desktop environment back so I can log in again? I have no idea what I did, nor how to get back to normalcy!
In recent versions of ubuntu, the behavior of gdm and gnome is changed so that if a gnome user doesn't touch the mouse or keyboard for a while, the session is locked, and they have to type their password in order to get back in. I dislike this behavior, because on some of the machines I use and manage, people will walk away and not come back, and then there is no way to log them out. I can switch and log in as a different user, but the AWOL user's session is sitting there eating up resources until the machine is rebooted. I prefer the old behavior, with no locking. Is there any way to get the old behavior back? I've looked through the gdm.conf docs, but can't seem to find anything relevant. This actually seems more like a gnome issue than a gdm issue. I think what's changed is that gnome now invokes a screensaver after a certain amount of time, and that screensaver locks the session.
I just upgraded to Natty (11.04) and I want to get my Ubuntu to remember what last windows I had open after I logout and then login.
Due to reasons beyond my comprehension, hibernate and sleep do not work, and I prefer to use shutdown anyway.
I am using Unity and have not changed much of the default environment. I found plenty of guides for 8.04, but the Unity change has moved a lot of things around.
Is this possible, and if so, how do I do it in 11.04?
I have installed Ubuntu Netbook Remix 10.04 on my Sony Vaio netbook. I want to be able to log into a Gnome session as an alternative to UNR. The main reason for wanting to do this is to be able to add some applets to the panel which I use a lot. This is not possible in UNR, which is really irritating! However, I really like UNR otherwise, so don't want to just install standard version.
Synaptic shows that Gnome is not installed, but when I try to install it, I get this error message: gnome: Depends: swfdec-mozilla but it is not going to be installed
I tried uninstalling Epiphany, which I sometime use instead of Firefox, but still got the error. I installed Ubuntu-Desktop, but when I select "Gnome" from the session menue at the bottom of the login page, it just logs into UNR session.
How do I install Gnome desktop so that I can log into a Gnome session?
I'm using an ATI card, however. I'm using a dual-monitor setup, such that one of the monitors is my HDTV. The problem is that flash has a bug in it (I don't care if Adobe claims it's a security feature, it's a bug) where it only opens full-screen mode on your left-most monitor, which happens to be my pc. Now I know an "easy" work-around is to switch the positions of my monitors, but I don't have room in my apartment to place them differently and switching them only virtually would confuse and frustrate me (I tried it before).
The default Ubuntu Desktop manager is very limited, and only allows me to span the display. The manager within ATI Catalyst Control center is even more limited (it doesn't even like when I use different resolution on each monitor). So I'm hoping to use separate X sessions for each display instead (I'm aware that I can't move windows between the monitors but that would not be as big of an issue to me). Can someone suggest how to setup a separate X session per monitor in ATI?
I am running Ubuntu 9.04 on a wireless networked host machine. The wireless NIC is usb based. Its running inetd for network based servers (telnet, ftp etc).For some reason telnet, ssh or any application specific connection, hangs for a few seconds and then comes back. This happens after every few minutes. I do not loose any sessions or any data flowing across but it is sort of very annoying.It is a dual boot machine and I have also got Windows XP 64-bit. When am running on windows this does not happen, hence am not sure if it is something to do with the wirless nic or something else
So, I thought I'd try Gnome as the default session. Using System...Administration...Login Screen, I selected Gnome as the default session.
When I rebooted, I see an ititial login screen, but when I click on anything, all I get is a black screen and a mouse pointer.
So now I am trying to switch back to the default. So I reboot, hit esc and drop into a root shell, type startx, and I get back to the default environment.
Now, however, When I try to use System...Administration...Login Screen, unlock does not work. I also tried by using su to change from root to my regular ID, but still, when I click on unlock in the login screen settings dialog, nothing happens.
How can I correct this? Is there a text file I can edit as root that will alow me to change things back to default?
After update in Lucid, cant start the session. As only critical part was Nautilus (on 2.31), how to fix it? I don't have in GDM any session option and no way to approach to terminal and start any session. Only way can be somehow before GDM (Lucid by default don't have Grub) or via Live USB (but how?).
I've been playing around with my gnome set up and getting it to look nice, but every time I log out, it messes itself up in just a couple of ways. I saved the session, but that doesn't appear to be catching everything. The problems I'm having -I disable trackpad clicking with "sudo trackpad notap", but I need to reenter this every time I log in or it's turned back on again.
No matter what I do to screenlets, I can't seem to get it to remember that I only want ONE picture frame on my desktop when I boot up, and only ONE CPU monitor. It instead boots up 2 and 3 respectively.I have set stickynote to open up automatically, but it never boots up to the screen, only the panel above. I then have to double click on it to get it to open.Is there a way to save not just the session but every setting you've got running currently on a Ubuntu machine, and then load them automatically when you boot?