PDA

View Full Version : [ubuntu] Can't VNC in until server's logged in



mattalexx
July 26th, 2008, 07:14 PM
I have Ubuntu's native VNC working on my new Ubuntu server. I use Windows XP to log in using TightVNC. It's working great.

The thing is, I can't use VNC until a user is logged into Gnome on that computer, so running a "shutdown -r now" at any point will restart the server and disable my VNC access until I plug a keyboard into it and log into Gnome.

My workaround at the moment is to automatically log my user in, but I don't like that very much at all.

Any ideas?

sg7791
July 26th, 2008, 07:23 PM
I use ssh to log into Ubuntu before I can start VNC.

Install OpenSSH with:

sudo apt-get install openssh-server

Then you should be able to log in remotely from PuTTY (http://www.chiark.greenend.org.uk/~sgtatham/putty/) on Windows.

ssh admin@192.168.x.x

mattalexx
August 13th, 2008, 09:47 PM
Thank you for your response.