Published June 4th, 2007 by admin
Running Ubuntu Headless via VNC
If you have ever set up a Ubuntu machine and then wanted to connect to it via VNC without having a monitor hooked up you will likely find that the resolution defaults to 640X480 which is completely useless to work on.
To fix, simply add a couple of lines to the xorg.conf file.
cd /etc/X11
sudo cp xorg.conf xorg_backup.conf
sudo gedit xorg.conf
Add the following two lines to the “Monitor” section:
HorizSync 31-101
VertRefresh 60-160
Save and restart the system.
Technorati Tags: VNC, resolution, screen, headless, Ubuntu
Larry Laird Says
This is a great tip. Works perfectly. I’m going to continue to browse this site. You’ve got some good stuff here!
Thanks
Apr 28th, 2008 at 2:38 pm
Larry Laird Says
I do like the tip but I’d actually like a bit smaller window than I get from this. My host machine runs 1280 x 1024
Apr 28th, 2008 at 6:01 pm