LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

x0vncserver

Share existing X display over VNC

TLDR

Start with passwordfile
$ x0vncserver -display :0 -passwordfile [path/to/file]
copy
Start on specific port
$ x0vncserver -display :0 -rfbport [port]
copy

SYNOPSIS

x0vncserver [OPTIONS]

DESCRIPTION

x0vncserver is a TigerVNC server that shares an existing X display over VNC. Unlike vncserver which creates a new virtual display, x0vncserver shares the physical display.This allows remote access to the actual screen being displayed on the monitor.

PARAMETERS

-display DISPLAY

X display to share
-passwordfile FILE
Password file for authentication
-rfbport PORT
VNC port to listen on
-SecurityTypes TYPES
Security types to use

CAVEATS

Requires X11 display. Password must be set using vncpasswd. Security depends on network configuration. Consider SSH tunneling for secure access.

SEE ALSO

Copied to clipboard
Kai