• Documentation
  • »
  • VNC at the command line

You can perform most VNC operations at the command line. See how to script deployment.

For example, to start VNC Server in Service Mode under Windows, right-click Start > All Programs > Accessories > Command Prompt, select Run as administrator, and run the command:

vncserver.exe -start

To list all the commands and VNC parameters available for a particular VNC application, apply the -h[elp] flag, for example:

vnclicense.exe -h

Further commands for common operations are available below:

Under UNIX, one man page is installed for each VNC application that can be run from the command line; these are reprinted below. Note the same principles apply to the vncviewer, vncaddrbook, vncpasswd, and vnclicense applications when run from the command line under Windows and Mac OS X, though this is not true for VNC Server (vncserver-*, Xvnc, and vncinitconfig) due to its platform-specific architecture.