Skip to content

About

Standalone Linux XCP-ng management client with GPUI Kit and a Rust backend connecting directly to XAPI.

Topics

Resources

Stars

1 star

Watchers

0 watching

Forks

Repository files navigation

XenAdmin RS

A Linux desktop client for direct management of XCP-ng hosts and pools. The interface is built with GPUI Kit. The backend uses Rust and XAPI.

The client must work when Xen Orchestra is unavailable. Connections, credentials, inventory, VM consoles, and host discovery must work without an XO service. The client requires a reachable XAPI service and the user's host permissions.

XenAdmin RS connected to a two-host XCP-ng pool: the pool, its servers and guests in the navigation tree, and the General tab of the selected guest

A pool the client is connected to directly: the pool, its two servers and their guests in the tree, the tabs of the selected guest, and its General tab. The menu bar and the toolbar offer the commands that apply to the selection.

The Console tab of a guest, showing the guest's text console after a login

A guest's console, opened through the host that runs the guest. Keyboard and pointer go to the guest, and text on the clipboard can be typed into it as key presses.

The Performance tab of a guest, with a CPU chart of the last ten minutes

A guest's performance, read from its host every five seconds, with longer ranges and a choice of data sources.

The pictures are headless frames, not photographs of a window: on 2026-11-19 the client's interface was run without a display against the project's disposable lab, a pool of two nested XCP-ng 8.3 hosts, and these are frames its renderer drew off screen during those runs (report). They are of the development tree after the front end moved to GPUI Kit, which no person has yet used in a window ("Project status" says where it has run).

Project status

Beta. Version 0.21.0 is the current release, published as a pre-release on 2026-11-27 (packages, changelog), for XCP-ng 8.3 with the client running as a Wayland application. Its supported part is connections and certificate trust, the live inventory, VM power, the console, snapshots, performance charts, activity, host maintenance and moving a VM within its pool. Everything else below is experimental: implemented, in most cases with one recorded successful run, and marked with a notice in the client. The feature scope draws that line. The Cargo workspace builds the desktop application, a read-only host probe and a small sandbox helper. No Xen Orchestra service is used.

0.21.0 differs from 0.19.0 in its whole front end. The versions up to 0.19.0 were built with the Rune toolkit; 0.21.0 and the main branch are built with GPUI Kit, with a new layout (a menu bar and toolbar, navigation views, tabs per object, Properties dialogs and wizards), by the migration plan, whose "Status" section says what is established. In short: every area of the old interface is ported; the model's tests, the interface's tests on the toolkit's headless test platform and a render of every scene pass; on 2026-11-19 the new interface was driven headless (without a window) against the lab through the supported areas, their successful paths (report) and their refusals, interruptions and recoveries (report); and on the same day the packages CI built from the branch were run in windows for the first time, in virtual machines with software rendering and nobody at them: installed on clean Ubuntu 24.04 and Arch systems (report), and driven in a Wayland session (sway) with keys and pointer injected at the machine's devices, where the client connected to the lab, passed the recovery gate below and typed into consoles through its Wayland keyboard path (report). On 2026-11-21 the operator ran a local build and reported that it looks good; that run names no commit, compositor, renderer, host or scenario. Still unrecorded: a hardware GPU, Hyprland, GNOME, KDE, and a console on X11. A keyring restore was recorded headless on 2026-11-21 (report). Screen readers will not be supported. The fixes those runs led to are in a CI package of the branch only (commit 3493640), whose AppImage was run in the same virtual machine on 2026-11-20, without the recovery gate (report). The qualification described in the rest of this section was obtained with the released versions, through the Rune interface or through the core's own lab scenarios.

Implemented scope, as reviewed operations with durable partial and unknown outcomes: saved and concurrent connections with certificate trust, credentials and endpoint failover; event-driven inventory; VM power, properties, devices, consoles, snapshots, checkpoints and schedules; VM creation from templates, cloning and deletion; storage and network lifecycle including local, NFS, iSCSI and CHAP repositories, ISO libraries, VLANs, bonds, multipathing and management addressing; import, export, conversion and same- or cross-pool migration; host and pool administration including maintenance, HA, pool join and dissolution, security and host backups; metrics, tasks and alerts; organization, saved searches, tags, folders, vApps and bulk actions; a portable archive and an AppImage. The retained parity ledger tracks all 202 retained rows and is the completion authority; an implemented row is not a qualified workflow until its live, failure and interruption paths are recorded.

