How do I start xterm with a headless system?

Posted by NeViXa on Ask Ubuntu See other posts from Ask Ubuntu or by NeViXa
Published on 2012-06-28T06:22:16Z Indexed on 2012/11/29 17:18 UTC
Read the original article Hit count: 317

Filed under:
|
|
|

I'm running Ubuntu 12.04 and I want to boot directly and headless in the terminal (no GUI). After that I want to startx to start a program in xterm.

When I boot 'headed', everything is working like supposed to, but: - When I boot headless, startx is not working (no screens found)

I already tried to change xorg.conf to below, but it didn't not work:

Section "Device"
    Identifier     "VNC Device"
    Driver         "vesa"
EndSection

Section "Screen"
    Identifier     "VNC Screen"
    Device         "VNC Device"
    Monitor        "VNC Monitor"
    SubSection     "Display"
        Modes "1280x1024"
    EndSubSection
EndSection

Section "Monitor"
    Identifier     "VNC Monitor"
    HorizSync       30-70
    VertRefresh     50-75
EndSection

How can I boot headless and still be able to run startx?

ANSWER:

Adding the BusID to the Devices section in the xorg.conf above, fixed the problem for me.

BusID "PCI:1:00:1"

© Ask Ubuntu or respective owner

Related posts about 12.04

Related posts about xorg