Skip to content

Instantly share code, notes, and snippets.

@samsamm777
Created March 12, 2015 11:47
Show Gist options
  • Save samsamm777/3e0a17b6046413d73f56 to your computer and use it in GitHub Desktop.
Save samsamm777/3e0a17b6046413d73f56 to your computer and use it in GitHub Desktop.
AWS Linux AMI xorg configuration for nvidia graphics card without a screen.
# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig: version 346.47 (buildmeister@swio-display-x86-rhel47-01) Thu Feb 19 19:19:45 PST 2015
# Modified by Sam Hudson (sam.hudson@thefoundry.co.uk). Added Headless monitor, for use without a physical screen.
Section "Monitor"
Identifier "Headless"
HorizSync 80.0 - 80.0
VertRefresh 75.0
Modeline "1280x1024_75.00" 138.45 1280 1368 1504 1728 1024 1025 1028 1069 -Hsync +Vsync
EndSection
Section "Device"
Identifier "Device0"
Driver "nvidia"
VendorName "NVIDIA Corporation"
BusID "PCI:0:3:0"
EndSection
Section "Screen"
Identifier "Screen0"
Device "Device0"
Monitor "Headless"
DefaultDepth 24
Option"UseDisplayDevice" "None"
SubSection "Display"
Virtual 1280 1024
Depth 24
EndSubSection
EndSection
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment