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: , , , ,


5 Responses to “Running Ubuntu Headless via VNC”

Feed for this Entry Trackback Address
  1. 1

    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

  2. 2

    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

  3. 3

    napalmpiri Says

    Following several problems with the headless server and Ubuntu complaining about missing monitor and low resolution, I resorted to a XGA termination called VIRXGA. You may find the schematics online, it’s under CreativeCommons license.
    Bye.

  1. 1

    Napalmpiri · Bridge in XP with a Wireless card and promiscous mode vs Ubuntu and low resolution.

    Pingback on Oct 10th, 2008 at 6:10 pm
  2. 2

    Bridge in XP with a Wireless card and promiscous mode vs Ubuntu and low resolution. « Napalmpiri

    Pingback on Aug 31st, 2009 at 4:09 pm

Leave a Reply

XHTML: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>