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

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222
  1. .TH vncviewer 1 "05 May 2004" "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. Unfortunately this mode doesn't work completely with all window managers, since
  73. it breaks the X window management conventions.
  74. .SH OPTIONS (PARAMETERS)
  75. You can get a list of parameters by giving \fB\-h\fP as a command-line option
  76. to vncviewer. Parameters can be turned on with -\fIparam\fP or off with
  77. -\fIparam\fP=0. Parameters which take a value can be specified as
  78. -\fIparam\fP \fIvalue\fP. Other valid forms are \fIparam\fP\fB=\fP\fIvalue\fP
  79. -\fIparam\fP=\fIvalue\fP --\fIparam\fP=\fIvalue\fP. Parameter names are
  80. case-insensitive.
  81. Many of the parameters can also be set graphically via the options dialog box.
  82. This can be accessed from the popup menu or from the "Connection details"
  83. dialog box.
  84. .TP
  85. .B \-display \fIXdisplay\fP
  86. Specifies the X display on which the VNC viewer window should appear.
  87. .TP
  88. .B \-geometry \fIgeometry\fP
  89. Standard X position and sizing specification.
  90. .TP
  91. .B \-listen \fI[port]\fP
  92. Causes vncviewer to listen on the given port (default 5500) for reverse
  93. connections from a VNC server. WinVNC supports reverse connections initiated
  94. using the 'Add New Client' menu option or the '\-connect' command-line option.
  95. Xvnc supports reverse connections with a helper program called
  96. .B vncconfig.
  97. .TP
  98. .B \-passwd \fIpassword-file\fP
  99. If you are on a filesystem which gives you access to the password file used by
  100. the server, you can specify it here to avoid typing it in. It will usually be
  101. "~/.vnc/passwd".
  102. .TP
  103. .B \-Shared
  104. When you make a connection to a VNC server, all other existing connections are
  105. normally closed. This option requests that they be left open, allowing you to
  106. share the desktop with someone already using it.
  107. .TP
  108. .B \-ViewOnly
  109. Specifies that no keyboard or mouse events should be sent to the server.
  110. Useful if you want to view a desktop without interfering; often needs to be
  111. combined with
  112. .B \-Shared.
  113. .TP
  114. .B \-FullScreen
  115. Start in full-screen mode.
  116. .TP
  117. .B \-DesktopSize \fIwidth\fPx\fIheight\fP
  118. Instead of keeping the existing remote screen size, the client will attempt to
  119. switch to the specified since when connecting. If the server does not support
  120. the SetDesktopSize message then the screen will retain the original size.
  121. .TP
  122. .B \-AutoSelect
  123. Use automatic selection of encoding and pixel format (default is on). Normally
  124. the viewer tests the speed of the connection to the server and chooses the
  125. encoding and pixel format appropriately. Turn it off with \fB-AutoSelect=0\fP.
  126. .TP
  127. .B \-FullColor, \-FullColour
  128. Tells the VNC server to send full-color pixels in the best format for this
  129. display. This is default.
  130. .TP
  131. .B \-LowColorLevel, \-LowColourLevel \fIlevel\fP
  132. Selects the reduced color level to use on slow links. \fIlevel\fP can range
  133. from 0 to 2, 0 meaning 8 colors, 1 meaning 64 colors (the default), 2 meaning
  134. 256 colors.
  135. .TP
  136. .B \-PreferredEncoding \fIencoding\fP
  137. This option specifies the preferred encoding to use from one of "Tight", "ZRLE",
  138. "hextile" or "raw".
  139. .TP
  140. .B -UseLocalCursor
  141. Render the mouse cursor locally if the server supports it (default is on).
  142. This can make the interactive performance feel much better over slow links.
  143. .TP
  144. .B \-WMDecorationWidth \fIw\fP, \-WMDecorationHeight \fIh\fP
  145. The total width and height taken up by window manager decorations. This is
  146. used to calculate the maximum size of the VNC viewer window. Default is
  147. width 6, height 24.
  148. .TP
  149. .B \-log \fIlogname\fP:\fIdest\fP:\fIlevel\fP
  150. Configures the debug log settings. \fIdest\fP can currently be \fBstderr\fP or
  151. \fBstdout\fP, and \fIlevel\fP is between 0 and 100, 100 meaning most verbose
  152. output. \fIlogname\fP is usually \fB*\fP meaning all, but you can target a
  153. specific source file if you know the name of its "LogWriter". Default is
  154. \fB*:stderr:30\fP.
  155. .TP
  156. .B \-MenuKey \fIkeysym-name\fP
  157. This option specifies the key which brings up the popup menu. The key is
  158. specified as an X11 keysym name (these can be obtained by removing the XK_
  159. prefix from the entries in "/usr/include/X11/keysymdef.h"). Default is F8.
  160. .TP
  161. \fB\-via\fR \fIgateway\fR
  162. Automatically create encrypted TCP tunnel to the \fIgateway\fR machine
  163. before connection, connect to the \fIhost\fR through that tunnel
  164. (TigerVNC\-specific). By default, this option invokes SSH local port
  165. forwarding, assuming that SSH client binary can be accessed as
  166. /usr/bin/ssh. Note that when using the \fB\-via\fR option, the host
  167. machine name should be specified as known to the gateway machine, e.g.
  168. "localhost" denotes the \fIgateway\fR, not the machine where vncviewer
  169. was launched. The environment variable \fIVNC_VIA_CMD\fR can override
  170. the default tunnel command of
  171. \fB/usr/bin/ssh\ -f\ -L\ "$L":"$H":"$R"\ "$G"\ sleep\ 20\fR. The tunnel
  172. command is executed with the environment variables \fIL\fR, \fIH\fR,
  173. \fIR\fR, and \fIG\fR taken the values of the local port number, the remote
  174. host, the port number on the remote host, and the gateway machine
  175. respectively.
  176. .SH SEE ALSO
  177. .BR Xvnc (1),
  178. .BR vncpasswd (1),
  179. .BR vncconfig (1),
  180. .BR vncserver (1)
  181. .br
  182. http://www.tigervnc.org
  183. .SH AUTHOR
  184. Tristan Richardson, RealVNC Ltd.
  185. VNC was originally developed by the RealVNC team while at Olivetti
  186. Research Ltd / AT&T Laboratories Cambridge. TightVNC additions were
  187. implemented by Constantin Kaplinsky. Many other people participated in
  188. development, testing and support.