home
clear breadcrumbs
search
login
 
x11vnc
sudo apt-get install x11vnc x11vnc -storepasswd sudo nano /etc/systemd/system/x11vnc.service ===== [Unit] Description="x11vnc" Requires=display-manager.service After=display-manager.service [Service] ExecStart=/usr/bin/x11vnc -xkb -noxrecord -noxfixes -noxdamage -display :0 -auth guess -rfbauth /etc/x11vnc.pass ExecStop=/usr/bin/killall x11vnc Restart=on-failure Restart-sec=2 [Install] WantedBy=multi-user.target ===== sudo systemctl daemon-reload sudo systemctl start x11vnc sudo systemctl enable x11vnc [Service] Type=simple ExecStart=/usr/bin/x11vnc -auth guess -forever -noxdamage -repeat -rfbauth /etc/x11vnc/vncpwd -rfbport 5900 -shared [Install] WantedBy=multi-user.target 6: Reload the services: sudo systemctl daemon-reload 7. Enable the x11vnc service at boot time: sudo systemctl enable x11vnc.service 8. Start the service: Either reboot or sudo systemctl start x11vnc.service