LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 03-03-2010, 03:38 AM   #1
ayongying
Member
 
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: ******

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.
 
Old 03-03-2010, 03:42 AM   #2
ayongying
Member
 
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 03:43 AM.
 
  


Reply


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 12:30 PM
"mythtv-setup" giving "Session management error: Authentication Rejected" Mitchua Ubuntu 0 10-09-2005 05:32 PM
Error: "Tried to connect to session manager, Authentication Rejected, reason : None" randomx Linux - Software 0 01-24-2005 04:44 PM
samba to spam a "welcome msg" when clients connect? realized Linux - Networking 0 10-11-2004 12:04 PM
Unable to acquire AGP, error "xf86_ENOMEM" - have followed usual procedure vasudevadas Linux - Hardware 5 06-02-2004 03:53 PM


All times are GMT -5. The time now is 02:12 PM.

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