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
Comma-separated list of accepted security types (e.g. `VncAuth,Plain`).
-Geometry WxH+X+Y
Limit the shared region to a subrectangle of the display.
-Log DEST:LEVEL
Configure logging (e.g. `stderr:100`, `*:stderr:30`).
-SendCutText / -AcceptCutText
Enable/disable clipboard forwarding between server and client.
-QueryConnect
Prompt the local user before accepting each incoming connection.

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