Skip to content

Instantly share code, notes, and snippets.

@mrcodetastic
Created September 8, 2025 22:41
Show Gist options
  • Select an option

  • Save mrcodetastic/d2c6ae8a502b58204fa095868cf49db4 to your computer and use it in GitHub Desktop.

Select an option

Save mrcodetastic/d2c6ae8a502b58204fa095868cf49db4 to your computer and use it in GitHub Desktop.
# Dummy display configuration for Xorg to enable a headless Linux server accessable using VNC.
# Save as: /etc/X11/xorg.conf.d/20-dummy.conf
Section "Device"
Identifier "DummyDevice"
Driver "dummy"
VideoRam 256000
EndSection
Section "Monitor"
Identifier "DummyMonitor"
HorizSync 28.0-80.0
VertRefresh 48.0-75.0
Modeline "1920x1080" 172.80 1920 2040 2248 2576 1080 1081 1084 1118 -hsync +vsync
Option "PreferredMode" "1920x1080"
EndSection
Section "Screen"
Identifier "DummyScreen"
Device "DummyDevice"
Monitor "DummyMonitor"
DefaultDepth 24
SubSection "Display"
Depth 24
Modes "1920x1080"
EndSubSection
EndSection
Section "ServerLayout"
Identifier "DummyLayout"
Screen "DummyScreen"
EndSectionuser
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment