Page 2 of 2

Re: Installing x11vnc

Posted: Wed 01 Jul 01 2020 11:39 pm
by Daniel Wee
To operate in headless mode:-

sudo apt install xserver-xorg-video-dummy

make sure that /usr/share/X11/xorg.conf.d/xorg.conf is present as follows:-

Code: Select all

Section "Device"
    Identifier  "Configured Video Device"
    Driver      "dummy"
    Option      "IgnoreEDID" "true"
    Option      "NoDDC" "true"
    VideoRam    16384

Section "Monitor"
    Identifier  "Configured Monitor"
    HorizSync    15.0-100.0
    VertRefresh  15.0-200.0
    Modeline     "1920x1080" 60.0 1920 1952 2040 2072 1080 1106 1108 1135

Section "Screen"
    Identifier  "Default Screen"
    Monitor     "Configured Monitor"
    Device      "Configured Video Device"
    DefaultDepth 24
    SubSection  "Display"
        Viewport 0 0
        Depth    24
        Modes    "1920x1080"
        Virtual  1920 1080
To disable this so that the physical HDMI port works, simply uninstall the dummy driver:-

sudo apt remove xserver-xorg-video-dummy

Re: Installing x11vnc

Posted: Mon 07 Sep 07 2020 2:48 pm
by Daniel Wee
Fundamentally - for Ubuntu 20.04 you need to install lightdm and use that as the default.

To solve the problem of lightdm not automatically logging in the user, follow instructions here:- ... _autologin

Mainly, sudo nano /etc/lightdm/lightdm.conf

Code: Select all

Then run:
sudo groupadd -r autologin
sudo gpasswd -a daniel autologin