Solved

TightVNC/UltraVNC hangs after protocol negotiation

Posted on 2010-08-15
6
2,283 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
6 Comments
 
LVL 51

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 51

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 51

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 51

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

MS Dynamics Made Instantly Simpler

Make Your Microsoft Dynamics Investment Count  & Drastically Decrease Training Time by Providing Intuitive Step-By-Step WalkThru Tutorials.

Question has a verified solution.

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

Today, still in the boom of Apple, PC's and products, nearly 50% of the computer users use Windows as graphical operating systems. If you are among those users who love windows, but are grappling to keep the system's hard drive optimized, then you s…
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…
This Micro Tutorial will give you a introduction in two parts how to utilize Windows Live Movie Maker to its maximum editing capability. This will be demonstrated using Windows Live Movie Maker on Windows 7 operating system.
The Task Scheduler is a powerful tool that is built into Windows. It allows you to schedule tasks (actions) on a recurring basis, such as hourly, daily, weekly, monthly, at log on, at startup, on idle, etc. This video Micro Tutorial is a brief intro…

690 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