Install x11vnc on Ubuntu

Written by Yujin Boby

Edit in WordPress

To install x11vnc on Debian/Ubuntu, run

apt install -y x11vnc

To start vnc server, run

x11vnc -display :0

By default, there will be no password. To set password, run

x11vnc -storepasswd

To start x11vnc server with password, run

x11vnc -rfbauth ~/.vnc/passwd