krfb-virtualmonitor

creates a virtual monitor on KDE Plasma that can be accessed via VNC

TLDR

Create a virtual monitor with VNC access
$ krfb-virtualmonitor --resolution 1920x1080 --name [monitor_name] --password [password] --port 5900
Create a lower resolution virtual monitor on a custom port
$ krfb-virtualmonitor --resolution 1280x720 --name [monitor_name] --password [password] --port [5901]

SYNOPSIS

krfb-virtualmonitor --resolution WxH --name name --password password --port port

DESCRIPTION

krfb-virtualmonitor creates a virtual monitor on KDE Plasma that can be accessed via VNC. This is useful for headless systems or for creating additional virtual displays that can be shared remotely.

PARAMETERS

--resolution WxH

Set virtual monitor resolution (e.g., 1920x1080)
--name NAME
Assign a name to the virtual monitor
--password PASSWORD
Set VNC password for remote access
--port PORT
VNC port number (default: 5900)

INSTALL

sudo apt install krfb
sudo dnf install krfb
sudo pacman -S krfb
sudo apk add krfb
sudo zypper install krfb

CAVEATS

Requires KDE Plasma desktop environment. The VNC password is passed on the command line which may be visible in process listings.

SEE ALSO

x11vnc(1), vncviewer(1)