By default, the daemon listens for connections on port 5999; specify the DaemonPort VNC parameter to choose a different port. Also by default, a VNC Viewer can connect by supplying the credentials of any user able to log on to the computer (the daemon mandates system authentication); specify the Permissions VNC parameter to restrict access to particular users or groups.
For each successfully-authenticating VNC Viewer, the daemon runs vncserver-virtual; see vncserver-virtual(1). The daemon then transfers the connection to the newly-created virtual desktop and consumes one desktop from your license, as that user. The daemon itself does not consume a desktop.
When a VNC Viewer disconnects, their virtual desktop is destroyed. Your license is incremented by one desktop. If a VNC Viewer reconnects using the same credentials, a new virtual desktop is created; a session does not persist.
To see a list of valid commands, run vncserver-virtuald -help.
To see a list of valid VNC parameters, run vncserver-virtuald -help.
When the daemon starts, VNC parameters are applied in the following order:
This means that a particular VNC parameter specified at the command line overrides the same parameter specified in a per-user or in a system-wide VNC configuration file, but is itself overridden by the same parameter specified in a policy VNC configuration file. Policy cannot be changed by users.
Note there is a disadvantage to specifying VNC parameters at the command line: parameters cannot be reloaded while the daemon is running. VNC configuration files can be reloaded, however, which means that the daemon can be reconfigured without downtime.
For a list of the VNC configuration files available for the daemon, and for detailed
explanations of individual VNC parameters, start with
Note that an equivalent set of VNC configuration files is available for each instance of vncserver-virtual started by the daemon. To configure activities related to a particular session, edit VNC configuration files for Xvnc owned by the appropriate user.
To start the daemon automatically at system boot time, use the appropriate configuration tool for your system:
For UNIX systems, please consult the appropriate startup script documentation.
To change the log quality, quantity, or destination, specify the Log, LogDir, and LogFile VNC parameters.
VNC is a registered trademark of RealVNC Ltd. in the U.S. and in other countries. Protected by UK patent 2481870.