LinuxCommandLibrary

virt-viewer

Minimal graphical interface for a virtual machine (VM).

TLDR

Launch virt-viewer with a prompt to select running virtual machines

$ virt-viewer
copy


Launch virt-viewer for a specific virtual machine by ID, UUID or name
$ virt-viewer "[domain]"
copy


Wait for a virtual machine to start and automatically reconnect if it shutdown and restarts
$ virt-viewer --reconnect --wait "[domain]"
copy


Connect to a specific remote virtual machine over TLS
$ virt-viewer --connect "xen//[url]" "[domain]"
copy


Connect to a specific remote virtual machine over SSH
$ virt-viewer --connect "qemu+ssh//[username]@[url]/system" "[domain]"
copy

Copied to clipboard