blob: 6dc7d3edc368028bd5657de4d4375c77fcf03547 [file] [log] [blame]
Constantin Kaplinskya9ec0e82008-01-07 13:57:01 +00001.TH X0VNCSERVER 1 "January 7, 2008" "TightVNC" "TightVNC Manual"
Constantin Kaplinskyb30ae7f2006-05-25 05:04:46 +00002.SH NAME
Constantin Kaplinskya9ec0e82008-01-07 13:57:01 +00003x0vncserver \- TightVNC Server for real X displays
Constantin Kaplinskyb30ae7f2006-05-25 05:04:46 +00004.SH SYNOPSIS
5.B x0vncserver
Constantin Kaplinskya9ec0e82008-01-07 13:57:01 +00006.RI [ options ]
Constantin Kaplinskyb30ae7f2006-05-25 05:04:46 +00007.SH DESCRIPTION
8.B x0vncserver
Constantin Kaplinskya9ec0e82008-01-07 13:57:01 +00009is a TightVNC Server which makes any X display remotely accessible via VNC,
Constantin Kaplinsky59740082008-01-08 10:42:22 +000010TightVNC or compatible viewers. Unlike \fBXvnc\fP(1), it does not create a
11virtual display. Instead, it just shares an existing X server (typically,
12that one connected to the physical screen).
Constantin Kaplinskya9ec0e82008-01-07 13:57:01 +000013.SH OPTIONS
14.B x0vncserver
15interprets the command line as a list of parameters with optional values.
16Running \fBx0vncserver -h\fP will show a list of all valid parameters with
Constantin Kaplinsky59740082008-01-08 10:42:22 +000017short descriptions. All parameters are optional, but normally you would have
Constantin Kaplinskycef45772008-01-07 14:52:51 +000018to use the \fBPasswordFile\fP parameter (see its description below).
Constantin Kaplinskya9ec0e82008-01-07 13:57:01 +000019.PP
20There are several forms of specifying parameters in the command line (here we
21use `\fISomeParameter\fP' as an example parameter name):
22.TP
23.B -\fISomeParameter\fP
Constantin Kaplinsky59740082008-01-08 10:42:22 +000024Enable the parameter, turn the feature on. This form can be used with
Constantin Kaplinskya9ec0e82008-01-07 13:57:01 +000025parameters that simply enable or disable some feature.
26.TP
27.B -\fISomeParameter\fP=0
28Disable the parameter, turn the feature off.
29.TP
30.B -\fISomeParameter\fP=\fIvalue\fP
Constantin Kaplinsky59740082008-01-08 10:42:22 +000031Assign the specified \fIvalue\fP to the parameter. The leading dash can be
32omitted, or it can be doubled if desired (like in GNU-style long options).
Constantin Kaplinskya9ec0e82008-01-07 13:57:01 +000033.PP
34Parameter names are case-insensitive, their order in the command line can be
35arbitrary.
Constantin Kaplinskycef45772008-01-07 14:52:51 +000036.SH PARAMETERS
37.TP
Constantin Kaplinsky8d61d0d2008-01-07 16:10:37 +000038.B display
Constantin Kaplinsky59740082008-01-08 10:42:22 +000039The X display name. If not specified, it defaults to the value of the
40DISPLAY environment variable.
Constantin Kaplinsky8d61d0d2008-01-07 16:10:37 +000041.TP
42.B rfbport
Constantin Kaplinsky59740082008-01-08 10:42:22 +000043TCP port to listen for incoming VNC connections (RFB protocol). The default
44port is 5900.
Constantin Kaplinsky8d61d0d2008-01-07 16:10:37 +000045.TP
46.B Log
47Specifies which log output should be directed to which target logger, and the
Constantin Kaplinsky59740082008-01-08 10:42:22 +000048level of output to log. Format is \fIlog\fP:\fItarget\fP:\fIlevel\fP.
49Default is \fB*:stderr:30\fP (log everything to stderr, set log level to 30).
50Log level should be a value between 0 and 100, higher levels produce more
51output.
Constantin Kaplinsky8d61d0d2008-01-07 16:10:37 +000052.TP
53.B HostsFile
Constantin Kaplinsky59740082008-01-08 10:42:22 +000054.\" FIXME: Document this.
55File with IP access control rules. Default is to allow connections from any
56IP address.
Constantin Kaplinsky8d61d0d2008-01-07 16:10:37 +000057.TP
58.B SecurityTypes
Constantin Kaplinsky59740082008-01-08 10:42:22 +000059Specify which security scheme to use for incoming connections. Valid values
60are \fBNone\fP and \fBVncAuth\fP. Default is \fBVncAuth\fP.
Constantin Kaplinsky8d61d0d2008-01-07 16:10:37 +000061.TP
62.B PasswordFile
Constantin Kaplinsky59740082008-01-08 10:42:22 +000063Password file for VNC authentication. There is no default, you should
64specify the password file explicitly. Password file should be created with
65the \fBvncpasswd\fP(1) utility.
Constantin Kaplinsky8d61d0d2008-01-07 16:10:37 +000066.TP
67.B Password
68Obfuscated binary encoding of the password which clients must supply to
Constantin Kaplinsky59740082008-01-08 10:42:22 +000069access the server. Using this parameter is insecure, use \fBPasswordFile\fP
70parameter instead.
Constantin Kaplinsky8d61d0d2008-01-07 16:10:37 +000071.TP
72.B BlacklistThreshold
73The number of unauthenticated connection attempts allowed from any individual
Constantin Kaplinsky59740082008-01-08 10:42:22 +000074host before that host is black-listed. Default is 5.
Constantin Kaplinsky8d61d0d2008-01-07 16:10:37 +000075.TP
76.B BlacklistTimeout
Constantin Kaplinsky59740082008-01-08 10:42:22 +000077The initial timeout applied when a host is first black-listed. The host
78cannot re-attempt a connection until the timeout expires. Default is 10.
Constantin Kaplinsky8d61d0d2008-01-07 16:10:37 +000079.TP
80.B QueryConnect
Constantin Kaplinsky59740082008-01-08 10:42:22 +000081Prompt the local user to accept or reject incoming connections. Default is
82off.
Constantin Kaplinsky8d61d0d2008-01-07 16:10:37 +000083.TP
84.B QueryConnectTimeout
85Number of seconds to show the Accept Connection dialog before rejecting the
Constantin Kaplinsky59740082008-01-08 10:42:22 +000086connection. Default is 10.
Constantin Kaplinsky8d61d0d2008-01-07 16:10:37 +000087.TP
88.B AlwaysShared
89Always treat incoming connections as shared, regardless of the
Constantin Kaplinsky59740082008-01-08 10:42:22 +000090client-specified setting. Default is off.
Constantin Kaplinsky8d61d0d2008-01-07 16:10:37 +000091.TP
92.B NeverShared
93Never treat incoming connections as shared, regardless of the
Constantin Kaplinsky59740082008-01-08 10:42:22 +000094client-specified setting. Default is off.
Constantin Kaplinsky8d61d0d2008-01-07 16:10:37 +000095.TP
96.B DisconnectClients
Constantin Kaplinsky59740082008-01-08 10:42:22 +000097Disconnect existing clients if an incoming connection is non-shared. If
98combined with \fBNeverShared\fP then new connections will be refused while
99there is a client active. Default is on.
Constantin Kaplinsky8d61d0d2008-01-07 16:10:37 +0000100.TP
101.B AcceptKeyEvents
Constantin Kaplinsky59740082008-01-08 10:42:22 +0000102Accept key press and release events from clients. Default is on.
Constantin Kaplinsky8d61d0d2008-01-07 16:10:37 +0000103.TP
104.B AcceptPointerEvents
Constantin Kaplinsky59740082008-01-08 10:42:22 +0000105Accept pointer events from clients. Default is on.
Constantin Kaplinsky8d61d0d2008-01-07 16:10:37 +0000106.TP
107.B RemapKeys
Constantin Kaplinsky59740082008-01-08 10:42:22 +0000108Comma-separated list of incoming keysyms to remap. Mappings are expressed as
109two hex values, prefixed by \fB0x\fP, and separated by \fB->\fP (`dash' and
110`greater than' characters).
Constantin Kaplinsky8d61d0d2008-01-07 16:10:37 +0000111.TP
112.B Protocol3.3
Constantin Kaplinsky59740082008-01-08 10:42:22 +0000113Always use RFB protocol version 3.3 for backwards compatibility with
114badly-behaved clients. Default is off.
Constantin Kaplinskycef45772008-01-07 14:52:51 +0000115.TP
116.B Geometry
Constantin Kaplinsky59740082008-01-08 10:42:22 +0000117.\" FIXME: Document this.
118Screen 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
121SPECIFICATIONS. If the argument is empty, full screen is shown to VNC
122clients (this is the default).
Constantin Kaplinskycef45772008-01-07 14:52:51 +0000123.TP
Constantin Kaplinskycef45772008-01-07 14:52:51 +0000124.B MaxProcessorUsage
Constantin Kaplinsky59740082008-01-08 10:42:22 +0000125Maximum percentage of CPU time to be consumed when polling the
126screen. Default is 35.
Constantin Kaplinskycef45772008-01-07 14:52:51 +0000127.TP
128.B PollingCycle
Constantin Kaplinsky59740082008-01-08 10:42:22 +0000129Milliseconds per one polling cycle. Actual interval may be dynamically
130adjusted to satisfy \fBMaxProcessorUsage\fP setting. Default is 30.
Constantin Kaplinskycef45772008-01-07 14:52:51 +0000131.TP
Constantin Kaplinsky8d61d0d2008-01-07 16:10:37 +0000132.B VideoPriority
Constantin Kaplinsky59740082008-01-08 10:42:22 +0000133.\" FIXME: Document this.
134Priority of sending updates for video area (0..8). Default is 2.
Constantin Kaplinskycef45772008-01-07 14:52:51 +0000135.TP
136.B CompareFB
Constantin Kaplinsky59740082008-01-08 10:42:22 +0000137Perform pixel comparison on framebuffer to reduce unnecessary updates.
138Default is on.
Constantin Kaplinskycef45772008-01-07 14:52:51 +0000139.TP
Constantin Kaplinsky8d61d0d2008-01-07 16:10:37 +0000140.B UseSHM
Constantin Kaplinsky59740082008-01-08 10:42:22 +0000141.\" FIXME: Document this.
142Use MIT-SHM extension if available. Default is on.
Constantin Kaplinskycef45772008-01-07 14:52:51 +0000143.TP
Constantin Kaplinsky8d61d0d2008-01-07 16:10:37 +0000144.B OverlayMode
Constantin Kaplinsky59740082008-01-08 10:42:22 +0000145.\" FIXME: Document this.
146Use overlay mode under IRIX or Solaris. Default is on.
Constantin Kaplinskycef45772008-01-07 14:52:51 +0000147.TP
Constantin Kaplinsky8d61d0d2008-01-07 16:10:37 +0000148.B UseHardwareJPEG
Constantin Kaplinsky59740082008-01-08 10:42:22 +0000149.\" FIXME: Document this.
150Use hardware-accelerated JPEG compressor for video if available. Default is
151on.
Constantin Kaplinskycef45772008-01-07 14:52:51 +0000152.TP
Constantin Kaplinsky8d61d0d2008-01-07 16:10:37 +0000153.B ZlibLevel
Constantin Kaplinsky59740082008-01-08 10:42:22 +0000154Zlib compression level for ZRLE encoding (it does not affect Tight encoding).
155Acceptable values are between 0 and 9. Default is to use the standard
156compression level provided by the \fBzlib\fP(3) compression library.
Constantin Kaplinsky8d61d0d2008-01-07 16:10:37 +0000157.TP
158.B ImprovedHextile
159Use improved compression algorithm for Hextile encoding which achieves better
Constantin Kaplinsky59740082008-01-08 10:42:22 +0000160compression ratios by the cost of using slightly more CPU time. Default is
161on.
Constantin Kaplinskycef45772008-01-07 14:52:51 +0000162.TP
163.B IdleTimeout
164The number of seconds after which an idle VNC connection will be dropped
Constantin Kaplinsky59740082008-01-08 10:42:22 +0000165(zero means no timeout). Default is 0.
Constantin Kaplinskycef45772008-01-07 14:52:51 +0000166.TP
Constantin Kaplinsky8d61d0d2008-01-07 16:10:37 +0000167.B MaxDisconnectionTime
Constantin Kaplinsky59740082008-01-08 10:42:22 +0000168Terminate when no client has been connected for \fIN\fP seconds. Default is
1690.
Constantin Kaplinskycef45772008-01-07 14:52:51 +0000170.TP
Constantin Kaplinsky8d61d0d2008-01-07 16:10:37 +0000171.B MaxConnectionTime
Constantin Kaplinsky59740082008-01-08 10:42:22 +0000172Terminate when a client has been connected for \fIN\fP seconds. Default is
1730.
Constantin Kaplinskycef45772008-01-07 14:52:51 +0000174.TP
Constantin Kaplinsky8d61d0d2008-01-07 16:10:37 +0000175.B MaxIdleTime
Constantin Kaplinsky59740082008-01-08 10:42:22 +0000176Terminate after \fIN\fP seconds of user inactivity. Default is 0.
Constantin Kaplinskycef45772008-01-07 14:52:51 +0000177.TP
Constantin Kaplinsky8d61d0d2008-01-07 16:10:37 +0000178.B ClientWaitTimeMillis
Constantin Kaplinsky59740082008-01-08 10:42:22 +0000179The number of milliseconds to wait for a client which is no longer
180responding. Default is 20000.
Constantin Kaplinskyb30ae7f2006-05-25 05:04:46 +0000181.SH SEE ALSO
Constantin Kaplinskya9ec0e82008-01-07 13:57:01 +0000182.BR Xvnc (1),
Constantin Kaplinskyb30ae7f2006-05-25 05:04:46 +0000183.BR vncpasswd (1),
Constantin Kaplinskyb30ae7f2006-05-25 05:04:46 +0000184.br
Constantin Kaplinskya9ec0e82008-01-07 13:57:01 +0000185http://www.tightvnc.com/
Constantin Kaplinskyb30ae7f2006-05-25 05:04:46 +0000186.SH AUTHOR
Constantin Kaplinskya9ec0e82008-01-07 13:57:01 +0000187This manual page was written by Constantin Kaplinsky.