Constantin Kaplinsky | 82f7b01 | 2008-05-30 10:03:30 +0000 | [diff] [blame] | 1 | .TH X0VNCSERVER 1 "May 30, 2008" "TightVNC" "TightVNC Manual" |
Constantin Kaplinsky | b30ae7f | 2006-05-25 05:04:46 +0000 | [diff] [blame] | 2 | .SH NAME |
Constantin Kaplinsky | a9ec0e8 | 2008-01-07 13:57:01 +0000 | [diff] [blame] | 3 | x0vncserver \- TightVNC Server for real X displays |
Constantin Kaplinsky | b30ae7f | 2006-05-25 05:04:46 +0000 | [diff] [blame] | 4 | .SH SYNOPSIS |
| 5 | .B x0vncserver |
Constantin Kaplinsky | a9ec0e8 | 2008-01-07 13:57:01 +0000 | [diff] [blame] | 6 | .RI [ options ] |
Constantin Kaplinsky | b30ae7f | 2006-05-25 05:04:46 +0000 | [diff] [blame] | 7 | .SH DESCRIPTION |
| 8 | .B x0vncserver |
Constantin Kaplinsky | a9ec0e8 | 2008-01-07 13:57:01 +0000 | [diff] [blame] | 9 | is a TightVNC Server which makes any X display remotely accessible via VNC, |
Constantin Kaplinsky | 5974008 | 2008-01-08 10:42:22 +0000 | [diff] [blame] | 10 | TightVNC or compatible viewers. Unlike \fBXvnc\fP(1), it does not create a |
| 11 | virtual display. Instead, it just shares an existing X server (typically, |
| 12 | that one connected to the physical screen). |
Constantin Kaplinsky | a9ec0e8 | 2008-01-07 13:57:01 +0000 | [diff] [blame] | 13 | .SH OPTIONS |
| 14 | .B x0vncserver |
| 15 | interprets the command line as a list of parameters with optional values. |
| 16 | Running \fBx0vncserver -h\fP will show a list of all valid parameters with |
Constantin Kaplinsky | 5974008 | 2008-01-08 10:42:22 +0000 | [diff] [blame] | 17 | short descriptions. All parameters are optional, but normally you would have |
Constantin Kaplinsky | cef4577 | 2008-01-07 14:52:51 +0000 | [diff] [blame] | 18 | to use the \fBPasswordFile\fP parameter (see its description below). |
Constantin Kaplinsky | a9ec0e8 | 2008-01-07 13:57:01 +0000 | [diff] [blame] | 19 | .PP |
| 20 | There are several forms of specifying parameters in the command line (here we |
| 21 | use `\fISomeParameter\fP' as an example parameter name): |
| 22 | .TP |
| 23 | .B -\fISomeParameter\fP |
Constantin Kaplinsky | 5974008 | 2008-01-08 10:42:22 +0000 | [diff] [blame] | 24 | Enable the parameter, turn the feature on. This form can be used with |
Constantin Kaplinsky | a9ec0e8 | 2008-01-07 13:57:01 +0000 | [diff] [blame] | 25 | parameters that simply enable or disable some feature. |
| 26 | .TP |
| 27 | .B -\fISomeParameter\fP=0 |
| 28 | Disable the parameter, turn the feature off. |
| 29 | .TP |
| 30 | .B -\fISomeParameter\fP=\fIvalue\fP |
Constantin Kaplinsky | 5974008 | 2008-01-08 10:42:22 +0000 | [diff] [blame] | 31 | Assign the specified \fIvalue\fP to the parameter. The leading dash can be |
| 32 | omitted, or it can be doubled if desired (like in GNU-style long options). |
Constantin Kaplinsky | a9ec0e8 | 2008-01-07 13:57:01 +0000 | [diff] [blame] | 33 | .PP |
| 34 | Parameter names are case-insensitive, their order in the command line can be |
| 35 | arbitrary. |
Constantin Kaplinsky | cef4577 | 2008-01-07 14:52:51 +0000 | [diff] [blame] | 36 | .SH PARAMETERS |
| 37 | .TP |
Constantin Kaplinsky | 8d61d0d | 2008-01-07 16:10:37 +0000 | [diff] [blame] | 38 | .B display |
Constantin Kaplinsky | 5974008 | 2008-01-08 10:42:22 +0000 | [diff] [blame] | 39 | The X display name. If not specified, it defaults to the value of the |
| 40 | DISPLAY environment variable. |
Constantin Kaplinsky | 8d61d0d | 2008-01-07 16:10:37 +0000 | [diff] [blame] | 41 | .TP |
| 42 | .B rfbport |
Constantin Kaplinsky | 5974008 | 2008-01-08 10:42:22 +0000 | [diff] [blame] | 43 | TCP port to listen for incoming VNC connections (RFB protocol). The default |
| 44 | port is 5900. |
Constantin Kaplinsky | 8d61d0d | 2008-01-07 16:10:37 +0000 | [diff] [blame] | 45 | .TP |
| 46 | .B Log |
| 47 | Specifies which log output should be directed to which target logger, and the |
Constantin Kaplinsky | 5974008 | 2008-01-08 10:42:22 +0000 | [diff] [blame] | 48 | level of output to log. Format is \fIlog\fP:\fItarget\fP:\fIlevel\fP. |
| 49 | Default is \fB*:stderr:30\fP (log everything to stderr, set log level to 30). |
| 50 | Log level should be a value between 0 and 100, higher levels produce more |
| 51 | output. |
Constantin Kaplinsky | 8d61d0d | 2008-01-07 16:10:37 +0000 | [diff] [blame] | 52 | .TP |
| 53 | .B HostsFile |
Constantin Kaplinsky | b8363be | 2008-01-08 13:48:19 +0000 | [diff] [blame] | 54 | This parameter allows to specify a file name with IP access control rules. |
| 55 | The file should include one rule per line, and the rule format is one of the |
| 56 | following: +\fIaddress\fP/\fInetmask\fP (accept connections from the |
| 57 | specified address group), -\fIaddress\fP/\fInetmask\fP (reject connections) |
| 58 | or ?\fIaddress\fP/\fInetmask\fP (query the local user). The first rule |
| 59 | matching the IP address determines the action to be performed. Rules that |
| 60 | include only an action sign (+, - or ?) will match any IP address. |
| 61 | \fINetmask\fP is optional and can be specified either in dotted format |
| 62 | (e.g. /255.255.255.0), or as a single number of bits (e.g. /24). Default is |
| 63 | to accept connections from any IP address. |
Constantin Kaplinsky | 8d61d0d | 2008-01-07 16:10:37 +0000 | [diff] [blame] | 64 | .TP |
| 65 | .B SecurityTypes |
Constantin Kaplinsky | 5974008 | 2008-01-08 10:42:22 +0000 | [diff] [blame] | 66 | Specify which security scheme to use for incoming connections. Valid values |
| 67 | are \fBNone\fP and \fBVncAuth\fP. Default is \fBVncAuth\fP. |
Constantin Kaplinsky | 8d61d0d | 2008-01-07 16:10:37 +0000 | [diff] [blame] | 68 | .TP |
| 69 | .B PasswordFile |
Constantin Kaplinsky | 5974008 | 2008-01-08 10:42:22 +0000 | [diff] [blame] | 70 | Password file for VNC authentication. There is no default, you should |
| 71 | specify the password file explicitly. Password file should be created with |
| 72 | the \fBvncpasswd\fP(1) utility. |
Constantin Kaplinsky | 8d61d0d | 2008-01-07 16:10:37 +0000 | [diff] [blame] | 73 | .TP |
| 74 | .B Password |
| 75 | Obfuscated binary encoding of the password which clients must supply to |
Constantin Kaplinsky | 5974008 | 2008-01-08 10:42:22 +0000 | [diff] [blame] | 76 | access the server. Using this parameter is insecure, use \fBPasswordFile\fP |
| 77 | parameter instead. |
Constantin Kaplinsky | 8d61d0d | 2008-01-07 16:10:37 +0000 | [diff] [blame] | 78 | .TP |
| 79 | .B BlacklistThreshold |
| 80 | The number of unauthenticated connection attempts allowed from any individual |
Constantin Kaplinsky | 5974008 | 2008-01-08 10:42:22 +0000 | [diff] [blame] | 81 | host before that host is black-listed. Default is 5. |
Constantin Kaplinsky | 8d61d0d | 2008-01-07 16:10:37 +0000 | [diff] [blame] | 82 | .TP |
| 83 | .B BlacklistTimeout |
Constantin Kaplinsky | 5974008 | 2008-01-08 10:42:22 +0000 | [diff] [blame] | 84 | The initial timeout applied when a host is first black-listed. The host |
| 85 | cannot re-attempt a connection until the timeout expires. Default is 10. |
Constantin Kaplinsky | 8d61d0d | 2008-01-07 16:10:37 +0000 | [diff] [blame] | 86 | .TP |
| 87 | .B QueryConnect |
Constantin Kaplinsky | 5974008 | 2008-01-08 10:42:22 +0000 | [diff] [blame] | 88 | Prompt the local user to accept or reject incoming connections. Default is |
| 89 | off. |
Constantin Kaplinsky | 8d61d0d | 2008-01-07 16:10:37 +0000 | [diff] [blame] | 90 | .TP |
| 91 | .B QueryConnectTimeout |
| 92 | Number of seconds to show the Accept Connection dialog before rejecting the |
Constantin Kaplinsky | 5974008 | 2008-01-08 10:42:22 +0000 | [diff] [blame] | 93 | connection. Default is 10. |
Constantin Kaplinsky | 8d61d0d | 2008-01-07 16:10:37 +0000 | [diff] [blame] | 94 | .TP |
| 95 | .B AlwaysShared |
| 96 | Always treat incoming connections as shared, regardless of the |
Constantin Kaplinsky | 5974008 | 2008-01-08 10:42:22 +0000 | [diff] [blame] | 97 | client-specified setting. Default is off. |
Constantin Kaplinsky | 8d61d0d | 2008-01-07 16:10:37 +0000 | [diff] [blame] | 98 | .TP |
| 99 | .B NeverShared |
| 100 | Never treat incoming connections as shared, regardless of the |
Constantin Kaplinsky | 5974008 | 2008-01-08 10:42:22 +0000 | [diff] [blame] | 101 | client-specified setting. Default is off. |
Constantin Kaplinsky | 8d61d0d | 2008-01-07 16:10:37 +0000 | [diff] [blame] | 102 | .TP |
| 103 | .B DisconnectClients |
Constantin Kaplinsky | 5974008 | 2008-01-08 10:42:22 +0000 | [diff] [blame] | 104 | Disconnect existing clients if an incoming connection is non-shared. If |
| 105 | combined with \fBNeverShared\fP then new connections will be refused while |
| 106 | there is a client active. Default is on. |
Constantin Kaplinsky | 8d61d0d | 2008-01-07 16:10:37 +0000 | [diff] [blame] | 107 | .TP |
| 108 | .B AcceptKeyEvents |
Constantin Kaplinsky | 5974008 | 2008-01-08 10:42:22 +0000 | [diff] [blame] | 109 | Accept key press and release events from clients. Default is on. |
Constantin Kaplinsky | 8d61d0d | 2008-01-07 16:10:37 +0000 | [diff] [blame] | 110 | .TP |
| 111 | .B AcceptPointerEvents |
Constantin Kaplinsky | 5974008 | 2008-01-08 10:42:22 +0000 | [diff] [blame] | 112 | Accept pointer events from clients. Default is on. |
Constantin Kaplinsky | 8d61d0d | 2008-01-07 16:10:37 +0000 | [diff] [blame] | 113 | .TP |
| 114 | .B RemapKeys |
Constantin Kaplinsky | 5974008 | 2008-01-08 10:42:22 +0000 | [diff] [blame] | 115 | Comma-separated list of incoming keysyms to remap. Mappings are expressed as |
| 116 | two hex values, prefixed by \fB0x\fP, and separated by \fB->\fP (`dash' and |
| 117 | `greater than' characters). |
Constantin Kaplinsky | 8d61d0d | 2008-01-07 16:10:37 +0000 | [diff] [blame] | 118 | .TP |
| 119 | .B Protocol3.3 |
Constantin Kaplinsky | 5974008 | 2008-01-08 10:42:22 +0000 | [diff] [blame] | 120 | Always use RFB protocol version 3.3 for backwards compatibility with |
| 121 | badly-behaved clients. Default is off. |
Constantin Kaplinsky | cef4577 | 2008-01-07 14:52:51 +0000 | [diff] [blame] | 122 | .TP |
| 123 | .B Geometry |
Constantin Kaplinsky | b8363be | 2008-01-08 13:48:19 +0000 | [diff] [blame] | 124 | This option specifies the screen area that will be shown to VNC clients. The |
| 125 | format is |
Constantin Kaplinsky | 5974008 | 2008-01-08 10:42:22 +0000 | [diff] [blame] | 126 | .B \fIwidth\fPx\fIheight\fP+\fIxoffset\fP+\fIyoffset\fP |
Constantin Kaplinsky | b8363be | 2008-01-08 13:48:19 +0000 | [diff] [blame] | 127 | , where `+' signs can be replaced with `-' signs to specify offsets from the |
| 128 | right and/or from the bottom of the screen. Offsets are optional, +0+0 is |
| 129 | assumed by default (top left corner). If the argument is empty, full screen |
| 130 | is shown to VNC clients (this is the default). |
Constantin Kaplinsky | cef4577 | 2008-01-07 14:52:51 +0000 | [diff] [blame] | 131 | .TP |
Constantin Kaplinsky | cef4577 | 2008-01-07 14:52:51 +0000 | [diff] [blame] | 132 | .B MaxProcessorUsage |
Constantin Kaplinsky | 5974008 | 2008-01-08 10:42:22 +0000 | [diff] [blame] | 133 | Maximum percentage of CPU time to be consumed when polling the |
| 134 | screen. Default is 35. |
Constantin Kaplinsky | cef4577 | 2008-01-07 14:52:51 +0000 | [diff] [blame] | 135 | .TP |
| 136 | .B PollingCycle |
Constantin Kaplinsky | 5974008 | 2008-01-08 10:42:22 +0000 | [diff] [blame] | 137 | Milliseconds per one polling cycle. Actual interval may be dynamically |
| 138 | adjusted to satisfy \fBMaxProcessorUsage\fP setting. Default is 30. |
Constantin Kaplinsky | cef4577 | 2008-01-07 14:52:51 +0000 | [diff] [blame] | 139 | .TP |
Constantin Kaplinsky | cef4577 | 2008-01-07 14:52:51 +0000 | [diff] [blame] | 140 | .B CompareFB |
Constantin Kaplinsky | 5974008 | 2008-01-08 10:42:22 +0000 | [diff] [blame] | 141 | Perform pixel comparison on framebuffer to reduce unnecessary updates. |
| 142 | Default is on. |
Constantin Kaplinsky | cef4577 | 2008-01-07 14:52:51 +0000 | [diff] [blame] | 143 | .TP |
Constantin Kaplinsky | 8d61d0d | 2008-01-07 16:10:37 +0000 | [diff] [blame] | 144 | .B UseSHM |
Constantin Kaplinsky | b8363be | 2008-01-08 13:48:19 +0000 | [diff] [blame] | 145 | Use MIT-SHM extension if available. Using that extension accelerates reading |
| 146 | the screen. Default is on. |
Constantin Kaplinsky | cef4577 | 2008-01-07 14:52:51 +0000 | [diff] [blame] | 147 | .TP |
Constantin Kaplinsky | 8d61d0d | 2008-01-07 16:10:37 +0000 | [diff] [blame] | 148 | .B OverlayMode |
Constantin Kaplinsky | b8363be | 2008-01-08 13:48:19 +0000 | [diff] [blame] | 149 | Use overlay mode in IRIX or Solaris (does not have effect in other systems). |
| 150 | This enables system-specific access to complete full-color version of the |
| 151 | screen (the default X visual often provides 256 colors). Also, in overlay |
| 152 | mode, \fBx0vncserver\fP can show correct mouse cursor. Default is on. |
Constantin Kaplinsky | cef4577 | 2008-01-07 14:52:51 +0000 | [diff] [blame] | 153 | .TP |
Constantin Kaplinsky | 8d61d0d | 2008-01-07 16:10:37 +0000 | [diff] [blame] | 154 | .B UseHardwareJPEG |
Constantin Kaplinsky | b8363be | 2008-01-08 13:48:19 +0000 | [diff] [blame] | 155 | Use hardware-accelerated JPEG compressor for video if available. |
| 156 | \fBx0vncserver\fP can detect video areas on the screen and handle them |
| 157 | separately from the rest of the screen, for better performance. If the |
| 158 | client supports Tight encoding and JPEG compression, such video areas will be |
| 159 | sent as JPEG-encoded rectangles. And if this option is on, compression will |
| 160 | be hardware-accelerated (currently, supported only in SGI/IRIX equipped with |
| 161 | appropriate hardware). Default is on. |
Constantin Kaplinsky | cef4577 | 2008-01-07 14:52:51 +0000 | [diff] [blame] | 162 | .TP |
Constantin Kaplinsky | 8d61d0d | 2008-01-07 16:10:37 +0000 | [diff] [blame] | 163 | .B ZlibLevel |
Constantin Kaplinsky | 5974008 | 2008-01-08 10:42:22 +0000 | [diff] [blame] | 164 | Zlib compression level for ZRLE encoding (it does not affect Tight encoding). |
| 165 | Acceptable values are between 0 and 9. Default is to use the standard |
| 166 | compression level provided by the \fBzlib\fP(3) compression library. |
Constantin Kaplinsky | 8d61d0d | 2008-01-07 16:10:37 +0000 | [diff] [blame] | 167 | .TP |
| 168 | .B ImprovedHextile |
| 169 | Use improved compression algorithm for Hextile encoding which achieves better |
Constantin Kaplinsky | 5974008 | 2008-01-08 10:42:22 +0000 | [diff] [blame] | 170 | compression ratios by the cost of using slightly more CPU time. Default is |
| 171 | on. |
Constantin Kaplinsky | cef4577 | 2008-01-07 14:52:51 +0000 | [diff] [blame] | 172 | .TP |
| 173 | .B IdleTimeout |
| 174 | The number of seconds after which an idle VNC connection will be dropped |
Constantin Kaplinsky | 5974008 | 2008-01-08 10:42:22 +0000 | [diff] [blame] | 175 | (zero means no timeout). Default is 0. |
Constantin Kaplinsky | cef4577 | 2008-01-07 14:52:51 +0000 | [diff] [blame] | 176 | .TP |
Constantin Kaplinsky | 8d61d0d | 2008-01-07 16:10:37 +0000 | [diff] [blame] | 177 | .B MaxDisconnectionTime |
Constantin Kaplinsky | 5974008 | 2008-01-08 10:42:22 +0000 | [diff] [blame] | 178 | Terminate when no client has been connected for \fIN\fP seconds. Default is |
| 179 | 0. |
Constantin Kaplinsky | cef4577 | 2008-01-07 14:52:51 +0000 | [diff] [blame] | 180 | .TP |
Constantin Kaplinsky | 8d61d0d | 2008-01-07 16:10:37 +0000 | [diff] [blame] | 181 | .B MaxConnectionTime |
Constantin Kaplinsky | 5974008 | 2008-01-08 10:42:22 +0000 | [diff] [blame] | 182 | Terminate when a client has been connected for \fIN\fP seconds. Default is |
| 183 | 0. |
Constantin Kaplinsky | cef4577 | 2008-01-07 14:52:51 +0000 | [diff] [blame] | 184 | .TP |
Constantin Kaplinsky | 8d61d0d | 2008-01-07 16:10:37 +0000 | [diff] [blame] | 185 | .B MaxIdleTime |
Constantin Kaplinsky | 5974008 | 2008-01-08 10:42:22 +0000 | [diff] [blame] | 186 | Terminate after \fIN\fP seconds of user inactivity. Default is 0. |
Constantin Kaplinsky | cef4577 | 2008-01-07 14:52:51 +0000 | [diff] [blame] | 187 | .TP |
Constantin Kaplinsky | 8d61d0d | 2008-01-07 16:10:37 +0000 | [diff] [blame] | 188 | .B ClientWaitTimeMillis |
Constantin Kaplinsky | 5974008 | 2008-01-08 10:42:22 +0000 | [diff] [blame] | 189 | The number of milliseconds to wait for a client which is no longer |
| 190 | responding. Default is 20000. |
Constantin Kaplinsky | b30ae7f | 2006-05-25 05:04:46 +0000 | [diff] [blame] | 191 | .SH SEE ALSO |
Constantin Kaplinsky | a9ec0e8 | 2008-01-07 13:57:01 +0000 | [diff] [blame] | 192 | .BR Xvnc (1), |
Constantin Kaplinsky | b30ae7f | 2006-05-25 05:04:46 +0000 | [diff] [blame] | 193 | .BR vncpasswd (1), |
Constantin Kaplinsky | b30ae7f | 2006-05-25 05:04:46 +0000 | [diff] [blame] | 194 | .br |
Constantin Kaplinsky | a9ec0e8 | 2008-01-07 13:57:01 +0000 | [diff] [blame] | 195 | http://www.tightvnc.com/ |
Constantin Kaplinsky | b30ae7f | 2006-05-25 05:04:46 +0000 | [diff] [blame] | 196 | .SH AUTHOR |
Constantin Kaplinsky | a9ec0e8 | 2008-01-07 13:57:01 +0000 | [diff] [blame] | 197 | This manual page was written by Constantin Kaplinsky. |