tldr/pages/linux/x11vnc.md

640 B

x11vnc

A VNC server that will enable VNC on an existing display. By default, once a client disconnects the server will terminate.

  • Launch a VNC server that allows multiple clients to connect:

x11vnc -shared

  • Launch the server where the user can only view the screen, and will continue to run even after the last client disconnects:

x11vnc -forever -viewonly

  • Launch a VNC server on a specific display and screen:

x11vnc -display :{{screen}}.{{display}}

  • Launch a VNC server on screen 2 with the default display:

x11vnc -display :{{2}}

  • Launch a VNC server on the second monitor:

x11vnc -display :{{0}}.{{1}}