Solved

TightVNC/UltraVNC hangs after protocol negotiation

Posted on 2010-08-15
6
2,210 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
ID: 33440301
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
ID: 33440735
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
ID: 33471288
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
ID: 33891543
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
ID: 33891544
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

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

When you start your Windows 10 PC and got an "Operating system not found" error or just saw  "Auto repair for startup" or a blinking cursor with black screen. A loop for Auto repair will start but fix nothing.  You will be panic as there are no backā€¦
On some Windows 7 (SP1) computers, Windows Update becomes super slow even the computer is reasonably fast.  There's one solution that seemed to have worked well for me (after trying a few other suggested solutions).
This Micro Tutorial will teach you the basics of configuring your computer to improve its speed. It will also teach you how to disable programs that are running in the background simultaneously. This will be demonstrated using Windows 7 operatingā€¦
This Micro Tutorial will give you a basic overview of Windows DVD Burner through its features and interface. This will be demonstrated using Windows 7 operating system.

830 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