LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

x11vnc

VNC server for existing X displays

TLDR

Share current display with multiple clients
$ x11vnc -shared
copy
Run in view-only mode persistently
$ x11vnc -forever -viewonly
copy
Launch on a specific display and screen
$ x11vnc -display :[display].[screen]
copy
Launch on the third display's default screen
$ x11vnc -display :2
copy
Launch on the first display's second screen
$ x11vnc -display :0.1
copy
Start with password protection
$ x11vnc -passwd [mypassword] -forever
copy
Start with SSL encryption
$ x11vnc -ssl -forever
copy

SYNOPSIS

x11vnc [options]

DESCRIPTION

x11vnc allows VNC access to an existing X11 display. Unlike other VNC servers that create virtual displays, x11vnc shares the actual running desktop, allowing remote control of the physical display.The server captures the display content and transmits it to VNC clients. By default, it terminates when all clients disconnect, unless -forever is specified.

PARAMETERS

-display _display_

X display to share (e.g., :0, :1.0)
-shared
Allow multiple simultaneous clients
-forever
Don't exit when last client disconnects
-viewonly
Clients can only view, not interact
-passwd _password_
Set VNC password
-rfbauth _file_
Use password file
-rfbport _port_
Set VNC port (default: 5900)
-noxdamage
Disable X DAMAGE extension
-clip _WxH+X+Y_
Share only a portion of the screen
-scale _fraction_
Scale the framebuffer
-ssl
Enable SSL/TLS encryption

INSTALL

sudo apt install x11vnc
copy
sudo dnf install x11vnc
copy
sudo pacman -S x11vnc
copy
sudo apk add x11vnc
copy
sudo zypper install x11vnc
copy
brew install x11vnc
copy
nix profile install nixpkgs#x11vnc
copy

CAVEATS

Requires an existing X display to be running. May have performance issues with compositing window managers. Security concerns when used without encryption; consider using -ssl or tunneling over SSH.

SEE ALSO

vncviewer(1), xvnc(1), ssh(1)

Braincup
Open source brain training for math, memory and focus
Braincup mini-games
41 mini-games · Apache-2.0
No ads · No tracking
Play in browser
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid
276 stars
From the maker of Linux Command Library
Copied to clipboard
Braincup
Open source brain training for math, memory and focus. 41 mini-games, from mental arithmetic to Sudoku, N-Back and Solo Chess.
Apache-2.0 licensed · No ads · No tracking · No account
From the maker of Linux Command Library
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid