Table of Contents
VirtBench
A desktop program for looking after virtual machines, containers and backups on Proxmox VE, Proxmox Backup Server and libvirt (KVM/QEMU), from one window. For Linux and Windows.
Not released yet. Version 0.1.0 is a test build; the download page will follow once it has been tried on a real Windows computer.
Version history: changelog.
Installing
- Debian 13, Ubuntu 25.04 and newer:
sudo apt install ./virtbench_0.1.0_amd64.deb - Windows 10, 11 and Server: run the installer. It asks whether to install just for you or for everyone on the computer. There is also a zip to unpack and run.
- Other distributions: build the source; README.md says how. It needs Rust, CMake and Qt 6.5 or newer.
The window is virtbench; the command line is virtbench-cli. GPL version 3 or later; icons Fugue by Yusuke Kamiyamane (CC BY 3.0).
A first connection
- File, Add Connection. Choose the kind of server and type its address.
- Proxmox VE and Backup Server: the user is
root@pamwith its password, or better an API token, writtenuser@realm!tokenname, with the token's secret as the password. Make one on the server under Datacenter, Permissions, API Tokens. The role PVEAuditor is enough to look. - Get Fingerprint shows the server's certificate fingerprint. Compare it with the one on the server (Proxmox: the host, System, Certificates), tick the box, and save.
- libvirt on this computer needs nothing more. On another computer VirtBench runs
sshwith your own key or agent, sossh thathostmust work without a password first. It checks the host's SSH key fingerprint the same way. - Double-click the connection to sign in.
To try VirtBench without a server, choose the kind Practice cluster.
A new connection can only look. To change things, select it and choose Allow Changes; the same button takes it back. The secret goes to the desktop keyring (Linux; the package libsecret-tools provides the tool) or Credential Manager (Windows), never into VirtBench's files.
Using it
- The tree on the left lists connections, hosts, guests and storage. Find: Ctrl+F, then a name, number, state or tag.
- Open a page: double-click a guest, host or storage, or press Enter. Pin, show beside the others, own window: View menu, or right-click the tab. Open pages come back next time.
- Favourites and groups: right-click a guest. They are your own order, kept on this computer; nothing on the server moves.
- Power: the toolbar or the Guest menu. Shut Down asks the guest; Stop (Force) switches it off and asks you first. With several guests selected, a list of what will happen to each is shown before anything is done.
- New guest: Guest, New Guest. Change settings, disks, CD: the guest's Settings and Disks pages. A change the server will only apply at the next start is listed as waiting.
- Clone, make a template, delete: Guest menu. Delete says what will be lost and asks.
- Snapshots: the guest's Snapshots page: take, go back, delete.
- Console: the guest's Console page. Ctrl+Alt+Del and Type Clipboard Text are on its toolbar. On a connection that can only look, the console is view-only.
- Backups: the guest's Backups page, or the Backups tab for everything on a connection. Restore always makes a new guest with a number you choose.
- Metrics: the Metrics page of a guest, host or storage. Choose how far back; Show as Table; Save as CSV. Left and right arrows step through a chart's readings. A break in a line is a time with no reading.
- Alerts: the Alerts panel at the bottom. Alert Levels chooses what raises one. Mark as Seen keeps it listed without asking for attention; it leaves the list when the trouble is over. View, Notify Me of Alerts turns desktop notifications on or off.
- Reports: File, Report. Save As gives a web page, PDF, CSV or JSON.
- Copy: Ctrl+C or Ctrl+Insert copies the selected rows of any table; right-click works too.
- Theme: View, Theme.
An action that cannot be used stays visible, greyed, and its tip says why.
The command line
virtbench-cli uses the same saved connections and the same rules. Anything that loses data wants --yes.
virtbench-cli connections list virtbench-cli guests home virtbench-cli power home 101 start virtbench-cli backups home create 101 --to STORE virtbench-cli history home guest 101 --range week virtbench-cli report home backups --format html --to backups.html virtbench-cli watch home # keep reading; print alerts as they come and go virtbench-cli watch home --once # one reading, for a timetable such as cron
virtbench-cli help lists everything. -o json gives output for scripts. For scripts the secret can be given in the environment as VIRTBENCH_SECRET_<NAME>.
Where things are kept
| Linux | Windows | |
|---|---|---|
| Connections | ~/.config/virtbench | %APPDATA%\virtbench |
| Record of changes, readings and alerts | ~/.local/share/virtbench | %APPDATA%\virtbench |
| Secrets | desktop keyring | Credential Manager, VirtBench:name |
Removing the program leaves these alone.
Not done or not tested
- First release. Tested against one Proxmox VE 9 server, one Proxmox Backup Server and libvirt on one computer; not on a cluster of several real hosts, Proxmox VE 8 or Ceph.
- The Windows version has been tested under Wine only.
- No moving a guest to another host, firewall rules, users and permissions, replication or high availability.
- Alerts are noticed only while VirtBench is open or
virtbench-cli watchruns; none are sent by email. - libvirt: virtual machines only, no backups; history is what VirtBench wrote down itself.
- Console: VNC only; no SPICE, sound or full screen.
VirtBench is an independent program, not made or endorsed by Proxmox Server Solutions GmbH or the libvirt project.
