You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222
  1. .TH X0VNCSERVER 1 "January 7, 2008" "TightVNC" "TightVNC Manual"
  2. .SH NAME
  3. x0vncserver \- TightVNC Server for real X displays
  4. .SH SYNOPSIS
  5. .B x0vncserver
  6. .RI [ options ]
  7. .SH DESCRIPTION
  8. .B x0vncserver
  9. is a TightVNC Server which makes any X display remotely accessible via VNC,
  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).
  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
  17. short descriptions. All parameters are optional, but normally you would have
  18. to use the \fBPasswordFile\fP parameter (see its description below).
  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
  24. Enable the parameter, turn the feature on. This form can be used with
  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
  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).
  33. .PP
  34. Parameter names are case-insensitive, their order in the command line can be
  35. arbitrary.
  36. .SH PARAMETERS
  37. .TP
  38. .B display
  39. The X display name. If not specified, it defaults to the value of the
  40. DISPLAY environment variable.
  41. .TP
  42. .B rfbport
  43. TCP port to listen for incoming VNC connections (RFB protocol). The default
  44. port is 5900.
  45. .TP
  46. .B Log
  47. Specifies which log output should be directed to which target logger, and the
  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.
  52. .TP
  53. .B HostsFile
  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.
  64. .TP
  65. .B SecurityTypes
  66. Specify which security scheme to use for incoming connections. Valid values
  67. are \fBNone\fP and \fBVncAuth\fP. Default is \fBVncAuth\fP.
  68. .TP
  69. .B PasswordFile
  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.
  73. .TP
  74. .B Password
  75. Obfuscated binary encoding of the password which clients must supply to
  76. access the server. Using this parameter is insecure, use \fBPasswordFile\fP
  77. parameter instead.
  78. .TP
  79. .B BlacklistThreshold
  80. The number of unauthenticated connection attempts allowed from any individual
  81. host before that host is black-listed. Default is 5.
  82. .TP
  83. .B BlacklistTimeout
  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.
  86. .TP
  87. .B QueryConnect
  88. Prompt the local user to accept or reject incoming connections. Default is
  89. off.
  90. .TP
  91. .B QueryConnectTimeout
  92. Number of seconds to show the Accept Connection dialog before rejecting the
  93. connection. Default is 10.
  94. .TP
  95. .B AlwaysShared
  96. Always treat incoming connections as shared, regardless of the
  97. client-specified setting. Default is off.
  98. .TP
  99. .B NeverShared
  100. Never treat incoming connections as shared, regardless of the
  101. client-specified setting. Default is off.
  102. .TP
  103. .B DisconnectClients
  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.
  107. .TP
  108. .B AcceptKeyEvents
  109. Accept key press and release events from clients. Default is on.
  110. .TP
  111. .B AcceptPointerEvents
  112. Accept pointer events from clients. Default is on.
  113. .TP
  114. .B RemapKeys
  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).
  118. .TP
  119. .B Protocol3.3
  120. Always use RFB protocol version 3.3 for backwards compatibility with
  121. badly-behaved clients. Default is off.
  122. .TP
  123. .B Geometry
  124. This option specifies the screen area that will be shown to VNC clients. The
  125. format is
  126. .B \fIwidth\fPx\fIheight\fP+\fIxoffset\fP+\fIyoffset\fP
  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).
  131. .TP
  132. .B MaxProcessorUsage
  133. Maximum percentage of CPU time to be consumed when polling the
  134. screen. Default is 35.
  135. .TP
  136. .B PollingCycle
  137. Milliseconds per one polling cycle. Actual interval may be dynamically
  138. adjusted to satisfy \fBMaxProcessorUsage\fP setting. Default is 30.
  139. .TP
  140. .B VideoPriority
  141. Specify the priority of sending video area updates. \fBx0vncserver\fP can
  142. detect video areas on the screen and handle them separately for improved
  143. performance. This parameter controls how often video area will be sent to
  144. clients as compared to the rest of the screen. The priority must be an
  145. integer between 0 and 8, and the default value is 2.
  146. \fBVideoPriority\fP set to 0 disables video detection completely, so
  147. \fBx0vncserver\fP will not use any video-specific tricks.
  148. The value 1 gives the same priority both to video and to other pixels. That
  149. differs from the value 0 \- overall performance can be much better if there
  150. is some video on the screen. That's because video-specific polling and
  151. encoding algorithms can be used.
  152. Higher values give more priority to video. For example, \fBVideoPriority\fP
  153. set to 5 specifies that the rate of sending video will be five times higher
  154. than the rate of updating the rest of the screen.
  155. \fBNote:\fP with high \fBVideoPriority\fP values, video detection will work
  156. slower. For example, when the video area was moved, this fact will be
  157. discovered with a longer delay. That's because high priority values make the
  158. server send video with highest rate possible, without spending time on
  159. polling and video detection.
  160. .TP
  161. .B CompareFB
  162. Perform pixel comparison on framebuffer to reduce unnecessary updates.
  163. Default is on.
  164. .TP
  165. .B UseSHM
  166. Use MIT-SHM extension if available. Using that extension accelerates reading
  167. the screen. Default is on.
  168. .TP
  169. .B OverlayMode
  170. Use overlay mode in IRIX or Solaris (does not have effect in other systems).
  171. This enables system-specific access to complete full-color version of the
  172. screen (the default X visual often provides 256 colors). Also, in overlay
  173. mode, \fBx0vncserver\fP can show correct mouse cursor. Default is on.
  174. .TP
  175. .B UseHardwareJPEG
  176. Use hardware-accelerated JPEG compressor for video if available.
  177. \fBx0vncserver\fP can detect video areas on the screen and handle them
  178. separately from the rest of the screen, for better performance. If the
  179. client supports Tight encoding and JPEG compression, such video areas will be
  180. sent as JPEG-encoded rectangles. And if this option is on, compression will
  181. be hardware-accelerated (currently, supported only in SGI/IRIX equipped with
  182. appropriate hardware). Default is on.
  183. .TP
  184. .B ZlibLevel
  185. Zlib compression level for ZRLE encoding (it does not affect Tight encoding).
  186. Acceptable values are between 0 and 9. Default is to use the standard
  187. compression level provided by the \fBzlib\fP(3) compression library.
  188. .TP
  189. .B ImprovedHextile
  190. Use improved compression algorithm for Hextile encoding which achieves better
  191. compression ratios by the cost of using slightly more CPU time. Default is
  192. on.
  193. .TP
  194. .B IdleTimeout
  195. The number of seconds after which an idle VNC connection will be dropped
  196. (zero means no timeout). Default is 0.
  197. .TP
  198. .B MaxDisconnectionTime
  199. Terminate when no client has been connected for \fIN\fP seconds. Default is
  200. 0.
  201. .TP
  202. .B MaxConnectionTime
  203. Terminate when a client has been connected for \fIN\fP seconds. Default is
  204. 0.
  205. .TP
  206. .B MaxIdleTime
  207. Terminate after \fIN\fP seconds of user inactivity. Default is 0.
  208. .TP
  209. .B ClientWaitTimeMillis
  210. The number of milliseconds to wait for a client which is no longer
  211. responding. Default is 20000.
  212. .SH SEE ALSO
  213. .BR Xvnc (1),
  214. .BR vncpasswd (1),
  215. .br
  216. http://www.tightvnc.com/
  217. .SH AUTHOR
  218. This manual page was written by Constantin Kaplinsky.