Headless Running X in Arch Linux

article #678, updated 1190 days ago

Take the contents below, put it in a new file named:

/etc/X11/xorg.conf.d/10-monitor.conf

and start X again. If it works fine, it will work monitorless. On some video cards “vesa” does not work as the driver, on these you’ll need to replace it with the appropriate one, the list can be had by running X -configure from virtual terminal without X running. Recently saw this on a nice new ATI video card, solved it using “ati” instead of “vesa”.

Section "Monitor"
    Identifier             "Monitor0"
EndSection

Section "Device"
    Identifier             "Device0"
    Driver                 "vesa" #Choose the driver used for this monitor
EndSection

Section "Screen"
    Identifier             "Screen0"  #Collapse Monitor and Device section to Screen section
    Device                 "Device0"
    Monitor                "Monitor0"
    DefaultDepth           24 #Choose the depth (16||24)
    SubSection             "Display"
        Depth              24
        Modes              "1024x768_75.00" #Choose the resolution
    EndSubSection
EndSection

Categories:   Video   Arch Linux