Удалённый доступ к рабочему столу x11vnc



# apt-get install -y x11vnc nano
# x11vnc -storepasswd /etc/x11vnc.pass

# nano /lib/systemd/system/x11vnc.service
 [Unit]
 Description=x11vnc Server
 After=graphical.target

 [Service]
 Type=simple
 Restart=on-failure
 ExecStart=/usr/bin/x11vnc -dontdisconnect -display :0 -auth /var/run/lightdm/root/:0 \
 -notruecolor -noxfixes -shared -forever -rfbport 5900 -o /var/log/x11vnc.log \
 -rfbauth /etc/x11vnc.pass -cursor arrow

 [Install]
 WantedBy=graphical.target

# systemctl daemon-reload
# systemctl enable x11vnc.service
# systemctl restart x11vnc.service
# systemctl status x11vnc.service