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

Comments

Popular posts from this blog

Resolve "Cannot download packages whilst offline" issue in Deja-Dup backup software

ubuntu 20.04 / netplan / change mac address and static ip

wireshark ssh remote connect on linux server