1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-06-08 04:26:00 +02:00
tldr/pages/linux/virt-viewer.md
Pranaov S bafdb59eaa
*: follow style guide for see also section (#16793)
Co-authored-by: Lena <126529524+acuteenvy@users.noreply.github.com>
Co-authored-by: Managor <42655600+Managor@users.noreply.github.com>
2025-06-07 17:47:18 +03:00

801 B

virt-viewer

Minimal graphical interface for a virtual machine (VM). Note: 'domain' refers to the name, UUID or ID for the existing VMs. See also: virsh. More information: https://manned.org/virt-viewer.

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

virt-viewer

  • Launch virt-viewer for a specific virtual machine by ID, UUID or name:

virt-viewer "{{domain}}"

  • Wait for a virtual machine to start and automatically reconnect if it shutdown and restarts:

virt-viewer --reconnect --wait "{{domain}}"

  • Connect to a specific remote virtual machine over TLS:

virt-viewer --connect "xen//{{url}}" "{{domain}}"

  • Connect to a specific remote virtual machine over SSH:

virt-viewer --connect "qemu+ssh//{{username}}@{{url}}/system" "{{domain}}"