# vncconfig(1) - configure and control a VNC server KasmVNC, "" ``` vncconfig [parameters] vncconfig [parameters] -connect host[:port] vncconfig [parameters] -disconnect vncconfig [parameters] [-set] Xvnc-param=value ... vncconfig [parameters] -list vncconfig [parameters] -get Xvnc-param vncconfig [parameters] -desc Xvnc-param ``` ## Description **vncconfig** is used to configure and control a running instance of Xvnc, or any other X server with the VNC extension. Note that it cannot be used to control VNC servers prior to version 4. When run with no options, it runs as a kind of "helper" application for Xvnc. Its main purpose when run in this mode is to query the user how new connections should be handled (provided this feature is enabled). The **-nowin** flag can be used if you always want the query support but don't wish to clutter the desktop with the settings window - alternatively the **-iconic** option can be used to make it iconified by default. When run in any other mode, **vncconfig** is a one-shot program used to configure or control Xvnc as appropriate. It can be used to tell Xvnc to connect or disconnect from listening viewers, and to set and retrieve Xvnc's parameters. Note that the DISPLAY environment variable or the **-display** option must be set as appropriate to control Xvnc. If you run it on an ordinary X server (or on a version 3 Xvnc) you will get an error message saying that there is no VNC extension. ## Options * **-connect _host_[:_port_]** Tells an Xvnc server to make a "reverse" connection to a listening VNC viewer (normally connections are made the other way round - the viewer connects to the server). _host_ is the host where the listening viewer is running. If it's not listening on the default port of 5500, you can specify _host:port_ instead. * **-disconnect** This causes Xvnc to disconnect from all viewers so that the VNC desktop is not displayed anywhere. * [**-set**] _Xvnc-param_=_value_ Sets an Xvnc parameter to the given value. Note that some of Xvnc's parameters are read only once at startup so that changing them in this way may not have any effect. * **-list** Lists all the parameters supported by Xvnc. * **-get _Xvnc-param_** Prints the current value of the given Xvnc parameter. * **-desc _Xvnc-param_** Prints a short description of the given Xvnc parameter. ## Parameters **vncconfig** also has parameters of its own which can be set on the command line. These should not be confused with Xvnc's parameters which are manipulated with the **-set**, **-get**, **-list** and **-desc** options. Parameters can be turned on with -_param_ or off with -_param_=0. Parameters which take a value can be specified as -_param_ _value_. Other valid forms are _param_**=**_value_ -_param_=_value_ --_param_=_value_. Parameter names are case-insensitive. * **-display _Xdisplay_** Specifies the Xvnc server to control. * **-nowin** When run as a "helper" app, don't put up a window. * **-iconic** When run as a "helper" app, make the window iconified at startup. ## See Also **vncpasswd**(1), **vncviewer**(1), **vncserver**(1), **Xvnc**(1) http://kasmweb.com ## Author Kasm Technologies Corp., Tristan Richardson, RealVNC Ltd., D. R. Commander and others. VNC was originally developed by the RealVNC team while at Olivetti Research Ltd / AT&T Laboratories Cambridge. TightVNC additions were implemented by Constantin Kaplinsky. Many other people have since participated in development, testing and support. KasmVNC has since forked and the project and has added many modern features and made the solution web native. This manual is part of the KasmVNC software suite.