Ubuntu – TeamViewer slow on Ubuntu without monitor 16.04

16.04remoteteamviewer

After restarting my server without a monitor connected, TeamViewer is extremely slow. But if I restart with a monitor it runs fine. How can I get it working like normal without a monitor attached?

Best Answer

  • Install a dummy server:

    sudo apt-get install xserver-xorg-video-dummy-lts-xenial
    

    Add a /etc/X11/xorg.conf file with the following contents:

    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
    
  • Related Question