Forrest logo
tool overview
On this page you find all important commands for the CLI tool virt-viewer. If the command you are looking for is missing please ask our AI.

virt-viewer

Virt-viewer is a command line tool used to display and interact with virtual machines running on the Linux operating system. It allows users to remotely access and control virtual machines through a graphical user interface (GUI) using the SPICE protocol. Virt-viewer is part of the libvirt project, which is a collection of software that provides a unified API for managing various virtualization technologies. By using virt-viewer, users can connect to virtual machines running on both local and remote hosts, providing a seamless experience for managing and monitoring multiple virtual machines. The tool offers various features, including the ability to view and interact with the console of a virtual machine, access file transfer capabilities, and adjust display settings. It supports multiple display protocols such as SPICE, VNC, and RDP, making it compatible with different virtualization platforms. Virt-viewer is a powerful tool for system administrators and developers who work with virtual machines, providing them with essential capabilities to manage and troubleshoot virtualized environments efficiently.

List of commands for virt-viewer:

  • virt-viewer:tldr:12dff virt-viewer: Launch `virt-viewer` with a prompt to select running virtual machines.
    $ virt-viewer
    try on your machine
    explain this command
  • virt-viewer:tldr:356e6 virt-viewer: Connect to a specific remote virtual machine over TLS.
    $ virt-viewer --connect "xen//${url}" "${domain}"
    try on your machine
    explain this command
  • virt-viewer:tldr:37043 virt-viewer: Launch `virt-viewer` for a specific virtual machine by ID, UUID or name.
    $ virt-viewer "${domain}"
    try on your machine
    explain this command
  • virt-viewer:tldr:7d2a6 virt-viewer: Wait for a virtual machine to start and automatically reconnect if it shutdown and restarts.
    $ virt-viewer --reconnect --wait "${domain}"
    try on your machine
    explain this command
  • virt-viewer:tldr:e2012 virt-viewer: Connect to a specific remote virtual machine over SSH.
    $ virt-viewer --connect "qemu+ssh//${username}@${url}/system" "${domain}"
    try on your machine
    explain this command
tool overview