1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
|
.TH X0VNCSERVER 1 "January 7, 2008" "TightVNC" "TightVNC Manual"
.SH NAME
x0vncserver \- TightVNC Server for real X displays
.SH SYNOPSIS
.B x0vncserver
.RI [ options ]
.SH DESCRIPTION
.B x0vncserver
is a TightVNC Server which makes any X display remotely accessible via VNC,
TightVNC or compatible viewers. Unlike Xvnc, it does not create a virtual
display. Instead, it just shares an existing X server (typically, that one
connected to the physical screen).
.SH OPTIONS
.B x0vncserver
interprets the command line as a list of parameters with optional values.
Running \fBx0vncserver -h\fP will show a list of all valid parameters with
short descriptions. All parameters are optional, but normally you would have
to use the \fBPasswordFile\fP parameter (see its description below).
.PP
There are several forms of specifying parameters in the command line (here we
use `\fISomeParameter\fP' as an example parameter name):
.TP
.B -\fISomeParameter\fP
Enable the parameter, turn the feature on. This form can be used with
parameters that simply enable or disable some feature.
.TP
.B -\fISomeParameter\fP=0
Disable the parameter, turn the feature off.
.TP
.B -\fISomeParameter\fP=\fIvalue\fP
Assign the specified \fIvalue\fP to the parameter. The leading dash can be
omitted, or it can be doubled if desired (like in GNU-style long
options). The equality sign is optional so it can be replaced by spaces.
.PP
Parameter names are case-insensitive, their order in the command line can be
arbitrary.
.SH PARAMETERS
.TP
.B VideoPriority
Priority of sending updates for video area (0..8) (default=2)
.TP
.B Geometry
Screen area shown to VNC clients. Format is
<width>x<height>+<offset_x>+<offset_y>, more information in man X, section
GEOMETRY SPECIFICATIONS. If the argument is empty, full screen is shown to
VNC clients. (default=)
.TP
.B HostsFile
File with IP access control rules (default=)
.TP
.B QueryConnectTimeout
Number of seconds to show the Accept Connection dialog before rejecting the
connection (default=10)
.TP
.B rfbport
TCP port to listen for RFB protocol (default=5900)
.TP
.B display
The X display (default=)
.TP
.B OverlayMode
Use overlay mode under IRIX or Solaris (default=1)
.TP
.B UseSHM
Use MIT-SHM extension if available (default=1)
.TP
.B MaxProcessorUsage
Maximum percentage of CPU time to be consumed (default=35)
.TP
.B PollingCycle
Milliseconds per one polling cycle; actual interval may be dynamically
adjusted to satisfy MaxProcessorUsage setting (default=30)
.TP
.B Log
Specifies which log output should be directed to which target logger, and the
level of output to log. Format is <log>:<target>:<level>[, ...]. (default=)
.TP
.B BlacklistTimeout
The initial timeout applied when a host is first black-listed. The host
cannot re-attempt a connection until the timeout expires. (default=10)
.TP
.B BlacklistThreshold
The number of unauthenticated connection attempts allowed from any individual
host before that host is black-listed (default=5)
.TP
.B ImprovedHextile
Use improved compression algorithm for Hextile encoding which achieves better
compression ratios by the cost of using more CPU time (default=1)
.TP
.B RemapKeys
Comma-separated list of incoming keysyms to remap. Mappings are expressed as
two hex values, prefixed by 0x, and separated by -> (default=)
.TP
.B QueryConnect
Prompt the local user to accept or reject incoming connections. (default=0)
.TP
.B SendCutText
Send clipboard changes to clients. (default=1)
.TP
.B AcceptCutText
Accept clipboard updates from clients. (default=1)
.TP
.B AcceptPointerEvents
Accept pointer press and release events from clients. (default=1)
.TP
.B AcceptKeyEvents
Accept key press and release events from clients. (default=1)
.TP
.B DisconnectClients
Disconnect existing clients if an incoming connection is non-shared. If
combined with NeverShared then new connections will be refused while there is
a client active (default=1)
.TP
.B NeverShared
Never treat incoming connections as shared, regardless of the
client-specified setting (default=0)
.TP
.B AlwaysShared
Always treat incoming connections as shared, regardless of the
client-specified setting (default=0)
.TP
.B Protocol3.3
Always use protocol version 3.3 for backwards compatibility with
badly-behaved clients (default=0)
.TP
.B CompareFB
Perform pixel comparison on framebuffer to reduce unnecessary updates
(default=1)
.TP
.B ClientWaitTimeMillis
The number of milliseconds to wait for a client which is no longer responding
(default=20000)
.TP
.B MaxIdleTime
Terminate after s seconds of user inactivity (default=0)
.TP
.B MaxConnectionTime
Terminate when a client has been connected for s seconds (default=0)
.TP
.B MaxDisconnectionTime
Terminate when no client has been connected for s seconds (default=0)
.TP
.B IdleTimeout
The number of seconds after which an idle VNC connection will be dropped
(zero means no timeout) (default=0)
.TP
.B Password
Obfuscated binary encoding of the password which clients must supply to
access the server (default=)
.TP
.B PasswordFile
Password file for VNC authentication (default=)
.TP
.B ReverseSecurityTypes
Specify encryption scheme to use for reverse connections (None)
(default=None)
.TP
.B SecurityTypes
Specify which security scheme to use for incoming connections (None, VncAuth)
(default=VncAuth)
.TP
.B ZlibLevel
Zlib compression level (default=-1)
.TP
.B UseHardwareJPEG
Use hardware-accelerated JPEG compressor for video if available (default=1)
.TP
.B MaxCutText
Maximum permitted length of an incoming clipboard update (default=262144)
.SH SEE ALSO
.BR Xvnc (1),
.BR vncpasswd (1),
.br
http://www.tightvnc.com/
.SH AUTHOR
This manual page was written by Constantin Kaplinsky.
|