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 9.6KB

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