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.

vncviewer.man 11KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328
  1. .TH vncviewer 1 "" "TigerVNC" "Virtual Network Computing"
  2. .SH NAME
  3. vncviewer \- VNC viewer for X
  4. .SH SYNOPSIS
  5. .B vncviewer
  6. .RI [ options ]
  7. .RI [ host ][: display# ]
  8. .br
  9. .B vncviewer
  10. .RI [ options ]
  11. .RI [ host ][:: port ]
  12. .br
  13. .B vncviewer
  14. .RI [ options ]
  15. .B \-listen
  16. .RI [ port ]
  17. .br
  18. .B vncviewer
  19. .RI [ options ]
  20. .RI [ .tigervnc file ]
  21. .SH DESCRIPTION
  22. .B vncviewer
  23. is a viewer (client) for Virtual Network Computing. This manual page documents
  24. version 4 for the X window system.
  25. If you run the viewer with no arguments it will prompt you for a VNC server to
  26. connect to. Alternatively, specify the VNC server as an argument, e.g.:
  27. .RS
  28. vncviewer snoopy:2
  29. .RE
  30. where 'snoopy' is the name of the machine, and '2' is the display number of the
  31. VNC server on that machine. Either the machine name or display number can be
  32. omitted. So for example ":1" means display number 1 on the same machine, and
  33. "snoopy" means "snoopy:0" i.e. display 0 on machine "snoopy".
  34. As another quick way to start a connection to a VNC server, specify a .tigervnc
  35. configuration file as an argument to the viewer, e.g.:
  36. .RS
  37. vncviewer ./some.tigervnc
  38. .RE
  39. where './some.tigervnc' is an existing and valid TigerVNC configuration file.
  40. The file name needs to include a path separator. Additional options may be
  41. given too, but the given configuration file will overwrite any conflicting
  42. parameters.
  43. If the VNC server is successfully contacted, you will be prompted for a
  44. password to authenticate you. If the password is correct, a window will appear
  45. showing the desktop of the VNC server.
  46. .SH AUTOMATIC PROTOCOL SELECTION
  47. The viewer tests the speed of the connection to the server and chooses the
  48. encoding and pixel format (color level) appropriately. This makes it much
  49. easier to use than previous versions where the user had to specify arcane
  50. command line arguments.
  51. The viewer normally starts out assuming the link is slow, using the
  52. encoding with the best compression. If it turns out that the link is
  53. fast enough it switches to an encoding which compresses less but is
  54. faster to generate, thus improving the interactive feel.
  55. The viewer normally starts in full-color mode, but switches to
  56. low-color mode if the bandwidth is insufficient. However, this only
  57. occurs when communicating with servers supporting protocol 3.8 or
  58. newer, since many old servers does not support color mode changes
  59. safely.
  60. Automatic selection can be turned off by setting the
  61. \fBAutoSelect\fP parameter to false, or from the options dialog.
  62. .SH POPUP MENU
  63. The viewer has a popup menu containing entries which perform various actions.
  64. It is usually brought up by pressing F8, but this can be configured with the
  65. MenuKey parameter. Actions which the popup menu can perform include:
  66. .RS 2
  67. .IP * 2
  68. switching in and out of full-screen mode
  69. .IP *
  70. quitting the viewer
  71. .IP *
  72. generating key events, e.g. sending ctrl-alt-del
  73. .IP *
  74. accessing the options dialog and various other dialogs
  75. .RE
  76. .PP
  77. By default, key presses in the popup menu get sent to the VNC server and
  78. dismiss the popup. So to get an F8 through to the VNC server simply press it
  79. twice.
  80. .SH FULL SCREEN MODE
  81. A full-screen mode is supported. This is particularly useful when connecting
  82. to a remote screen which is the same size as your local one. If the remote
  83. screen is bigger, you can scroll by bumping the mouse against the edge of the
  84. screen.
  85. .SH OPTIONS (PARAMETERS)
  86. You can get a list of parameters by giving \fB\-h\fP as a command-line option
  87. to vncviewer. Parameters can be turned on with -\fIparam\fP or off with
  88. -\fIparam\fP=0. Parameters which take a value can be specified as
  89. -\fIparam\fP \fIvalue\fP. Other valid forms are \fIparam\fP\fB=\fP\fIvalue\fP
  90. -\fIparam\fP=\fIvalue\fP --\fIparam\fP=\fIvalue\fP. Parameter names are
  91. case-insensitive.
  92. Many of the parameters can also be set graphically via the options dialog box.
  93. This can be accessed from the popup menu or from the "Connection details"
  94. dialog box.
  95. .TP
  96. .B \-display \fIXdisplay\fP
  97. Specifies the X display on which the VNC viewer window should appear.
  98. .
  99. .TP
  100. .B \-geometry \fIgeometry\fP
  101. Standard X position and sizing specification.
  102. .
  103. .TP
  104. .B \-listen \fI[port]\fP
  105. Causes vncviewer to listen on the given port (default 5500) for reverse
  106. connections from a VNC server. WinVNC supports reverse connections initiated
  107. using the 'Add New Client' menu option or the '\-connect' command-line option.
  108. Xvnc supports reverse connections with a helper program called
  109. .B vncconfig.
  110. .
  111. .TP
  112. .B \-SecurityTypes \fIsec-types\fP
  113. Specify which security schemes to attempt to use when authenticating with
  114. the server. Valid values are a comma separated list of \fBNone\fP,
  115. \fBVncAuth\fP, \fBPlain\fP, \fBTLSNone\fP, \fBTLSVnc\fP, \fBTLSPlain\fP,
  116. \fBX509None\fP, \fBX509Vnc\fP and \fBX509Plain\fP. Default is to attempt
  117. every supported scheme.
  118. .
  119. .TP
  120. .B \-passwd, \-PasswordFile \fIpassword-file\fP
  121. If you are on a filesystem which gives you access to the password file used by
  122. the server, you can specify it here to avoid typing it in. It will usually be
  123. "~/.vnc/passwd".
  124. .
  125. .TP
  126. .B \-X509CA \fIpath\fP
  127. Path to CA certificate to use when authenticating remote servers using any
  128. of the X509 security schemes (X509None, X509Vnc, etc.). Must be in PEM
  129. format. Default is \fB$HOME/.vnc/x509_ca.pem\fP, if it exists.
  130. .
  131. .TP
  132. .B \-X509CRL \fIpath\fP
  133. Path to certificate revocation list to use in conjunction with
  134. \fB-X509CA\fP. Must also be in PEM format. Default is
  135. \fB$HOME/.vnc/x509_crl.pem\fP, if it exists.
  136. .
  137. .TP
  138. .B \-Shared
  139. When you make a connection to a VNC server, all other existing connections are
  140. normally closed. This option requests that they be left open, allowing you to
  141. share the desktop with someone already using it.
  142. .
  143. .TP
  144. .B \-ViewOnly
  145. Specifies that no keyboard or mouse events should be sent to the server.
  146. Useful if you want to view a desktop without interfering; often needs to be
  147. combined with
  148. .B \-Shared.
  149. .
  150. .TP
  151. .B \-AcceptClipboard
  152. Accept clipboard changes from the server. Default is on.
  153. .
  154. .TP
  155. .B \-SetPrimary
  156. Set the primary selection as well as the clipboard selection.
  157. Default is on.
  158. .
  159. .TP
  160. .B \-SendClipboard
  161. Send clipboard changes to the server. Default is on.
  162. .
  163. .TP
  164. .B \-SendPrimary
  165. Send the primary selection to the server as well as the clipboard
  166. selection. Default is on.
  167. .
  168. .TP
  169. .B \-Maximize
  170. Maximize viewer window.
  171. .
  172. .TP
  173. .B \-FullScreen
  174. Start in full-screen mode.
  175. .
  176. .TP
  177. .B \-FullScreenAllMonitors
  178. Use all local monitors and not just the current one when switching to
  179. full-screen mode.
  180. .
  181. .TP
  182. .B \-FullscreenSystemKeys
  183. Pass special keys (like Alt+Tab) directly to the server when in full-screen
  184. mode.
  185. .
  186. .TP
  187. .B \-DesktopSize \fIwidth\fPx\fIheight\fP
  188. Instead of keeping the existing remote screen size, the client will attempt to
  189. switch to the specified since when connecting. If the server does not support
  190. the SetDesktopSize message then the screen will retain the original size.
  191. .
  192. .TP
  193. .B \-RemoteResize
  194. Dynamically resize the remote desktop size as the size of the local client
  195. window changes. Note that this may not work with all VNC servers.
  196. .
  197. .TP
  198. .B \-AutoSelect
  199. Use automatic selection of encoding and pixel format (default is on). Normally
  200. the viewer tests the speed of the connection to the server and chooses the
  201. encoding and pixel format appropriately. Turn it off with \fB-AutoSelect=0\fP.
  202. .
  203. .TP
  204. .B \-FullColor, \-FullColour
  205. Tells the VNC server to send full-color pixels in the best format for this
  206. display. This is default.
  207. .
  208. .TP
  209. .B \-LowColorLevel, \-LowColourLevel \fIlevel\fP
  210. Selects the reduced color level to use on slow links. \fIlevel\fP can range
  211. from 0 to 2, 0 meaning 8 colors, 1 meaning 64 colors (the default), 2 meaning
  212. 256 colors. Note that decision if reduced color level is used is made by
  213. vncviewer. If you would like to force vncviewer to use reduced color level
  214. use \fB-AutoSelect=0\fP parameter.
  215. .
  216. .TP
  217. .B \-PreferredEncoding \fIencoding\fP
  218. This option specifies the preferred encoding to use from one of "Tight", "ZRLE",
  219. "hextile" or "raw".
  220. .
  221. .TP
  222. .B \-NoJpeg
  223. Disable lossy JPEG compression in Tight encoding. Default is off.
  224. .
  225. .TP
  226. .B \-QualityLevel \fIlevel\fP
  227. JPEG quality level. 0 = Low, 9 = High. May be adjusted automatically if
  228. \fB-AutoSelect\fP is turned on. Default is 8.
  229. .
  230. .TP
  231. .B \-CompressLevel \fIlevel\fP
  232. Use specified lossless compression level. 0 = Low, 6 = High. Default is 2.
  233. .
  234. .TP
  235. .B \-CustomCompressLevel
  236. Use custom compression level. Default if \fBCompressLevel\fP is specified.
  237. .
  238. .TP
  239. .B \-DotWhenNoCursor
  240. Show the dot cursor when the server sends an invisible cursor. Default is off.
  241. .
  242. .TP
  243. .B \-PointerEventInterval \fItime\fP
  244. Time in milliseconds to rate-limit successive pointer events. Default is
  245. 17 ms (60 Hz).
  246. .
  247. .TP
  248. .B \-Log \fIlogname\fP:\fIdest\fP:\fIlevel\fP
  249. Configures the debug log settings. \fIdest\fP can currently be \fBstderr\fP or
  250. \fBstdout\fP, and \fIlevel\fP is between 0 and 100, 100 meaning most verbose
  251. output. \fIlogname\fP is usually \fB*\fP meaning all, but you can target a
  252. specific source file if you know the name of its "LogWriter". Default is
  253. \fB*:stderr:30\fP.
  254. .
  255. .TP
  256. .B \-MenuKey \fIkeysym-name\fP
  257. This option specifies the key which brings up the popup menu. The currently
  258. supported list is: F1, F2, F3, F4, F5, F6, F7, F8, F9, F10, F11, F12, Pause,
  259. Scroll_Lock, Escape, Insert, Delete, Home, Page_Up, Page_Down). Default is F8.
  260. .
  261. .TP
  262. \fB\-via\fR \fIgateway\fR
  263. Automatically create encrypted TCP tunnel to the \fIgateway\fR machine
  264. before connection, connect to the \fIhost\fR through that tunnel
  265. (TigerVNC\-specific). By default, this option invokes SSH local port
  266. forwarding, assuming that SSH client binary can be accessed as
  267. /usr/bin/ssh. Note that when using the \fB\-via\fR option, the host
  268. machine name should be specified as known to the gateway machine, e.g.
  269. "localhost" denotes the \fIgateway\fR, not the machine where vncviewer
  270. was launched. The environment variable \fIVNC_VIA_CMD\fR can override
  271. the default tunnel command of
  272. \fB/usr/bin/ssh\ -f\ -L\ "$L":"$H":"$R"\ "$G"\ sleep\ 20\fR. The tunnel
  273. command is executed with the environment variables \fIL\fR, \fIH\fR,
  274. \fIR\fR, and \fIG\fR taken the values of the local port number, the remote
  275. host, the port number on the remote host, and the gateway machine
  276. respectively.
  277. .
  278. .TP
  279. .B \-AlertOnFatalError
  280. Display a dialog with any fatal error before exiting. Default is on.
  281. .SH FILES
  282. .TP
  283. $HOME/.vnc/default.tigervnc
  284. Default configuration options. This file must have a "magic" first line of
  285. "TigerVNC Configuration file Version 1.0" (without quotes), followed by simple
  286. <setting>=<value> pairs of your choosing. The available settings are those
  287. shown in this man page.
  288. .TP
  289. $HOME/.vnc/x509_ca.pem
  290. Default CA certificate for authenticating servers.
  291. .TP
  292. $HOME/.vnc/x509_crl.pem
  293. Default certificate revocation list.
  294. .SH SEE ALSO
  295. .BR Xvnc (1),
  296. .BR vncpasswd (1),
  297. .BR vncconfig (1),
  298. .BR vncserver (1)
  299. .br
  300. http://www.tigervnc.org
  301. .SH AUTHOR
  302. Tristan Richardson, RealVNC Ltd. and others.
  303. VNC was originally developed by the RealVNC team while at Olivetti
  304. Research Ltd / AT&T Laboratories Cambridge. TightVNC additions were
  305. implemented by Constantin Kaplinsky. Many other people have since
  306. participated in development, testing and support. This manual is part
  307. of the TigerVNC software suite.