HiveBrain v1.2.0
Get Started
← Back to all entries
snippetbashTip

x11vnc — A VNC server that will enable VNC on an existing display server. By default, the server will automat

Submitted by: @import:tldr-pages··
0
Viewed 0 times
serverwillcommandx11vncclivncthatenable
linux

Problem

How to use the x11vnc command: 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>.

Solution

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>.

Launch a VNC server that allows multiple clients to connect:
x11vnc -shared


Launch a VNC server in view-only mode, and which won't terminate once the last client disconnects:
x11vnc -forever -viewonly


Launch a VNC server on a specific display and screen (both starting at index zero):
x11vnc -display :{{display}}.{{screen}}


Launch a VNC server on the third display's default screen:
x11vnc -display :{{2}}


Launch a VNC server on the first display's second screen:
x11vnc -display :{{0}}.{{1}}

Code Snippets

Launch a VNC server that allows multiple clients to connect

x11vnc -shared

Launch a VNC server in view-only mode, and which won't terminate once the last client disconnects

x11vnc -forever -viewonly

Launch a VNC server on a specific display and screen (both starting at index zero)

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

Launch a VNC server on the third display's default screen

x11vnc -display :{{2}}

Launch a VNC server on the first display's second screen

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

Context

tldr-pages: linux/x11vnc

Revisions (0)

No revisions yet.