Constantin Kaplinsky | a9ec0e8 | 2008-01-07 13:57:01 +0000 | [diff] [blame] | 1 | .TH X0VNCSERVER 1 "January 7, 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 | 5974008 | 2008-01-08 10:42:22 +0000 | [diff] [blame^] | 54 | .\" FIXME: Document this. |
| 55 | File with IP access control rules. Default is to allow connections from any |
| 56 | IP address. |
Constantin Kaplinsky | 8d61d0d | 2008-01-07 16:10:37 +0000 | [diff] [blame] | 57 | .TP |
| 58 | .B SecurityTypes |
Constantin Kaplinsky | 5974008 | 2008-01-08 10:42:22 +0000 | [diff] [blame^] | 59 | Specify which security scheme to use for incoming connections. Valid values |
| 60 | are \fBNone\fP and \fBVncAuth\fP. Default is \fBVncAuth\fP. |
Constantin Kaplinsky | 8d61d0d | 2008-01-07 16:10:37 +0000 | [diff] [blame] | 61 | .TP |
| 62 | .B PasswordFile |
Constantin Kaplinsky | 5974008 | 2008-01-08 10:42:22 +0000 | [diff] [blame^] | 63 | Password file for VNC authentication. There is no default, you should |
| 64 | specify the password file explicitly. Password file should be created with |
| 65 | the \fBvncpasswd\fP(1) utility. |
Constantin Kaplinsky | 8d61d0d | 2008-01-07 16:10:37 +0000 | [diff] [blame] | 66 | .TP |
| 67 | .B Password |
| 68 | Obfuscated binary encoding of the password which clients must supply to |
Constantin Kaplinsky | 5974008 | 2008-01-08 10:42:22 +0000 | [diff] [blame^] | 69 | access the server. Using this parameter is insecure, use \fBPasswordFile\fP |
| 70 | parameter instead. |
Constantin Kaplinsky | 8d61d0d | 2008-01-07 16:10:37 +0000 | [diff] [blame] | 71 | .TP |
| 72 | .B BlacklistThreshold |
| 73 | The number of unauthenticated connection attempts allowed from any individual |
Constantin Kaplinsky | 5974008 | 2008-01-08 10:42:22 +0000 | [diff] [blame^] | 74 | host before that host is black-listed. Default is 5. |
Constantin Kaplinsky | 8d61d0d | 2008-01-07 16:10:37 +0000 | [diff] [blame] | 75 | .TP |
| 76 | .B BlacklistTimeout |
Constantin Kaplinsky | 5974008 | 2008-01-08 10:42:22 +0000 | [diff] [blame^] | 77 | The initial timeout applied when a host is first black-listed. The host |
| 78 | cannot re-attempt a connection until the timeout expires. Default is 10. |
Constantin Kaplinsky | 8d61d0d | 2008-01-07 16:10:37 +0000 | [diff] [blame] | 79 | .TP |
| 80 | .B QueryConnect |
Constantin Kaplinsky | 5974008 | 2008-01-08 10:42:22 +0000 | [diff] [blame^] | 81 | Prompt the local user to accept or reject incoming connections. Default is |
| 82 | off. |
Constantin Kaplinsky | 8d61d0d | 2008-01-07 16:10:37 +0000 | [diff] [blame] | 83 | .TP |
| 84 | .B QueryConnectTimeout |
| 85 | Number of seconds to show the Accept Connection dialog before rejecting the |
Constantin Kaplinsky | 5974008 | 2008-01-08 10:42:22 +0000 | [diff] [blame^] | 86 | connection. Default is 10. |
Constantin Kaplinsky | 8d61d0d | 2008-01-07 16:10:37 +0000 | [diff] [blame] | 87 | .TP |
| 88 | .B AlwaysShared |
| 89 | Always treat incoming connections as shared, regardless of the |
Constantin Kaplinsky | 5974008 | 2008-01-08 10:42:22 +0000 | [diff] [blame^] | 90 | client-specified setting. Default is off. |
Constantin Kaplinsky | 8d61d0d | 2008-01-07 16:10:37 +0000 | [diff] [blame] | 91 | .TP |
| 92 | .B NeverShared |
| 93 | Never treat incoming connections as shared, regardless of the |
Constantin Kaplinsky | 5974008 | 2008-01-08 10:42:22 +0000 | [diff] [blame^] | 94 | client-specified setting. Default is off. |
Constantin Kaplinsky | 8d61d0d | 2008-01-07 16:10:37 +0000 | [diff] [blame] | 95 | .TP |
| 96 | .B DisconnectClients |
Constantin Kaplinsky | 5974008 | 2008-01-08 10:42:22 +0000 | [diff] [blame^] | 97 | Disconnect existing clients if an incoming connection is non-shared. If |
| 98 | combined with \fBNeverShared\fP then new connections will be refused while |
| 99 | there is a client active. Default is on. |
Constantin Kaplinsky | 8d61d0d | 2008-01-07 16:10:37 +0000 | [diff] [blame] | 100 | .TP |
| 101 | .B AcceptKeyEvents |
Constantin Kaplinsky | 5974008 | 2008-01-08 10:42:22 +0000 | [diff] [blame^] | 102 | Accept key press and release events from clients. Default is on. |
Constantin Kaplinsky | 8d61d0d | 2008-01-07 16:10:37 +0000 | [diff] [blame] | 103 | .TP |
| 104 | .B AcceptPointerEvents |
Constantin Kaplinsky | 5974008 | 2008-01-08 10:42:22 +0000 | [diff] [blame^] | 105 | Accept pointer events from clients. Default is on. |
Constantin Kaplinsky | 8d61d0d | 2008-01-07 16:10:37 +0000 | [diff] [blame] | 106 | .TP |
| 107 | .B RemapKeys |
Constantin Kaplinsky | 5974008 | 2008-01-08 10:42:22 +0000 | [diff] [blame^] | 108 | Comma-separated list of incoming keysyms to remap. Mappings are expressed as |
| 109 | two hex values, prefixed by \fB0x\fP, and separated by \fB->\fP (`dash' and |
| 110 | `greater than' characters). |
Constantin Kaplinsky | 8d61d0d | 2008-01-07 16:10:37 +0000 | [diff] [blame] | 111 | .TP |
| 112 | .B Protocol3.3 |
Constantin Kaplinsky | 5974008 | 2008-01-08 10:42:22 +0000 | [diff] [blame^] | 113 | Always use RFB protocol version 3.3 for backwards compatibility with |
| 114 | badly-behaved clients. Default is off. |
Constantin Kaplinsky | cef4577 | 2008-01-07 14:52:51 +0000 | [diff] [blame] | 115 | .TP |
| 116 | .B Geometry |
Constantin Kaplinsky | 5974008 | 2008-01-08 10:42:22 +0000 | [diff] [blame^] | 117 | .\" FIXME: Document this. |
| 118 | Screen area shown to VNC clients. Format is |
| 119 | .B \fIwidth\fPx\fIheight\fP+\fIxoffset\fP+\fIyoffset\fP |
| 120 | , see more information in the manual page for \fBX\fP(1), section GEOMETRY |
| 121 | SPECIFICATIONS. If the argument is empty, full screen is shown to VNC |
| 122 | clients (this is the default). |
Constantin Kaplinsky | cef4577 | 2008-01-07 14:52:51 +0000 | [diff] [blame] | 123 | .TP |
Constantin Kaplinsky | cef4577 | 2008-01-07 14:52:51 +0000 | [diff] [blame] | 124 | .B MaxProcessorUsage |
Constantin Kaplinsky | 5974008 | 2008-01-08 10:42:22 +0000 | [diff] [blame^] | 125 | Maximum percentage of CPU time to be consumed when polling the |
| 126 | screen. Default is 35. |
Constantin Kaplinsky | cef4577 | 2008-01-07 14:52:51 +0000 | [diff] [blame] | 127 | .TP |
| 128 | .B PollingCycle |
Constantin Kaplinsky | 5974008 | 2008-01-08 10:42:22 +0000 | [diff] [blame^] | 129 | Milliseconds per one polling cycle. Actual interval may be dynamically |
| 130 | adjusted to satisfy \fBMaxProcessorUsage\fP setting. Default is 30. |
Constantin Kaplinsky | cef4577 | 2008-01-07 14:52:51 +0000 | [diff] [blame] | 131 | .TP |
Constantin Kaplinsky | 8d61d0d | 2008-01-07 16:10:37 +0000 | [diff] [blame] | 132 | .B VideoPriority |
Constantin Kaplinsky | 5974008 | 2008-01-08 10:42:22 +0000 | [diff] [blame^] | 133 | .\" FIXME: Document this. |
| 134 | Priority of sending updates for video area (0..8). Default is 2. |
Constantin Kaplinsky | cef4577 | 2008-01-07 14:52:51 +0000 | [diff] [blame] | 135 | .TP |
| 136 | .B CompareFB |
Constantin Kaplinsky | 5974008 | 2008-01-08 10:42:22 +0000 | [diff] [blame^] | 137 | Perform pixel comparison on framebuffer to reduce unnecessary updates. |
| 138 | Default is on. |
Constantin Kaplinsky | cef4577 | 2008-01-07 14:52:51 +0000 | [diff] [blame] | 139 | .TP |
Constantin Kaplinsky | 8d61d0d | 2008-01-07 16:10:37 +0000 | [diff] [blame] | 140 | .B UseSHM |
Constantin Kaplinsky | 5974008 | 2008-01-08 10:42:22 +0000 | [diff] [blame^] | 141 | .\" FIXME: Document this. |
| 142 | Use MIT-SHM extension if available. 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 OverlayMode |
Constantin Kaplinsky | 5974008 | 2008-01-08 10:42:22 +0000 | [diff] [blame^] | 145 | .\" FIXME: Document this. |
| 146 | Use overlay mode under IRIX or Solaris. 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 UseHardwareJPEG |
Constantin Kaplinsky | 5974008 | 2008-01-08 10:42:22 +0000 | [diff] [blame^] | 149 | .\" FIXME: Document this. |
| 150 | Use hardware-accelerated JPEG compressor for video if available. Default is |
| 151 | on. |
Constantin Kaplinsky | cef4577 | 2008-01-07 14:52:51 +0000 | [diff] [blame] | 152 | .TP |
Constantin Kaplinsky | 8d61d0d | 2008-01-07 16:10:37 +0000 | [diff] [blame] | 153 | .B ZlibLevel |
Constantin Kaplinsky | 5974008 | 2008-01-08 10:42:22 +0000 | [diff] [blame^] | 154 | Zlib compression level for ZRLE encoding (it does not affect Tight encoding). |
| 155 | Acceptable values are between 0 and 9. Default is to use the standard |
| 156 | compression level provided by the \fBzlib\fP(3) compression library. |
Constantin Kaplinsky | 8d61d0d | 2008-01-07 16:10:37 +0000 | [diff] [blame] | 157 | .TP |
| 158 | .B ImprovedHextile |
| 159 | Use improved compression algorithm for Hextile encoding which achieves better |
Constantin Kaplinsky | 5974008 | 2008-01-08 10:42:22 +0000 | [diff] [blame^] | 160 | compression ratios by the cost of using slightly more CPU time. Default is |
| 161 | on. |
Constantin Kaplinsky | cef4577 | 2008-01-07 14:52:51 +0000 | [diff] [blame] | 162 | .TP |
| 163 | .B IdleTimeout |
| 164 | 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^] | 165 | (zero means no timeout). Default is 0. |
Constantin Kaplinsky | cef4577 | 2008-01-07 14:52:51 +0000 | [diff] [blame] | 166 | .TP |
Constantin Kaplinsky | 8d61d0d | 2008-01-07 16:10:37 +0000 | [diff] [blame] | 167 | .B MaxDisconnectionTime |
Constantin Kaplinsky | 5974008 | 2008-01-08 10:42:22 +0000 | [diff] [blame^] | 168 | Terminate when no client has been connected for \fIN\fP seconds. Default is |
| 169 | 0. |
Constantin Kaplinsky | cef4577 | 2008-01-07 14:52:51 +0000 | [diff] [blame] | 170 | .TP |
Constantin Kaplinsky | 8d61d0d | 2008-01-07 16:10:37 +0000 | [diff] [blame] | 171 | .B MaxConnectionTime |
Constantin Kaplinsky | 5974008 | 2008-01-08 10:42:22 +0000 | [diff] [blame^] | 172 | Terminate when a client has been connected for \fIN\fP seconds. Default is |
| 173 | 0. |
Constantin Kaplinsky | cef4577 | 2008-01-07 14:52:51 +0000 | [diff] [blame] | 174 | .TP |
Constantin Kaplinsky | 8d61d0d | 2008-01-07 16:10:37 +0000 | [diff] [blame] | 175 | .B MaxIdleTime |
Constantin Kaplinsky | 5974008 | 2008-01-08 10:42:22 +0000 | [diff] [blame^] | 176 | Terminate after \fIN\fP seconds of user inactivity. Default is 0. |
Constantin Kaplinsky | cef4577 | 2008-01-07 14:52:51 +0000 | [diff] [blame] | 177 | .TP |
Constantin Kaplinsky | 8d61d0d | 2008-01-07 16:10:37 +0000 | [diff] [blame] | 178 | .B ClientWaitTimeMillis |
Constantin Kaplinsky | 5974008 | 2008-01-08 10:42:22 +0000 | [diff] [blame^] | 179 | The number of milliseconds to wait for a client which is no longer |
| 180 | responding. Default is 20000. |
Constantin Kaplinsky | b30ae7f | 2006-05-25 05:04:46 +0000 | [diff] [blame] | 181 | .SH SEE ALSO |
Constantin Kaplinsky | a9ec0e8 | 2008-01-07 13:57:01 +0000 | [diff] [blame] | 182 | .BR Xvnc (1), |
Constantin Kaplinsky | b30ae7f | 2006-05-25 05:04:46 +0000 | [diff] [blame] | 183 | .BR vncpasswd (1), |
Constantin Kaplinsky | b30ae7f | 2006-05-25 05:04:46 +0000 | [diff] [blame] | 184 | .br |
Constantin Kaplinsky | a9ec0e8 | 2008-01-07 13:57:01 +0000 | [diff] [blame] | 185 | http://www.tightvnc.com/ |
Constantin Kaplinsky | b30ae7f | 2006-05-25 05:04:46 +0000 | [diff] [blame] | 186 | .SH AUTHOR |
Constantin Kaplinsky | a9ec0e8 | 2008-01-07 13:57:01 +0000 | [diff] [blame] | 187 | This manual page was written by Constantin Kaplinsky. |