x11vnc

A VNC server that will enable VNC on an existing display server. By default, the server will automatically terminate once all clients disconnect from it. More information: https://manned.org/x11vnc.

x11vnc -shared

x11vnc -forever -viewonly

x11vnc -display :display.screen

x11vnc -display :2

x11vnc -display :0.1