-display Xdisplay
Specifies the X display on which the VNC viewer window should appear.
|
-geometry geometry
Standard X position and sizing specification.
|
-listen [port]
Causes vncviewer to listen on the given port (default 5500) for reverse connections from a VNC
server. WinVNC supports reverse connections initiated using the 'Add New Client' menu option or
the '-connect' command-line option. Xvnc supports reverse connections with a helper program
called vncconfig.
|
-XDialog
Popup an X dialog when asking for server, username and password. Default is to not popup when
vncviewer is start from command line.
|
-passwd password-file
If you are on a filesystem which gives you access to the password file used by the server, you can
specify it here to avoid typing it in. It will usually be "~/.vnc/passwd".
|
-Shared
When you make a connection to a VNC server, all other existing connections are normally closed.
This option requests that they be left open, allowing you to share the desktop with someone
already using it.
|
-ViewOnly
Specifies that no keyboard or mouse events should be sent to the server. Useful if you want to
view a desktop without interfering; often needs to be combined with -Shared.
|
-FullScreen
Start in full-screen mode.
|
-AutoSelect
Use automatic selection of encoding and pixel format (default is on). Normally the viewer tests
the speed of the connection to the server and chooses the encoding and pixel format appropriately.
Turn it off with -AutoSelect=0.
|
-FullColour, -FullColor
Tells the VNC server to send full-colour pixels in the best format for this display. By default a
low colour mode is used until AutoSelect decides the link is fast enough. However if the server's
native pixel format is colourmapped (as opposed to truecolour) then the server's format is used by
default.
|
-LowColourLevel level
Selects the reduced colour level to use on slow links. level can range from 0 to 2, 0 meaning 8
colours, 1 meaning 64 colours (the default), 2 meaning 256 colours.
|
-PreferredEncoding encoding
This option specifies the preferred encoding to use from one of "ZRLE", "hextile" or "raw".
|
-UseLocalCursor
Render the mouse cursor locally if the server supports it (default is on). This can make the
interactive performance feel much better over slow links.
|
-WMDecorationWidth w, -WMDecorationHeight h
The total width and height taken up by window manager decorations. This is used to calculate the
maximum size of the VNC viewer window. Default is width 6, height 24.
|
-log logname:dest:level
Configures the debug log settings. dest can currently be stderr or stdout, and level is between 0
and 100, 100 meaning most verbose output. logname is usually * meaning all, but you can target a
specific source file if you know the name of its "LogWriter". Default is *:stderr:30.
|
-MenuKey keysym-name
This option specifies the key which brings up the popup menu. The key is specified as an X11
keysym name (these can be obtained by removing the XK_ prefix from the entries in
"/usr/include/X11/keysymdef.h"). Default is F8.
|
-via gateway
Automatically create encrypted TCP tunnel to the gateway machine before connection, connect to the
host through that tunnel (TightVNC-specific). By default, this option invokes SSH local port
forwarding, assuming that SSH client binary can be accessed as /usr/bin/ssh. Note that when using
the -via option, the host machine name should be specified as known to the gateway machine, e.g.
"localhost" denotes the gateway, not the machine where vncviewer was launched. The environment
variable VNC_VIA_CMD can override the default tunnel command of
/usr/bin/ssh -f -L "$L":"$H":"$R" "$G" sleep 20. The tunnel command is executed with the
environment variables L, H, R, and G taken the values of the local port number, the remote host,
the port number on the remote host, and the gateway machine respectively.
|