remote-viewer (1)
Leading comments
Automatically generated by Pod::Man 4.09 (Pod::Simple 3.35) Standard preamble: ========================================================================
NAME
remote-viewer - a simple remote desktop clientSYNOPSIS
remote-viewer [DESCRIPTION
remote-viewer is a simple remote display client. The supported protocols areStarting remote-viewer without
The
OPTIONS
The following options are accepted when running "remote-viewer":- -h, --help
- Display command line help summary
- -V, --version
- Display program version number
- -v, --verbose
- Display information about the connection
- -z PCT,--zoom=PCT
- Zoom level of the display window in percentage. Range 10-400.
- -f, --full-screen
-
Start with the windows maximized to fullscreen.
If supported, the remote display will be reconfigured to match the physical client monitor configuration, by enabling or disabling extra monitors as necessary. This is currently implemented by the Spice backend only.
To specify which client monitors are used in fullscreen mode, see the
CONFIGURATIONsection below. - -t TITLE,--titleTITLE
-
Set the window title to TITLE
- --spice-controller
-
Use the SPICEcontroller to initialize the connection with theSPICEserver. This option is used by theSPICEbrowser addons to allow web page to start a client.
- --debug
- Print debugging information
- -H HOTKEYS,--hotkeysHOTKEYS
-
Set global hotkey bindings. By default, keyboard shortcuts only work when the
guest display widget does not have focus. Any actions specified in HOTKEYSwill be effective even when the guest display widget has input focus. The format forHOTKEYSis <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 "secure-attention" action sends a secure attention sequence (Ctrl+Alt+Del) to the guest. Examples:
--hotkeys=toggle-fullscreen=shift+f11,release-cursor=shift+f12 --hotkeys=release-cursor=ctrl+alt
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.
- -k, --kiosk
-
Start in kiosk mode. In this mode, the application will start in
fullscreen with minimal UI.It will prevent the user from quitting or performing any interaction outside of usage of the remote desktop session.
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
OS.In particular, you must configure or disable the window manager, limit the session capabilities, use some restart/watchdog mechanism, disableVTswitching etc. - --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 ``on-disconnect'' value, virt-viewer will quit instead.
HOTKEY
A key binding combination is described by a series of key strings separated by '+' that must be pressed together in order to activate the associated action.It must be composed of modifiers (shift, ctrl or alt) and a non-modifier key. For example, ``shift+f11''.
CONNECTION FILE
remote-viewer connection file is ofExample
Opening a file with the following content will start remote-viewer in fullscreen and connect to the host ``betsiboka'' using the
[virt-viewer] type=spice host=betsiboka port=5900 fullscreen=1
Key list
- version (string)
-
If remote-viewer version number isn't greater or equal to the required
version, an error is raised with the expected version.
The version format accepted is a list of integers separated by '.'. It can be followed by a dash '-' and an additional build number with the same format.
Version comparison is done by comparing each integer from the list one by one. If any of the component is not a number, the version comparison will fail and consider that the 2 versions are considered to be the same.
- versions (osid:version list)
-
This is a list of osid:version couples separated by ';'. osid is an arbitrary string, version is
a version number in the same format as in the 'version' field. A given couple indicates that
remote-viewer builds matching the given 'osid' (fedora22, debian7, ...) must
be at least version 'version'. For consistency, it's recommended to use libosinfo OSshortids as the osid.
- newer-version-url (string)
-
If specified, this field is an URLwhich will be displayed to the user when a version check fails.
- type (string, mandatory)
- The session type, either ``spice'', ``vnc'' or ``ovirt''.
- host (string, mandatory)
- The server host to connect to.
- port (integer)
- The server port to connect to.
- tls-port (integer)
-
The server TLS/SSLport to connect to.
- username (string)
- The username for the session authentication.
- password (string)
- The password for the session authentication.
- disable-channels (string list)
-
The list of session channels to disable.
The current
SPICEchannels are: main, display, inputs, cursor, playback, record, smartcard, usbredir. - tls-ciphers (string)
- Set the cipher list to use for the secure connection, in textual OpenSSL cipher list format. (see ciphers(1))
- title (string)
- String to present in the window title.
- fullscreen (boolean)
- Opens the client windows in fullscreen.
- ca (string)
-
CAcertificate inPEMformat (using ``\n'' to separate the lines). This will be used to verify theSSLcertificate used forSPICE TLSsessions.
- host-subject (string)
- Verify the certificate subject matches with the given subject.
- toggle-fullscreen (hotkey string)
-
Key binding for entering and leaving fullscreen mode. (see HOTKEYfor description of expected string)
- release-cursor (hotkey string)
-
Key binding for releasing cursor grab. (see HOTKEYfor description of expected string)
- smartcard-insert (hotkey string)
-
Key binding for inserting emulated smartcard. (see HOTKEYfor description of expected string)
- smartcard-remove (hotkey string)
-
Key binding for removing emulated smartcard. (see HOTKEYfor description of expected string)
- color-depth (integer)
- Set the color depth of the guest display (16 or 32).
- disable-effects (string list)
-
A list of desktop effects to disable in the remote guest.
The effects that can be disabled with
SPICEare: wallpaper, font-smooth, animation or all. - enable-smartcard (boolean)
- Set to 1 to enable client smartcard redirection.
- enable-usbredir (boolean)
-
Set to 1 to enable client USBdevice redirection.
- enable-usb-autoshare (boolean)
-
Set to 1 to enable client USBdevices auto-sharing.
- usb-filter (string)
-
Set a string specifying a filter to use to determine which USBdevices to autoconnect when plugged in, a filter consists of one or more rules. Where each rule has the form of:
"class,vendor,product,version,allow"
Use -1 for class/vendor/product/version to accept any value.
And the rules themselves are concatenated like this:
"rule1|rule2|rule3"
- secure-channels (string list)
-
The list of session channels to secure.
The current
SPICEchannels are: main, display, inputs, cursor, playback, record, smartcard, usbredir. - delete-this-file (boolean)
- Set to 1 for the client to remove this connection file (if it can't, it will fail silently)
- proxy (string)
-
A proxy URLto tunnel the connection through.
At the time of writing this documentation, the only supported proxy method with Spice is
HTTP CONNECT.For example, to tunnel connection through foobar host
HTTPproxy on port 8080, use the value ``foobar:8080
oVirt Support
The connection file can also carry some oVirt-specific options when oVirt support is compiled in. These options are used to interact with oVirt- host (string, mandatory)
- The oVirt instance to connect to. This corresponds to the hostname one would connect to access the oVirt user or admin portal.
- vm-guid (string, mandatory)
-
GUIDof the oVirt virtual machine to connect to.
- jsessionid (string)
-
Value to set the 'jsessionid' cookie to. With oVirt 3.6, setting this
authentication cookie to a valid value will allow to interact with the oVirt
REST APIwithout being asked for credentials.
- sso-token (string)
-
Value to set the 'Authorization' header to. With oVirt 4.0 or newer, setting
this authentication header to a valid value will allow to interact with the
oVirt REST APIwithout being asked for credentials.
- ca (string)
-
CAcertificate inPEMformat (using ``\n'' to separate the lines). This will be used to validate the certificate used for the oVirtRESThttps session remote-viewer will establish.
CONFIGURATION
A small number of configuration options can be controlled by editing the settings file located in the user configuration directory:
<USER-CONFIG-DIR>/virt-viewer/settings
This file is a text file in
For each guest, the initial fullscreen monitor configuration can be specified by using the monitor-mapping key. This configuration only takes effect when the -f/--full-screen option is specified.
The value of this key is a list of mappings between a guest display and a client monitor. Each mapping is separated by a semicolon character, and the mappings have the format <
For example, to map guest displays 1 and 2 to client monitors 2 and 3 for the guest with a
[e4591275-d9d3-4a44-a18b-ef2fbc8ac3e2] monitor-mapping=1:2;2:3
The monitor-mapping must contain ids of all displays from 1 to the last desired display id, e.g. ``monitor-mapping=3:3'' is invalid because mappings for displays 1 and 2 are not specified.
EXAMPLES
To connect to
remote-viewer spice://makai:5900
To connect to
remote-viewer vnc://tsingy:5900
To connect to a virtual machine named ``toliara'' on an oVirt server at example.org
remote-viewer ovirt://[username@]example.org/toliara