Skip to content

Instantly share code, notes, and snippets.

@henryhuypham
Last active August 29, 2015 14:07
Show Gist options
  • Save henryhuypham/7405074ff41bdb1167d7 to your computer and use it in GitHub Desktop.
Save henryhuypham/7405074ff41bdb1167d7 to your computer and use it in GitHub Desktop.
Setup xdmcp
1. install lightdm
2. Config /etc/lightdm/lightdm.conf:
[XDMCPServer]
enabled=true
[SeatDefaults]
xserver-allow-tcp=true
xdmcp-port=177
3. Config /etc/X11/xorg.conf:
Section "Device"
Identifier "Configured Video Device"
Driver "dummy"
EndSection
Section "Monitor"
Identifier "Configured Monitor"
HorizSync 31.5-48.5
VertRefresh 50-70
EndSection
Section "Screen"
Identifier "Default Screen"
Monitor "Configured Monitor"
Device "Configured Video Device"
DefaultDepth 24
SubSection "Display"
Depth 32
Modes "1280x1024"
EndSubSection
EndSection
4. Edit /etc/default/grub:
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash nomodeset"
5. Run "update-grub"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment