Codebase list virt-viewer / upstream/1.0 man / remote-viewer.1
upstream/1.0

Tree @upstream/1.0 (Download .tar.gz)

remote-viewer.1 @upstream/1.0raw · history · blame

  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
.\" Automatically generated by Pod::Man 2.27 (Pod::Simple 3.28)
.\"
.\" Standard preamble:
.\" ========================================================================
.de Sp \" Vertical space (when we can't use .PP)
.if t .sp .5v
.if n .sp
..
.de Vb \" Begin verbatim text
.ft CW
.nf
.ne \\$1
..
.de Ve \" End verbatim text
.ft R
.fi
..
.\" Set up some character translations and predefined strings.  \*(-- will
.\" give an unbreakable dash, \*(PI will give pi, \*(L" will give a left
.\" double quote, and \*(R" will give a right double quote.  \*(C+ will
.\" give a nicer C++.  Capital omega is used to do unbreakable dashes and
.\" therefore won't be available.  \*(C` and \*(C' expand to `' in nroff,
.\" nothing in troff, for use with C<>.
.tr \(*W-
.ds C+ C\v'-.1v'\h'-1p'\s-2+\h'-1p'+\s0\v'.1v'\h'-1p'
.ie n \{\
.    ds -- \(*W-
.    ds PI pi
.    if (\n(.H=4u)&(1m=24u) .ds -- \(*W\h'-12u'\(*W\h'-12u'-\" diablo 10 pitch
.    if (\n(.H=4u)&(1m=20u) .ds -- \(*W\h'-12u'\(*W\h'-8u'-\"  diablo 12 pitch
.    ds L" ""
.    ds R" ""
.    ds C` ""
.    ds C' ""
'br\}
.el\{\
.    ds -- \|\(em\|
.    ds PI \(*p
.    ds L" ``
.    ds R" ''
.    ds C`
.    ds C'
'br\}
.\"
.\" Escape single quotes in literal strings from groff's Unicode transform.
.ie \n(.g .ds Aq \(aq
.el       .ds Aq '
.\"
.\" If the F register is turned on, we'll generate index entries on stderr for
.\" titles (.TH), headers (.SH), subsections (.SS), items (.Ip), and index
.\" entries marked with X<> in POD.  Of course, you'll have to process the
.\" output yourself in some meaningful fashion.
.\"
.\" Avoid warning from groff about undefined register 'F'.
.de IX
..
.nr rF 0
.if \n(.g .if rF .nr rF 1
.if (\n(rF:(\n(.g==0)) \{
.    if \nF \{
.        de IX
.        tm Index:\\$1\t\\n%\t"\\$2"
..
.        if !\nF==2 \{
.            nr % 0
.            nr F 2
.        \}
.    \}
.\}
.rr rF
.\"
.\" Accent mark definitions (@(#)ms.acc 1.5 88/02/08 SMI; from UCB 4.2).
.\" Fear.  Run.  Save yourself.  No user-serviceable parts.
.    \" fudge factors for nroff and troff
.if n \{\
.    ds #H 0
.    ds #V .8m
.    ds #F .3m
.    ds #[ \f1
.    ds #] \fP
.\}
.if t \{\
.    ds #H ((1u-(\\\\n(.fu%2u))*.13m)
.    ds #V .6m
.    ds #F 0
.    ds #[ \&
.    ds #] \&
.\}
.    \" simple accents for nroff and troff
.if n \{\
.    ds ' \&
.    ds ` \&
.    ds ^ \&
.    ds , \&
.    ds ~ ~
.    ds /
.\}
.if t \{\
.    ds ' \\k:\h'-(\\n(.wu*8/10-\*(#H)'\'\h"|\\n:u"
.    ds ` \\k:\h'-(\\n(.wu*8/10-\*(#H)'\`\h'|\\n:u'
.    ds ^ \\k:\h'-(\\n(.wu*10/11-\*(#H)'^\h'|\\n:u'
.    ds , \\k:\h'-(\\n(.wu*8/10)',\h'|\\n:u'
.    ds ~ \\k:\h'-(\\n(.wu-\*(#H-.1m)'~\h'|\\n:u'
.    ds / \\k:\h'-(\\n(.wu*8/10-\*(#H)'\z\(sl\h'|\\n:u'
.\}
.    \" troff and (daisy-wheel) nroff accents
.ds : \\k:\h'-(\\n(.wu*8/10-\*(#H+.1m+\*(#F)'\v'-\*(#V'\z.\h'.2m+\*(#F'.\h'|\\n:u'\v'\*(#V'
.ds 8 \h'\*(#H'\(*b\h'-\*(#H'
.ds o \\k:\h'-(\\n(.wu+\w'\(de'u-\*(#H)/2u'\v'-.3n'\*(#[\z\(de\v'.3n'\h'|\\n:u'\*(#]
.ds d- \h'\*(#H'\(pd\h'-\w'~'u'\v'-.25m'\f2\(hy\fP\v'.25m'\h'-\*(#H'
.ds D- D\\k:\h'-\w'D'u'\v'-.11m'\z\(hy\v'.11m'\h'|\\n:u'
.ds th \*(#[\v'.3m'\s+1I\s-1\v'-.3m'\h'-(\w'I'u*2/3)'\s-1o\s+1\*(#]
.ds Th \*(#[\s+2I\s-2\h'-\w'I'u*3/5'\v'-.3m'o\v'.3m'\*(#]
.ds ae a\h'-(\w'a'u*4/10)'e
.ds Ae A\h'-(\w'A'u*4/10)'E
.    \" corrections for vroff
.if v .ds ~ \\k:\h'-(\\n(.wu*9/10-\*(#H)'\s-2\u~\d\s+2\h'|\\n:u'
.if v .ds ^ \\k:\h'-(\\n(.wu*10/11-\*(#H)'\v'-.4m'^\v'.4m'\h'|\\n:u'
.    \" for low resolution devices (crt and lpr)
.if \n(.H>23 .if \n(.V>19 \
\{\
.    ds : e
.    ds 8 ss
.    ds o a
.    ds d- d\h'-1'\(ga
.    ds D- D\h'-1'\(hy
.    ds th \o'bp'
.    ds Th \o'LP'
.    ds ae ae
.    ds Ae AE
.\}
.rm #[ #] #H #V #F C
.\" ========================================================================
.\"
.IX Title "REMOTE-VIEWER 1"
.TH REMOTE-VIEWER 1 "2014-07-21" "perl v5.18.2" "Virtualization Support"
.\" For nroff, turn off justification.  Always turn off hyphenation; it makes
.\" way too many mistakes in technical documents.
.if n .ad l
.nh
.SH "NAME"
remote\-viewer \- a simple remote desktop client
.SH "SYNOPSIS"
.IX Header "SYNOPSIS"
\&\fBremote-viewer\fR [\s-1OPTIONS\s0] \*(-- [\s-1URI\s0]
.SH "DESCRIPTION"
.IX Header "DESCRIPTION"
\&\fBremote-viewer\fR is a simple remote display client. The supported
protocols are \s-1SPICE\s0 and \s-1VNC.\s0
.PP
Starting remote-viewer without \s-1URI\s0 will open a simple dialog with an
entry and a list of previously successfully accessed \s-1URI.\s0
.PP
The \s-1URI\s0 can also point to a connection settings file, see \s-1FILE\s0 section
for a description of the format.
.SH "OPTIONS"
.IX Header "OPTIONS"
The following options are accepted when running \f(CW\*(C`remote\-viewer\*(C'\fR:
.IP "\-h, \-\-help" 4
.IX Item "-h, --help"
Display command line help summary
.IP "\-V, \-\-version" 4
.IX Item "-V, --version"
Display program version number
.IP "\-v, \-\-verbose" 4
.IX Item "-v, --verbose"
Display information about the connection
.IP "\-z \s-1PCT,\s0 \-\-zoom=PCT" 4
.IX Item "-z PCT, --zoom=PCT"
Zoom level of the display window in percentage. Range 10\-400.
.IP "\-f, \-\-full\-screen" 4
.IX Item "-f, --full-screen"
Start with the windows maximized to fullscreen.
.Sp
If supported, the remote display will be reconfigured to match at best the
client physical monitor configuration on initialization, by enabling or
disabling extra monitors as necessary. This is currently implemented by the
Spice backend only.
.IP "\-t \s-1TITLE,\s0 \-\-title \s-1TITLE\s0" 4
.IX Item "-t TITLE, --title TITLE"
Set the window title to \fB\s-1TITLE\s0\fR
.IP "\-\-spice\-controller" 4
.IX Item "--spice-controller"
Use the \s-1SPICE\s0 controller to initialize the connection with the \s-1SPICE\s0
server. This option is used by the \s-1SPICE\s0 browser addons to allow web
page to start a client.
.IP "\-\-debug" 4
.IX Item "--debug"
Print debugging information
.IP "\-H \s-1HOTKEYS,\s0 \-\-hotkeys \s-1HOTKEYS\s0" 4
.IX Item "-H HOTKEYS, --hotkeys HOTKEYS"
Set global hotkey bindings. By default, keyboard shortcuts only work when the
guest display widget does not have focus.  Any actions specified in \fB\s-1HOTKEYS\s0\fR
will be effective even when the guest display widget has input focus. The format
for \fB\s-1HOTKEYS\s0\fR is <action1>=<key1>[+<key2>][,<action2>=<key3>[+<key4>]].
Key-names are case-insensitive. Valid actions are: toggle-fullscreen,
release-cursor, secure-attention, smartcard-insert and smartcard-remove.  The
\&\f(CW\*(C`secure\-attention\*(C'\fR action sends a secure attention sequence (Ctrl+Alt+Del) to
the guest. Examples:
.Sp
.Vb 1
\&  \-\-hotkeys=toggle\-fullscreen=shift+f11,release\-cursor=shift+f12
\&
\&  \-\-hotkeys=release\-cursor=ctrl+alt
.Ve
.Sp
Note that hotkeys for which no binding is given are disabled. Although the
hotkeys specified here are handled by the client, it is still possible to send
these key combinations to the guest via a menu item.
.IP "\-k, \-\-kiosk" 4
.IX Item "-k, --kiosk"
Start in kiosk mode. In this mode, the application will start in
fullscreen with minimal \s-1UI.\s0 It will prevent the user from quitting or
performing any interaction outside of usage of the remote desktop
session.
.Sp
Note that it can't offer a complete secure solution by itself. Your
kiosk system must have additional configuration and security settings
to lock down the \s-1OS.\s0 In particular, you must configure or disable the
window manager, limit the session capabilities, use some
restart/watchdog mechanism, disable \s-1VT\s0 switching etc.
.IP "\-\-kiosk\-quit <never|on\-disconnect>" 4
.IX Item "--kiosk-quit <never|on-disconnect>"
By default, when kiosk mode is enabled, virt-viewer will remain open
when the connection to the remote server is terminated. By setting
kiosk-quit option to \*(L"on-disconnect\*(R" value, virt-viewer will quit
instead.
.SH "HOTKEY"
.IX Header "HOTKEY"
A key binding combination is described by a series of key strings
seperated by '+' that must be pressed together in order to activate
the associated action.
.PP
It must be composed of modifiers (shift, ctrl or alt) and a
non-modifier key. For example, \*(L"shift+f11\*(R".
.SH "FILE"
.IX Header "FILE"
\&\fBremote-viewer\fR connection file is of \s-1INI\s0 file format, with a
mandatory [virt\-viewer] group and \*(L"type\*(R" key.
.SS "Example"
.IX Subsection "Example"
Opening a file with the following content will start remote-viewer in
fullscreen and connect to the host \*(L"betsiboka\*(R" using the \s-1SPICE\s0
protocol:
.PP
.Vb 5
\& [virt\-viewer]
\& type=spice
\& host=betsiboka
\& port=5900
\& fullscreen=1
.Ve
.SS "Key list"
.IX Subsection "Key list"
.ie n .IP """version"" (string)" 4
.el .IP "\f(CWversion\fR (string)" 4
.IX Item "version (string)"
If remote-viewer version isn't at superior or equal to the required
version, an error is raised with the version expected.
.Sp
The version format accepted is a list of integers seperated by '.'.
.ie n .IP """type"" (string, mandatory)" 4
.el .IP "\f(CWtype\fR (string, mandatory)" 4
.IX Item "type (string, mandatory)"
The session type, either \*(L"spice\*(R", \*(L"vnc\*(R" or \*(L"ovirt\*(R".
.ie n .IP """host"" (string, mandatory)" 4
.el .IP "\f(CWhost\fR (string, mandatory)" 4
.IX Item "host (string, mandatory)"
The server host to connect to.
.ie n .IP """port"" (integer)" 4
.el .IP "\f(CWport\fR (integer)" 4
.IX Item "port (integer)"
The server port to connect to.
.ie n .IP """tls\-port"" (integer)" 4
.el .IP "\f(CWtls\-port\fR (integer)" 4
.IX Item "tls-port (integer)"
The server \s-1TLS/SSL\s0 port to connect to.
.ie n .IP """username"" (string)" 4
.el .IP "\f(CWusername\fR (string)" 4
.IX Item "username (string)"
The username for the session authentication.
.ie n .IP """password"" (string)" 4
.el .IP "\f(CWpassword\fR (string)" 4
.IX Item "password (string)"
The password for the session authentication.
.ie n .IP """disable\-channels"" (string list)" 4
.el .IP "\f(CWdisable\-channels\fR (string list)" 4
.IX Item "disable-channels (string list)"
The list of session channels to disable.
.Sp
The current \s-1SPICE\s0 channels are: main, display, inputs, cursor, playback, record, smartcard, usbredir.
.ie n .IP """tls\-ciphers"" (string)" 4
.el .IP "\f(CWtls\-ciphers\fR (string)" 4
.IX Item "tls-ciphers (string)"
Set the cipher list to use for the secure connection, in textual
OpenSSL cipher list format. (see \fIciphers\fR\|(1))
.ie n .IP """title"" (string)" 4
.el .IP "\f(CWtitle\fR (string)" 4
.IX Item "title (string)"
String to present in the window title.
.ie n .IP """fullscreen"" (boolean)" 4
.el .IP "\f(CWfullscreen\fR (boolean)" 4
.IX Item "fullscreen (boolean)"
Opens the client windows in fullscreen.
.ie n .IP """ca"" (string)" 4
.el .IP "\f(CWca\fR (string)" 4
.IX Item "ca (string)"
\&\s-1CA\s0 certificate in \s-1PEM\s0 format (using \*(L"\en\*(R" to seperate the lines), for verification purposes.
.ie n .IP """host\-subject"" (string)" 4
.el .IP "\f(CWhost\-subject\fR (string)" 4
.IX Item "host-subject (string)"
Verify the certificate subject matches with the given subject.
.ie n .IP """toggle\-fullscreen"" (hotkey string)" 4
.el .IP "\f(CWtoggle\-fullscreen\fR (hotkey string)" 4
.IX Item "toggle-fullscreen (hotkey string)"
Key binding for entering and leaving fullscreen mode. (see \s-1HOTKEY\s0 for description of expected string)
.ie n .IP """release\-cursor"" (hotkey string)" 4
.el .IP "\f(CWrelease\-cursor\fR (hotkey string)" 4
.IX Item "release-cursor (hotkey string)"
Key binding for releasing cursor grab. (see \s-1HOTKEY\s0 for description of expected string)
.ie n .IP """smartcard\-insert"" (hotkey string)" 4
.el .IP "\f(CWsmartcard\-insert\fR (hotkey string)" 4
.IX Item "smartcard-insert (hotkey string)"
Key binding for inserting emulated smartcard. (see \s-1HOTKEY\s0 for description of expected string)
.ie n .IP """smartcard\-remove"" (hotkey string)" 4
.el .IP "\f(CWsmartcard\-remove\fR (hotkey string)" 4
.IX Item "smartcard-remove (hotkey string)"
Key binding for removing emulated smartcard. (see \s-1HOTKEY\s0 for description of expected string)
.ie n .IP """color\-depth"" (integer)" 4
.el .IP "\f(CWcolor\-depth\fR (integer)" 4
.IX Item "color-depth (integer)"
Set the color depth of the guest display (16 or 32).
.ie n .IP """disable\-effects"" (string list)" 4
.el .IP "\f(CWdisable\-effects\fR (string list)" 4
.IX Item "disable-effects (string list)"
A list of desktop effects to disable in the remote guest.
.Sp
The effects that can be disabled with \s-1SPICE\s0 are: wallpaper,
font-smooth, animation or all.
.ie n .IP """enable\-smartcard"" (boolean)" 4
.el .IP "\f(CWenable\-smartcard\fR (boolean)" 4
.IX Item "enable-smartcard (boolean)"
Set to 1 to enable client smartcard redirection.
.ie n .IP """enable\-usbredir"" (boolean)" 4
.el .IP "\f(CWenable\-usbredir\fR (boolean)" 4
.IX Item "enable-usbredir (boolean)"
Set to 1 to enable client \s-1USB\s0 device redirection.
.ie n .IP """enable\-usb\-autoshare"" (boolean)" 4
.el .IP "\f(CWenable\-usb\-autoshare\fR (boolean)" 4
.IX Item "enable-usb-autoshare (boolean)"
Set to 1 to enable client \s-1USB\s0 devices auto-sharing.
.ie n .IP """usb\-filter"" (string)" 4
.el .IP "\f(CWusb\-filter\fR (string)" 4
.IX Item "usb-filter (string)"
Set a string specifying a filter to use to determine which \s-1USB\s0 devices
to autoconnect when plugged in, a filter consists of one or more
rules. Where each rule has the form of:
.Sp
\&\f(CW\*(C`class,vendor,product,version,allow\*(C'\fR
.Sp
Use \-1 for class/vendor/product/version to accept any value.
.Sp
And the rules themselves are concatenated like this:
.Sp
\&\f(CW\*(C`rule1|rule2|rule3\*(C'\fR
.ie n .IP """secure\-channels"" (string list)" 4
.el .IP "\f(CWsecure\-channels\fR (string list)" 4
.IX Item "secure-channels (string list)"
The list of session channels to secure.
.Sp
The current \s-1SPICE\s0 channels are: main, display, inputs, cursor, playback, record, smartcard, usbredir.
.ie n .IP """delete\-this\-file"" (boolean)" 4
.el .IP "\f(CWdelete\-this\-file\fR (boolean)" 4
.IX Item "delete-this-file (boolean)"
Set to 1 for the client to remove this connection file (if it can't, it will fail silently)
.ie n .IP """proxy"" (string)" 4
.el .IP "\f(CWproxy\fR (string)" 4
.IX Item "proxy (string)"
A proxy \s-1URL\s0 to tunnel the connection through.
.Sp
At the time of writing this documentation, the only supported proxy
method with Spice is \s-1HTTP CONNECT.\s0
.Sp
For example, to tunnel connection through foobar host \s-1HTTP\s0 proxy on
port 8080, use the value \*(L"http://foobar:8080\*(R".
.SH "EXAMPLES"
.IX Header "EXAMPLES"
To connect to \s-1SPICE\s0 server on host \*(L"makai\*(R" with port 5900
.PP
.Vb 1
\&   remote\-viewer spice://makai:5900
.Ve
.PP
To connect to \s-1VNC\s0 server on host \*(L"tsingy\*(R" with port 5900
.PP
.Vb 1
\&   remote\-viewer vnc://tsingy:5900
.Ve
.SH "BUGS"
.IX Header "BUGS"
Report bugs to the mailing list \f(CW\*(C`http://www.redhat.com/mailman/listinfo/virt\-tools\-list\*(C'\fR
.SH "COPYRIGHT"
.IX Header "COPYRIGHT"
Copyright (C) 2012\-2014 Red Hat, Inc., and various contributors.
This is free software. You may redistribute copies of it under the terms of the \s-1GNU\s0 General
Public License \f(CW\*(C`https://www.gnu.org/licenses/gpl\-2.0.html\*(C'\fR. There is \s-1NO WARRANTY,\s0
to the extent permitted by law.
.SH "SEE ALSO"
.IX Header "SEE ALSO"
\&\f(CW\*(C`virt\-viewer(1)\*(C'\fR, the project website \f(CW\*(C`http://virt\-manager.org\*(C'\fR