Updated: April 19, 2023 |
Remote framebuffer VNC server
vncserv [-d display_id] [-e encoder] [-f format] [-i inetd] [-k] [-n count] [-p port] [-s server_name] [-v verbosity]
QNX Neutrino
The display that you specify using display_id must be one of the displays that you've configured in the display subsections of the winmgr section in your configuration file (e.g., graphics.conf).
If you don't have any display subsections configured, or if you don't specify the display option, vncserv uses the default display.
If you don't specify this option, vncserver uses zrle as the default.
Where "a" indicates alpha bits and "x" indicates that the alpha bits are ignored.
This format is internal and can be different from that of the display's. If you don't specify this option, vncserver uses rgb565.
vncserv 5900/tcp
vncserv stream tcp nowait root /bin/vncserv in.vncserv -i [OPTIONS]
This option is disabled by default. Accepting connections when the client is disconnected is implicit with inetd. This means that setting -k is not needed.
The default is the number of CPU cores available. This is done to maximize performance by creating a tile processor thread for each CPU core to encode in parallel. To lower CPU usage, you may specify a lower number. Minimum being 1.
When the -i (inetd) and the -v (verbosity) options are set, verbosity is set to basic and is daemonized. This means that verbosity is silent on the display but will slog*() the messages and errors.
The vncserv utility is a VNC server that allows VNC clients to remotely access the target display.
You must configure the client to allow the server to set the pixel format. This option is usually labeled as full color or let the server decide in client application options.
# vncserv -d 0 -v 2 -e zrle -k -s MyServer -n 1
In this example, the contents of the display dpy-0 are captured. The captured framebuffer is encoded using zrle encoding performing compression on 1 CPU core. Verbosity is set to level 2. The server name in this case is MyServer and it continues to accept connections after the client disconnects.