13 January 2017

Using TeamViewer on headless (without monitor) ubuntu machine

In order to get TeamViewer running smoothly (without lag, or simply cannot install) when no monitors are connected, you need to emulate one.

This is done by creating (or editing) this file :
/usr/share/X11/xorg.conf.d/xorg.conf
And add the following content :
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 24
    Modes "1024x800"
    EndSubSection
EndSection
Reboot the computer

#1
Post a Comment