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.

x0vncserver.man 8.3KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270
  1. .TH X0VNCSERVER 1 "" "TigerVNC" "TigerVNC Manual"
  2. .SH NAME
  3. x0vncserver \- TigerVNC Server for X displays
  4. .SH SYNOPSIS
  5. .B x0vncserver
  6. .RI [ options ]
  7. .br
  8. .B x0vncserver -version
  9. .SH DESCRIPTION
  10. .B x0vncserver
  11. is a TigerVNC Server which makes any X display remotely accessible via VNC,
  12. TigerVNC or compatible viewers. Unlike \fBXvnc\fP(1), it does not create a
  13. virtual display. Instead, it just shares an existing X server (typically,
  14. that one connected to the physical screen).
  15. XDamage will be used if the existing X server supports it. Otherwise
  16. .B x0vncserver
  17. will fall back to polling the screen for changes.
  18. .SH OPTIONS
  19. .B x0vncserver
  20. interprets the command line as a list of parameters with optional values.
  21. Running \fBx0vncserver -h\fP will show a list of all valid parameters with
  22. short descriptions. All parameters are optional, but normally you would have
  23. to use the \fBPasswordFile\fP parameter (see its description below).
  24. .PP
  25. There are several forms of specifying parameters in the command line (here we
  26. use `\fISomeParameter\fP' as an example parameter name):
  27. .TP
  28. .B -\fISomeParameter\fP
  29. Enable the parameter, turn the feature on. This form can be used with
  30. parameters that simply enable or disable some feature.
  31. .
  32. .TP
  33. .B -\fISomeParameter\fP=0
  34. Disable the parameter, turn the feature off.
  35. .
  36. .TP
  37. .B -\fISomeParameter\fP=\fIvalue\fP
  38. Assign the specified \fIvalue\fP to the parameter. The leading dash can be
  39. omitted, or it can be doubled if desired (like in GNU-style long options).
  40. .PP
  41. Parameter names are case-insensitive, their order in the command line can be
  42. arbitrary.
  43. .SH PARAMETERS
  44. .TP
  45. .B display
  46. The X display name. If not specified, it defaults to the value of the
  47. DISPLAY environment variable.
  48. .
  49. .TP
  50. .B rfbport
  51. TCP port to listen for incoming VNC connections (RFB protocol). The default
  52. port is 5900.
  53. .
  54. .TP
  55. .B Log
  56. Specifies which log output should be directed to which target logger, and the
  57. level of output to log. Format is \fIlog\fP:\fItarget\fP:\fIlevel\fP.
  58. Default is \fB*:stderr:30\fP (log everything to stderr, set log level to 30).
  59. Log level should be a value between 0 and 100, higher levels produce more
  60. output.
  61. .
  62. .TP
  63. .B HostsFile
  64. This parameter allows to specify a file name with IP access control rules.
  65. The file should include one rule per line, and the rule format is one of the
  66. following: +\fIaddress\fP/\fIprefix\fP (accept connections from the
  67. specified address group), -\fIaddress\fP/\fIprefix\fP (reject connections)
  68. or ?\fIaddress\fP/\fIprefix\fP (query the local user). The first rule
  69. matching the IP address determines the action to be performed. Rules that
  70. include only an action sign (+, - or ?) will match any IP address.
  71. \fIPrefix\fP is optional and is specified as a number of bits (e.g. /24).
  72. Default is to accept connections from any IP address.
  73. .
  74. .TP
  75. .B SecurityTypes
  76. Specify which security scheme to use for incoming connections. Valid values
  77. are a comma separated list of \fBNone\fP, \fBVncAuth\fP, \fBPlain\fP,
  78. \fBTLSNone\fP, \fBTLSVnc\fP, \fBTLSPlain\fP, \fBX509None\fP, \fBX509Vnc\fP
  79. and \fBX509Plain\fP. Default is \fBVncAuth,TLSVnc\fP.
  80. .
  81. .TP
  82. .B rfbauth, PasswordFile
  83. Password file for VNC authentication. There is no default, you should
  84. specify the password file explicitly. Password file should be created with
  85. the \fBvncpasswd\fP(1) utility.
  86. .
  87. .TP
  88. .B Password
  89. Obfuscated binary encoding of the password which clients must supply to
  90. access the server. Using this parameter is insecure, use \fBPasswordFile\fP
  91. parameter instead.
  92. .
  93. .TP
  94. .B PlainUsers
  95. A comma separated list of user names that are allowed to authenticate via
  96. any of the "Plain" security types (Plain, TLSPlain, etc.). Specify \fB*\fP
  97. to allow any user to authenticate using this security type. Default is to
  98. deny all users.
  99. .
  100. .TP
  101. .B pam_service, PAMService
  102. PAM service name to use when authentication users using any of the "Plain"
  103. security types. Default is \fBvnc\fP.
  104. .
  105. .TP
  106. .B X509Cert
  107. Path to a X509 certificate in PEM format to be used for all X509 based
  108. security types (X509None, X509Vnc, etc.).
  109. .
  110. .TP
  111. .B X509Key
  112. Private key counter part to the certificate given in \fBX509Cert\fP. Must
  113. also be in PEM format.
  114. .
  115. .TP
  116. .B BlacklistThreshold
  117. The number of unauthenticated connection attempts allowed from any individual
  118. host before that host is black-listed. Default is 5.
  119. .
  120. .TP
  121. .B BlacklistTimeout
  122. The initial timeout applied when a host is first black-listed. The host
  123. cannot re-attempt a connection until the timeout expires. Default is 10.
  124. .
  125. .TP
  126. .B QueryConnect
  127. Prompt the local user to accept or reject incoming connections. Default is
  128. off.
  129. .
  130. .TP
  131. .B QueryConnectTimeout
  132. Number of seconds to show the Accept Connection dialog before rejecting the
  133. connection. Default is 10.
  134. .
  135. .TP
  136. .B AlwaysShared
  137. Always treat incoming connections as shared, regardless of the
  138. client-specified setting. Default is off.
  139. .
  140. .TP
  141. .B NeverShared
  142. Never treat incoming connections as shared, regardless of the
  143. client-specified setting. Default is off.
  144. .
  145. .TP
  146. .B DisconnectClients
  147. Disconnect existing clients if an incoming connection is non-shared. If
  148. combined with \fBNeverShared\fP then new connections will be refused while
  149. there is a client active. Default is on.
  150. .
  151. .TP
  152. .B AcceptKeyEvents
  153. Accept key press and release events from clients. Default is on.
  154. .
  155. .TP
  156. .B AcceptPointerEvents
  157. Accept pointer events from clients. Default is on.
  158. .
  159. .TP
  160. .B RemapKeys
  161. Comma-separated list of incoming keysyms to remap. Mappings are expressed as
  162. two hex values, prefixed by \fB0x\fP, and separated by \fB->\fP (`dash' and
  163. `greater than' characters).
  164. .
  165. .TP
  166. .B RawKeyboard
  167. Send keyboard events straight through and avoid mapping them to the current
  168. keyboard layout. This effectively makes the keyboard behave according to the
  169. layout configured on the server instead of the layout configured on the
  170. client. Default is off.
  171. .
  172. .TP
  173. .B Protocol3.3
  174. Always use RFB protocol version 3.3 for backwards compatibility with
  175. badly-behaved clients. Default is off.
  176. .
  177. .TP
  178. .B Geometry
  179. This option specifies the screen area that will be shown to VNC clients. The
  180. format is
  181. .B \fIwidth\fPx\fIheight\fP+\fIxoffset\fP+\fIyoffset\fP
  182. , where `+' signs can be replaced with `\-' signs to specify offsets from the
  183. right and/or from the bottom of the screen. Offsets are optional, +0+0 is
  184. assumed by default (top left corner). If the argument is empty, full screen
  185. is shown to VNC clients (this is the default).
  186. .
  187. .TP
  188. .B MaxProcessorUsage
  189. Maximum percentage of CPU time to be consumed when polling the
  190. screen. Default is 35.
  191. .
  192. .TP
  193. .B PollingCycle
  194. Milliseconds per one polling cycle. Actual interval may be dynamically
  195. adjusted to satisfy \fBMaxProcessorUsage\fP setting. Default is 30.
  196. .
  197. .TP
  198. .B CompareFB
  199. Perform pixel comparison on framebuffer to reduce unnecessary updates. Can
  200. be either \fB0\fP (off), \fB1\fP (always) or \fB2\fP (auto). Default is
  201. \fB2\fP.
  202. .
  203. .TP
  204. .B UseSHM
  205. Use MIT-SHM extension if available. Using that extension accelerates reading
  206. the screen. Default is on.
  207. .
  208. .TP
  209. .B ZlibLevel
  210. Zlib compression level for ZRLE encoding (it does not affect Tight encoding).
  211. Acceptable values are between 0 and 9. Default is to use the standard
  212. compression level provided by the \fBzlib\fP(3) compression library.
  213. .
  214. .TP
  215. .B ImprovedHextile
  216. Use improved compression algorithm for Hextile encoding which achieves better
  217. compression ratios by the cost of using slightly more CPU time. Default is
  218. on.
  219. .
  220. .TP
  221. .B IdleTimeout
  222. The number of seconds after which an idle VNC connection will be dropped
  223. (zero means no timeout). Default is 0.
  224. .
  225. .TP
  226. .B MaxDisconnectionTime
  227. Terminate when no client has been connected for \fIN\fP seconds. Default is
  228. 0.
  229. .
  230. .TP
  231. .B MaxConnectionTime
  232. Terminate when a client has been connected for \fIN\fP seconds. Default is
  233. 0.
  234. .
  235. .TP
  236. .B MaxIdleTime
  237. Terminate after \fIN\fP seconds of user inactivity. Default is 0.
  238. .
  239. .TP
  240. .B ClientWaitTimeMillis
  241. The number of milliseconds to wait for a client which is no longer
  242. responding. Default is 20000.
  243. .
  244. .TP
  245. .B AcceptCutText
  246. .TQ
  247. .B SendCutText
  248. .TQ
  249. .B MaxCutText
  250. Currently unused.
  251. .SH SEE ALSO
  252. .BR Xvnc (1),
  253. .BR vncpasswd (1),
  254. .br
  255. http://www.tigervnc.org/
  256. .SH AUTHOR
  257. Constantin Kaplinsky and others.
  258. VNC was originally developed by the RealVNC team while at Olivetti
  259. Research Ltd / AT&T Laboratories Cambridge. TightVNC additions were
  260. implemented by Constantin Kaplinsky. Many other people have since
  261. participated in development, testing and support. This manual is part
  262. of the TigerVNC software suite.