Install X11VNC server ubuntu 16.04

Posted by Z3Ro in Linux on Monday, July 11, 2016
Type: POST
Size: 0 KB
Dimensions: 0x0
Added: Monday, July 11, 2016 14:47
Modified: Monday, November 30, -0001 00:00
Install the component:
sudo apt-get install x11vnc
Create the password file:
sudo x11vnc -storepasswd {password} /etc/x11vnc.pass
Create the service file:
sudo nano /lib/systemd/system/x11vnc.service:
with the following configuration:
[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]
Reload, enable and start the service.
sudo systemctl daemon-reload sudo systemctl enable x11vnc sudo systemctl start x11vnc
This site uses google analytics, if you want to avoid being tracked you can use the following app by Google to hide yourself from all analytics tracking.
I accept the terms and conditions of this service.