Starting and Stopping VNC Connect

Follow

You can operate VNC Connect programs from the graphical desktop in the standard way for Windows applications, or alternatively from the command line.

*By default, VNC Server in Service Mode starts automatically when the computer is powered on. You can change this from the Microsoft Services snap-in.

Operating VNC Server at the command line

By default, VNC Server is installed in C:\Program Files\RealVNC\VNC Server.

Note that commands for VNC Server in Service Mode must be run from an Administrator Command Prompt (right-click Start > All Programs > Accessories > Command Prompt and select Run as administrator).

Operation Mode Command
 Start VNC Server  User  vncserver.exe
 Service  vncserver.exe -start

 Establish a reverse direct connection to Listening VNC Viewer

 User  vncserver.exe -connect <computer>
 Service  vncserver.exe -service -connect <computer>
 Start and establish a reverse direct   connection to Listening VNC Viewer  User  vncserver.exe -iconnect <computer>
 Service  invalid operation
 Reload license keys and parameters   without stopping  User  vncserver.exe -reload
 Service  vncserver.exe -service -reload
 Get help  User  vncserver.exe -help
 Service  vncserver.exe -service -help
 Stop VNC Server  User  vncserver.exe -stop
 Service  vncserver.exe -service -stop

Operating VNC Viewer at the command line

If you installed VNC Viewer, then it will be in C:\Program Files\RealVNC\VNC Viewer by default.

If you downloaded standalone VNC Viewer, perhaps because you didn’t have administrative privileges to install, then it can just be run from the download location.

Operation Type Command
 Start VNC Viewer  Standalone <download-file>.exe
 Installed vncviewer.exe
 Start VNC Viewer and establish a direct connection  Standalone <download-file>.exe <computer>
 Installed vncviewer.exe <computer>
 Start Listening VNC Viewer  Standalone <download-file>.exe -listen [<port>]
 Installed vncviewer.exe -listen [<port>]
 Get help  Standalone <download-file>.exe -help
 Installed vncviewer.exe -help
Was this article helpful?
5 out of 23 found this helpful

Comments

0 comments

Please sign in to leave a comment.