Solved

TightVNC/UltraVNC hangs after protocol negotiation

Posted on 2010-08-15
6
2,128 Views
Last Modified: 2013-11-15
I just set up Ubuntu 10.04 Server and I'm trying to get RDP from Windows up and running.  I installed gnome with 'sudo apt-get install ubuntu-desktop', and I verified that vino is running on boot.  When I connect to the box with TightVNC, the status window hangs at "protocol negotiated".  I have to quit out using task manager.  UltraVNC does pretty much the same thing, but exiting the connection status window also exits the app.  The log for TightVNC is not very helpful, but is attached below.

Any ideas?


[2644] 2010-08-15 05:22:24 * Started and Winsock (v 2) initialised
[2644] 2010-08-15 05:22:24 + Buffer size expanded to 4352
[2644] 2010-08-15 05:22:24 * Registered connection with app
[2644] 2010-08-15 05:22:25 @ Connected to 10.0.0.8 port 5900
[2644] 2010-08-15 05:22:25     reading 12 bytes
[2644] 2010-08-15 05:22:25 @ RFB server supports protocol version 3.7
[2644] 2010-08-15 05:22:25     writing 12 bytes
[2644] 2010-08-15 05:22:25 @ Connected to RFB server, using protocol version 3.7
[2644] 2010-08-15 05:22:25     reading 1 bytes

Open in new window

0
Comment
Question by:Steve Bink
  • 4
6 Comments
 
LVL 50

Author Comment

by:Steve Bink
Comment Utility
TightVNC and UltraVNC now connect, but only if a local console user is logged on to the GUI.  How can I configure the system to accept an RDP session including logon, instead of taking over an existing session?
0
 
LVL 18

Accepted Solution

by:
TobiasHolm earned 500 total points
Comment Utility
Hi!

Found a solution for headless operation of VNC:

"
...need it to do is to add "gnome-session & to file /home/user/.vnc/xstartup

example;
#!/bin/sh

xrd $HOME/.Xresources
xsetroot -solid grey
#x-terminal-emulator -geometry 80x24+10+10 -ls -title "$VNCDESKTOP Desktop" &
#x-window-manager &
gnome-session &
"

Ref: http://ubuntuforums.org/showthread.php?t=1172070&page=2

Also you could try NXClient from http://www.nomachine.com that should work with a headless system.

Regards, Tobias
0
 
LVL 50

Author Comment

by:Steve Bink
Comment Utility
My apologies for the delay...my work schedule has been getting in the way of my experimentation.  I will get back to this by the weekend.
0
 
LVL 50

Author Comment

by:Steve Bink
Comment Utility
I totally forgot about this question, and the need/curiosity has passed.  My apologies for the abandonment.  I do not have enough experience in this area to determine if the answer would have been helpful, but I'll award points all the same.  

0
 
LVL 50

Author Closing Comment

by:Steve Bink
Comment Utility
I was never able to get it working, and have no further time to spend playing with it.  I cannot testify as to the accuracy of the answer.
0

Featured Post

Maximize Your Threat Intelligence Reporting

Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

Join & Write a Comment

The purpose of this article is to show how we can create Linux Mint virtual machine using Oracle Virtual Box. To install Linux Mint we have to download the ISO file from its website i.e. http://www.linuxmint.com. Once you open the link you will see …
New Windows 7 Installations take days for Windows-Updates to show up and install. This can easily be fixed. I have finally decided to write an article because this seems to get asked several times a day lately. This Article and the Links apply to…
The viewer will learn how to successfully create a multiboot device using the SARDU utility on Windows 7. Start the SARDU utility: Change the image directory to wherever you store your ISOs, this will prevent you from having 2 copies of an ISO wit…
The viewer will learn how to successfully download and install the SARDU utility on Windows 7, without downloading adware.

762 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now