The following options are accepted when running a SPICE client which makes use of the default Spice-GTK
options:
--spice-secure-channels=<main,display,inputs,...,all>
Force the specified channels to be secured
This instructs the SPICE client that it must use a TLS connection for these channels. If the server
only offers non-TLS connections for these channels, the client will not use these. If the special
value "all" is used, this indicates that all SPICE channels must be encrypted.
The current SPICE channels are: main, display, inputs, cursor, playback, record, smartcard, usbredir.
--spice-disable-effects=<wallpaper,font-smooth,animation,all>
Disable guest display effects
This tells the SPICE client that it should attempt to disable some guest features in order to lower
bandwidth usage. This requires guest support, usually through a SPICE agent. This is currently only
supported on Windows guests.
"wallpaper" will disable the guest wallpaper, "font-smooth" will disable font antialiasing,
"animation" will try to disable some of the desktop environment animations. "all" will attempt to
disable everything which can be disabled.
--spice-color-depth=<16,32>
Guest display color depth - DEPRECATED
This tells the SPICE client that it should attempt to force the guest OS color depth. A lower color
depth should lower bandwith usage. This requires guest support, usually through a SPICE agent. This
is currently only supported on Windows 7 and older guests.
--spice-ca-file=<file>
Truststore file for secure connections
This option is used to specify a .crt file containing the CA certificate with which the SPICE server
TLS certificates are signed. This is useful when using self-signed TLS certificates rather than
certificates signed by an official CA.
--spice-host-subject=<host-subject>
Subject of the host certificate (field=value pairs separated by commas)
When using self-signed certificates, or when the guest is migrated between different hosts, the
subject/altSubject of the TLS certificate the SPICE server will provide will not necessarily match
the hostname we are connecting to. This option makes it possible to override the expected subject of
the TLS certificate.
The subject must correspond to the "Subject:" line returned by:
openssl x509 -noout -text -in server-cert.pem
--spice-debug
Enable Spice-GTK debugging. This can also be toggled on with the SPICE_DEBUG environment variable, or
using G_MESSAGES_DEBUG=all
--spice-disable-audio
Disable audio support
--spice-disable-usbredir
Disable USB redirection support
--spice-usbredir-auto-redirect-filter=<filter-string>
Filter selecting USB devices to be auto-redirected when plugged in
This filter specifies which USB devices should be automatically redirected when they are plugged in
during the lifetime of a SPICE session.
A rule has the form of: "class,vendor,product,version,allow"
-1 can be used instead of class, vendor, product or version in order to accept any value. Several
rules can be concatenated with '|': "rule1|rule2|rule3"
--spice-usbredir-redirect-on-connect=<filter-string>
Filter selecting USB devices to redirect on connect
This filter specifies which USB devices should be automatically redirected when a SPICE connection to
a remote display has been established.
--spice-gtk-version
Display Spice-GTK version information
--spice-smartcard
Enable smartcard support
--spice-smartcard-db=<certificate-db>
Path to the local certificate database to use for software smartcard certificates
This option is only useful for testing purpose. Instead of having a hardware smartcard reader, and a
physical smartcard, you can specify a file containing 3 certificates which will be used to emulate a
smartcard in software. See
"http://www.spice-space.org/page/SmartcardUsage#Using_a_software_smartcard" for more details about
how to generate these certificates.
--spice-smartcard-certificates=<certificates>
Certificates to use for software smartcards (field=values separated by commas)
This option is only useful for testing purpose. This allows to specify which certificates from the
certificate database specified with --spice-smartcard-db should be used for smartcard emulation.
--spice-cache-size=<bytes>
Image cache size - DEPRECATED
This option should only be used for testing/debugging.
--spice-glz-window-size=<bytes>
Glz compression history size - DEPRECATED
This option should only be used for testing/debugging.