Difference between revisions of "Virt-viewer"

From wikieduonline
Jump to navigation Jump to search
Tags: Mobile web edit, Mobile edit
 
(19 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{Draft}}
+
<code>[[virt-viewer]]</code> from <code>[[virt-viewer]]</code> package
 +
* Man page: https://linux.die.net/man/1/virt-viewer
  
 +
== Examples ==
 +
* <code>virt-viewer [[--connect]] qemu:///system 7</code>
  
https://www.berrange.com/posts/2018/07/27/announce-virt-viewer-7-0-release/
 
  
 +
virt-viewer spice://127.0.0.1:5900
 +
Unable to init server: Could not connect: Connection refused
 +
 +
(virt-viewer:20063): Gtk-WARNING **: 15:02:39.279: [[cannot open display]]:
  
 +
== Help ==
 +
<pre>
 +
virt-viewer  --help
 +
Usage:
 +
  virt-viewer [OPTION…] -- ID|UUID|DOMAIN-NAME
 +
 +
Virtual machine graphical console
 +
 +
Help Options:
 +
  -h, --help                                                              Show help options
 +
  --help-all                                                              Show all help options
 +
  --help-gtk                                                              Show GTK+ Options
 +
  --help-gtk-vnc                                                          Show GTK-VNC Options
 +
  --help-spice                                                            Show Spice Options
 +
 +
Application Options:
 +
  -V, --version                                                            Display version information
 +
  -z, --zoom=ZOOM                                                          Zoom level of window, in percentage
 +
  -f, --full-screen                                                        Open in full screen mode (adjusts guest resolution to fit the client)
 +
  -H, --hotkeys                                                            Customise hotkeys
 +
  -k, --kiosk                                                              Enable kiosk mode
 +
  --kiosk-quit=<never|on-disconnect>                                      Quit on given condition in kiosk mode
 +
  -v, --verbose                                                            Display verbose information
 +
  --debug                                                                  Display debugging information
 +
  -d, --direct                                                            Direct connection with no automatic tunnels
 +
  -a, --attach                                                            Attach to the local display using libvirt
 +
  -c, --connect=URI                                                        Connect to hypervisor
 +
  -w, --wait                                                              Wait for domain to start
 +
  -r, --reconnect                                                          Reconnect to domain upon restart
 +
  --domain-name                                                            Select the virtual machine only by its name
 +
  --id                                                                    Select the virtual machine only by its id
 +
  --uuid                                                                  Select the virtual machine only by its uuid
 +
  --display=DISPLAY                                                        X display to use
 +
</pre>
 +
 +
 +
== Examples ==
 +
virt-viewer
 +
Unable to init server: Could not connect: Connection refused
 +
(virt-viewer:15541): Gtk-WARNING **: 12:36:51.104: cannot open display:
 +
 +
 +
 +
== Virt-viewer releases ==
 +
* 9.0 May 2020 https://www.berrange.com/posts/2020/05/01/announce-virt-viewer-version-9-0-released/
 +
** Allow toggling shared clipboard in remote-viewer
 +
** [[Bash completion]] of cli args
 +
* 7.0 Jul 2018 https://www.berrange.com/posts/2018/07/27/announce-virt-viewer-7-0-release/
 +
 +
== Related terms ==
 +
* <code>[[virt-top]]</code>
 +
* <code>[[virt-manager]]</code>
 +
* <code>[[remote-viewer]]</code>
 +
* [[Daniel P. Berrangé]]
  
 
== See also ==
 
== See also ==
 +
* {{virsh connectivity}}
 +
* {{virt}}
 
* {{KVM}}
 
* {{KVM}}
  
  
 
[[Category:KVM]]
 
[[Category:KVM]]

Latest revision as of 11:03, 7 April 2021

virt-viewer from virt-viewer package

Examples[edit]


virt-viewer spice://127.0.0.1:5900
Unable to init server: Could not connect: Connection refused

(virt-viewer:20063): Gtk-WARNING **: 15:02:39.279: cannot open display:

Help[edit]

virt-viewer  --help
Usage:
  virt-viewer [OPTION…] -- ID|UUID|DOMAIN-NAME

Virtual machine graphical console

Help Options:
  -h, --help                                                               Show help options
  --help-all                                                               Show all help options
  --help-gtk                                                               Show GTK+ Options
  --help-gtk-vnc                                                           Show GTK-VNC Options
  --help-spice                                                             Show Spice Options

Application Options:
  -V, --version                                                            Display version information
  -z, --zoom=ZOOM                                                          Zoom level of window, in percentage
  -f, --full-screen                                                        Open in full screen mode (adjusts guest resolution to fit the client)
  -H, --hotkeys                                                            Customise hotkeys
  -k, --kiosk                                                              Enable kiosk mode
  --kiosk-quit=<never|on-disconnect>                                       Quit on given condition in kiosk mode
  -v, --verbose                                                            Display verbose information
  --debug                                                                  Display debugging information
  -d, --direct                                                             Direct connection with no automatic tunnels
  -a, --attach                                                             Attach to the local display using libvirt
  -c, --connect=URI                                                        Connect to hypervisor
  -w, --wait                                                               Wait for domain to start
  -r, --reconnect                                                          Reconnect to domain upon restart
  --domain-name                                                            Select the virtual machine only by its name
  --id                                                                     Select the virtual machine only by its id
  --uuid                                                                   Select the virtual machine only by its uuid
  --display=DISPLAY                                                        X display to use


Examples[edit]

virt-viewer
Unable to init server: Could not connect: Connection refused
(virt-viewer:15541): Gtk-WARNING **: 12:36:51.104: cannot open display:


Virt-viewer releases[edit]

Related terms[edit]

See also[edit]

Advertising: