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

Install

All systems
curl cmd.cat/x11vnc.sh
Debian Debian
apt-get install x11vnc
Ubuntu
apt-get install x11vnc
Alpine
apk add x11vnc
Arch Arch Linux
pacman -S x11vnc
image/svg+xml Kali Linux
apt-get install x11vnc
Fedora
dnf install x11vnc
Windows (WSL2)
sudo apt-get update sudo apt-get install x11vnc
OS X
brew install x11vnc
Raspbian
apt-get install x11vnc
Docker
docker run cmd.cat/x11vnc x11vnc powered by Commando

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

© tl;dr; authors and contributors