TRINITY logoTRINITYVDI

TRINITY VDI / Documentation / 16. VDI images and pools

16. TRINITY VDI: images, pools and users

Build Linux and Windows master images on Proxmox VE, create VDI pools and entitlements, user profiles, accelerated display over UDP and user sign-in.

Download the packages
Documentation pages

TRINITY VDI gives users Linux and Windows desktops and apps from Proxmox VE (or Hyper-V). The servers are already in place: connection servers (chapter 9), recording servers (chapter 8) and gateways (chapter 10). What follows builds the desktops.

Step What
16.1 Proxmox token
16.2 / 16.3 Linux and Windows master images
16.4 Pool and entitlement
16.5 – 16.7 Profiles, accelerated display, users

16.1 Proxmox token for VDI

On any Proxmox node (Proxmox VE 9; on 8 use VM.Monitor instead of the three VM.GuestAgent rights):

pveum user add trinity-vdi@pve --comment "TRINITY VDI"
pveum role add TRINITY-VDI -privs "VM.Clone,VM.Allocate,VM.Audit,VM.Config.CPU,VM.Config.Memory,VM.Config.Network,VM.Config.Options,VM.Config.HWType,VM.Config.Disk,VM.Config.Cloudinit,VM.PowerMgmt,VM.Snapshot,VM.Snapshot.Rollback,Datastore.AllocateSpace,Datastore.Audit,SDN.Use,Sys.Audit,VM.GuestAgent.Audit,VM.GuestAgent.FileRead,VM.GuestAgent.FileWrite"
pveum user token add trinity-vdi@pve vdi --privsep 1
for p in /vms /storage/local-lvm /sdn/zones/localnetwork /nodes; do
  pveum acl modify $p --tokens 'trinity-vdi@pve!vdi' --roles TRINITY-VDI
done

Use your VM storage name instead of local-lvm; for NVIDIA vGPU add Mapping.Use,Mapping.Audit and /mapping/pci. Add a Proxmox VE entry with this token, then Trinity VDI > VDI portal settings > Check token rights until everything is OK.

16.2 Linux master image

  1. In Proxmox, create the VM: q35, OVMF with an EFI disk, VirtIO SCSI single, QEMU agent on, 4 cores (type host), 8 GB, 40 GB, VirtIO network, a CloudInit drive.
  2. Install Ubuntu Server 26.04 (chapter 2.2 to 2.4).
  3. In the portal: Trinity VDI > VDI master images > New; save the image's enrolment token on the VM as /root/np-enrol.token.
  4. Run the kit:
curl -fsSL https://trinity.corp.example.com/agent.ashx?action=np-vdi-linux -o kit.sh
sudo bash kit.sh --desktop xfce --max-sessions 10 --domain corp.example.com \
     --ou 'OU=VDI,DC=corp,DC=example,DC=com' --join-user svc-vdijoin \
     --np-portal https://trinity.corp.example.com --np-token-file /root/np-enrol.token \
     --np-image Ubuntu-Office --np-version 2026-12
sudo bash kit.sh --check
  1. Install the applications, then seal and convert:
sudo bash kit.sh --seal          # last step, then shut down
qm template <vmid>               # on the Proxmox node

Desktops: xfce (lightest), cinnamon, kde; GNOME on Ubuntu 26.04 needs --wayland. Add --accel on for the accelerated display (16.6), --nvidia-driver <file> --nvidia-token <file> for NVIDIA vGPU.

16.3 Windows master image

  1. Create the VM: q35, OVMF with an EFI disk and TPM 2.0, VirtIO SCSI and network (virtio-win drivers and guest agent), QEMU agent on. Install Windows Server 2025 (RDSH, multi-session) or Windows 11 (one user per desktop).
  2. In an elevated PowerShell:
Invoke-WebRequest 'https://trinity.corp.example.com/agent.ashx?action=np-vdi-windows' -OutFile Install-TrinityVdiWindows.ps1
.\Install-TrinityVdiWindows.ps1 -Role Rdsh -LicensingMode PerUser -LicenseServer lic01.corp.example.com `
   -NpPortal https://trinity.corp.example.com -NpTokenFile C:\Temp\np-enrol.token -NpImage WS2025-RDSH -NpVersion 2026-12

Windows 11: -Role Single (add -Accel for the accelerated display). Restart when it finishes.

  1. Install the applications (for an app pool, each app's id is its RemoteApp alias), then seal:
.\Install-TrinityVdiWindows.ps1 -Seal -Domain corp.example.com -OU 'OU=VDI,DC=corp,DC=example,DC=com'

Sysprep shuts the VM down; run qm template <vmid> on the Proxmox node. RDS needs your RDS CALs and licence server; Windows 11 needs Windows VDA or Microsoft 365 rights.

16.4 First pool and entitlement

  1. Trinity VDI > VDI master images > New: platform Proxmox template, Pick Proxmox template, the version.
  2. Trinity VDI > VDI pools > New pool: name, desktop or app, OS, sessions per host; capacity (minimum, maximum, spare hosts); Proxmox placement (entry, nodes, storage, bridge, VLAN); image, cores and RAM; graphics; lifecycle; domain join; redirection. Save: within a minute the engine clones the first hosts. Watch them in VDI hosts go from provisioning to ready.
  3. Trinity VDI > VDI entitlements > New: the AD group (e.g. GG-VDI-Office), the pool or its apps, keep TOTP required. Effective entitlements shows what a test user will see.
  4. A new image version: update the master image, then Publish new version on the pool; hosts are replaced one by one as their sessions end.

16.5 User profiles

Trinity VDI > VDI pools > (pool) > Edit > User profiles:

Setting Linux pools Windows pools
Mode Folder (<path>/<user> as the home, mounted with the user's Kerberos ticket) or Container (<path>/<user>/Profile_<user>.img) Profile disk (<path>\<user>\Profile_<user>.vhdx, attached before the logon)
Path \\server\share\folder or server:/export/folder \\server\share\folder
Per AD group rows group → path, the first match wins same
Size GB, default 30 GB, default 30

Share rights: for disks and containers, the AD group of the VDI computer accounts gets Modify on the root (this folder only) and Full control on subfolders and files. For Linux folder mode users need Create folders on the root and Full control of their own folder; NFS exports use sec=krb5. Desktops must be joined to AD. Try one pool first.

16.6 Accelerated display

Per pool: Display protocol: Accelerated, with the bit rate (default 8000 kbit/s), frames per second (30) and codec (H.264, else VP8). Picture and sound go over UDP next to the RDP session; without UDP the session falls back to the standard picture by itself.

Needed Where
One user per desktop single-session pools
Display agent in the image Linux kit --accel on; Windows kit -Accel
TCP 3392 from the connection servers to the desktops internal firewall
UDP 50000–50099 from the desktops; UDP 443 from users to the gateway firewalls

16.7 Users sign in

Users open https://vdi.example.com and sign in with their AD account. At the first sign-in they scan the QR code with an authenticator app and keep the recovery codes; later they can add a passkey (Windows Hello, Touch ID, a phone or a FIDO2 key) from the user menu. A lost phone is reset by an L4 admin under Trinity VDI > VDI portal users. Every session is recorded unless the pool's recording was switched off with a second admin's approval.

Names, addresses and accounts in the examples (corp.example.com, 10.0.x.x, CORP\…) are examples: use your own. TRINITY 1.2.1, December 2026.