Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 03-03-2010, 02:38 AM   #1
Registered: Mar 2010
Location: Bei Jing
Posts: 41

Rep: Reputation: 15
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: ******


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.
Old 03-03-2010, 02:42 AM   #2
Registered: Mar 2010
Location: Bei Jing
Posts: 41

Original Poster
Rep: Reputation: 15
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.

Last edited by ayongying; 03-03-2010 at 02:43 AM.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Error msg: error: C++ preprocessor "/lib/cpp" fails sanity check wild_willy Linux - Newbie 4 01-04-2007 11:30 AM
"mythtv-setup" giving "Session management error: Authentication Rejected" Mitchua Ubuntu 0 10-09-2005 04:32 PM
Error: "Tried to connect to session manager, Authentication Rejected, reason : None" randomx Linux - Software 0 01-24-2005 03:44 PM
samba to spam a "welcome msg" when clients connect? realized Linux - Networking 0 10-11-2004 11:04 AM
Unable to acquire AGP, error "xf86_ENOMEM" - have followed usual procedure vasudevadas Linux - Hardware 5 06-02-2004 02:53 PM > Forums > Linux Forums > Linux - Newbie

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

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration