Environmental raspbian
VNCserver 4.X version (x11vnc)
:( all of the following specific instructions with root privileges)
1 - Installing X11VNC
1 sudo apt-get install x11vnc 2 3 error: sudo apt-get update
2 - Configuration access password
1 sudo x11vnc -storepasswd /etc/x11vnc.pass
3 - Create service
1 nano /lib/systemd/system/x11vnc.service
Paste following code
1 [Unit] 2 Description=Start x11vnc at startup. 3 After=multi-user.target 4 [Service] 5 Type=simple 6 ExecStart=/usr/bin/x11vnc -auth guess -forever -loop -noxdamage -repeat -rfbauth /etc/x11vnc.pass -rfbport 5900 -shared 7 [Install] 8 WantedBy=multi-user.target
4 - Modify firewall configuration, configuration and startup services
. 1 the sudo ufw the allow 5900 (failure If the ping does not affect the use VNCserver) 2 x11vnc.service enable the sudo systemctl . 3 the sudo systemctl daemon-reload
5 - Restart
reboot