Ubuntu 16.04 – x11vnc running at startup

Abbreviated version of setting up x11vnc on Ubuntu 16.04 based systems:

sudo x11vnc -storepasswd /etc/x11vnc/passwd
sudo vi /lib/systemd/system/x11vnc.service
Description=Start x11vnc at startup.

ExecStart=/usr/bin/x11vnc -xkb -auth /var/run/lightdm/root/:0 -noxrecord -noxfixes -noxdamage -rfbauth /etc/x11vnc/passwd -forever -bg -nodpms -rfbport 5900 -rfbversion 3.6 -permitfiletransfer -shared -dontdisconnect -alwaysshared -o /var/log/x11vnc.log

sudo systemctl enable x11vnc.service
sudo systemctl daemon-reload
sudo service x11vnc restart

Source: Ubuntu 16.04 – Configure your system to have x11vnc running at startup – Griffon’s IT Library

Bad Behavior has blocked 95 access attempts in the last 7 days.