Verification so far. The offline suite (core, protocol and TLS fixtures, the interface's model and its headless window tests, and a render of every scene) runs in CI. Live qualification runs against a disposable nested XCP-ng 8.3.0 lab: the live qualification report records a hundred and eleven scenarios, including three driven desktop sessions, the last with the packaged AppImage, and the operator's sessions on a real seat (all of them with the Rune interface of the released versions), covering connections and recovery, power and consoles, snapshots and checkpoints, devices, storage and networking, shared NFS and iSCSI repositories with HA, live migration and evacuation, host maintenance, reboots and power cycles, coordinator handover and endpoint failover, together with sixty-six numbered findings and observations: host behaviours the client now handles, host observations, client fixes and four product decisions, since settled. Per-row results are in lab/ACCEPTANCE.md, and the verification traceability report maps the core verification scenarios to their evidence.

Known limits of this release are listed in the changelog: the failure and interruption paths of the experimental areas are mostly unrecorded, only XCP-ng 8.3.0 has been exercised, clipboard exchange with a guest is experimental, and screen readers are not supported. The implementation plan records how the supported part was qualified and what comes next.

Run it

cargo build --locked --workspace
./target/debug/xenadmin-rs

Explore the interface using synthetic inventory:

./target/debug/xenadmin-rs --demo

Use Add Server… (toolbar, Server menu, or the Home tab) to enter a host endpoint and session-only credentials. Self-signed installations can use independently verified, endpoint-specific certificate fingerprints, under Certificate options. The window is at least 800 by 600; below 1100 wide the navigation pane is behind its toggle. The demo cannot issue host actions.

The running guide covers Linux dependencies, certificate trust, the host probe, local state, checks, and packaging. ./scripts/check.sh runs the local checks; ./scripts/package.sh builds a release archive under artifacts/. The installation guide covers the portable archive, the AppImage, the optional installer and removal.

Start here

The recovery release acceptance gate is to locate, start, and use the console of an XO VM with XO unreachable. It was recorded on the disposable lab on 2026-11-11 with the Xen Orchestra appliance imported through the client and managing the pool: XO shut down and unreachable, the VM located, started and consoled through the direct host connection, and XO answering again afterwards. It was run through the core facade and then through the packaged 0.17.0 AppImage started on an empty state directory, with keyboard input in the appliance's console and the client's connections observed going to the two pool hosts only. That AppImage carried the Rune interface. With the GPUI front end the gate was repeated once, on 2026-11-19, with the AppImage CI built from the branch at commit e808a2f, started on an empty state directory in a virtual machine: a Wayland session with software rendering, every key and pointer press injected at the machine's devices by a script, nobody at it. Xen Orchestra was shut down and unreachable; the VM was found with the search box, started, and typed into at its login prompt; the client's connections went to the pool's coordinator only; XO answered again afterwards (report, section E). It has not been repeated by a person at a desk, nor on the draft packages of tag v0.20.0, nor on the published packages of 0.21.0, nor with the package CI built of the merged tree on 2026-11-20 (gates G3 and G5 of the migration plan).

Release history

0.18.0 was the first published version and 0.19.0 is the second, both betas, with their packages on the project's releases page and their notes in the changelog. 0.20.0 is tagged and its archive and AppImage are on a draft pre-release. That draft is not published, and the recovery gate has not been run on those packages. 0.21.0 is the third published version, tag v0.21.0 at commit 38211e1, published as a pre-release on 2026-11-27. It holds everything of 0.20.0 and what was merged after that tag. Its packages were built by the tag's workflow (run 45953044325), which repeated the repository's checks on the tagged commit. Before publication both packages were downloaded from the draft and matched their checksum files, and the archive's client answered --version with xenadmin-rs 0.21.0. Nothing else was done with them: they were not installed on a clean system, no window was opened, and the recovery gate has not been run on them.

Package SHA-256
xenadmin-rs-0.21.0-linux-x86_64.tar.gz (47,075,308 bytes) 40660eecf6f3f335fdce33793875e4aa8081f747f14f2ff6f27f374fd6db66f5
xenadmin-rs-0.21.0-linux-x86_64.AppImage (47,708,664 bytes) 984432dc08b4c369b9819a75be57e37b0a816a71b206a74b754a0dec6a004b48

The versions before them were development checkpoints that froze source locally and recorded their verification:

The per-increment reports under docs/reports/ are linked from the ledger rows they verify.

Development

The workspace pins Rust 1.99.1 and gpui-kit at exactly 0.9.1 (which brings the GPUI crates gpui-pre 0.3.12); Cargo.lock pins the dependency graph and sources lists the reviewed versions. xenadmin-core owns protocol and operation behavior without any UI toolkit. xenadmin-ui is the model of the interface, also without a toolkit: selection, tabs, the command table, editors, reviews and scenes, described as plain data. xenadmin-desktop is the GPUI Kit front end: it draws what the model describes, shows console frames and charts, and builds the client xenadmin-rs and the headless scene tool xenadmin-scenes. xenadmin-xapi holds the generated XAPI record views, enumerations and catalogue. xenadmin-process is the post-fork helper for the offline image sandbox. host-probe consumes the same core through its public facade.

The project uses the MIT license for original work, with one exception: crates/xenadmin-xapi, the XAPI bindings generated from the upstream API description, is under the LGPL 2.1 with a linking exception, as its LICENSE and NOTICE say. Binary archives include that crate's licence and notice with the supplied dependency notices. This is an independent project, not an official XCP-ng or Vates application.

Use ./scripts/dev.sh to enable private local inspection of the running desktop, and ./scripts/inspect.sh to query it. See development diagnostics, which also covers the scene tool and the interface's tests. The released versions up to 0.19.0 were built with the Rune toolkit; the migration plan and its ledger record the move and what became of every command, scene and test.

About

Standalone Linux XCP-ng management client with GPUI Kit and a Rust backend connecting directly to XAPI.

Topics

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages