LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   error msg"Coud not acquire name on session bus" always when try to connect Ubuntu vnc (https://www.linuxquestions.org/questions/linux-newbie-8/error-msg-coud-not-acquire-name-on-session-bus-always-when-try-to-connect-ubuntu-vnc-792812/)

ayongying 03-03-2010 02:38 AM

error msg"Coud not acquire name on session bus" always when try to connect Ubuntu vnc
 
My steps as following:

1 my physical machine :
one computer : windows xp, VNCviewer/Real VNCviewer
another computer : vnc4server in Ubuntu 9.10

2 install VNCServer
sudo apt-get install vnc4server

3 modify VNC Password,

# vncpasswd

Password: ******

Verify:*****

4.set up VNC server,cat /root/.vnc/xstartup,it display like following and do nothing with the file
----
vncconfig -iconic &
xterm -geometry 80x24+10+10 -ls -title "$VNCDESKTOP Desktop" &
#twm &
gnome-session &
----

5 start vncserver,will get:

root@test-desktop:~# vncserver

New 'test-desktop:2 (root)' desktop is test-desktop:2

Starting applications specified in /root/.vnc/xstartup
Log file is /root/.vnc/test-desktop:2.log

6. Form the vnc client login:
will get :Coud not acquire name on session bus


I can do nothing with it.How to do with it?
I really need some help.

ayongying 03-03-2010 02:42 AM

I try press Ctrl+Alt+F1 enter commond line and restart vncserver,Then use VNCviewer to connect,This time I can .
But this is not a good way.I think.


All times are GMT -5. The time now is 03:07 PM.