Choose the desktop model first
TMD 2026.1 supports X11 and Wayland consoles and Linux virtual desktops. You do not need to disable Wayland globally. For a new headless host without a console login, choose a private X11/Xvfb or GNOME Wayland desktop.
A console needs an existing graphical login and active display. A virtual desktop needs the selected desktop packages but no monitor, physical login, or display manager.
Inspect the host
cat /etc/os-release
uname -m
ldd --version
lspci -nnk | grep -A3 -E 'VGA|3D|Display'
Use a compatible package for x86_64 or arm64. Published library baselines are glibc 2.17 and 2.28 respectively; they do not guarantee that a particular Wayland compositor, portal, or GPU runtime exists. Older enterprise distributions can use X11 when the newer Wayland stack is unavailable.
Ubuntu 24.04 baseline
The package recipes in this guide use Ubuntu 24.04 with systemd. Install common runtime and diagnostic packages as an administrator:
sudo apt update
sudo apt install ca-certificates openssh-server pciutils unzip \
libx11-6 libxtst6 libxfixes3 libxrandr2 libxrender1 libxkbcommon0 \
libpam0g libsystemd0 libpulse0 libegl1 libgl1 libvulkan1 \
libgl1-mesa-dri mesa-vulkan-drivers mesa-utils vulkan-tools
Other distributions need their equivalent package names and a supported desktop/driver combination. Resolve ldd missing-library errors before starting the service. On RHEL-family systems, Xvfb is normally provided by xorg-x11-server-Xvfb; desktop repositories and package availability vary by release.
Prepare the desktop owner
Create an ordinary account if it does not exist, or set a password for an existing SSH-key-only account if TMD password authentication is required:
sudo adduser alice
sudo passwd alice
Run the first command only for a new account. Keep system authentication enabled. Separate accounts for different people also separate home directories and reduce conflicts between desktop services. Multiple virtual desktops under one Unix account share that account's files and some resources.
Desktop-specific packages
- X11 virtual: Xvfb, Xauth, a desktop such as Xfce, D-Bus, and the installed
tmd-virtualPAM policy. - Wayland virtual: GNOME Shell/Mutter, Xwayland, PipeWire, D-Bus, an EGL implementation, and the PAM policy.
- X11 console: an existing Xorg login and active output; add a display manager only when preparing a new console.
- Wayland console: a compatible portal backend, PipeWire, input authorization, and an existing login.
Use the dedicated procedure for the package commands and configuration. Do not install a dummy Xorg configuration over a working GPU desktop.
GPU and audio
A GPU is optional for Xvfb virtual desktops and software consoles. Hardware rendering, capture, and encoding have separate requirements. Follow NVIDIA and AMD graphics if applicable. Console audio needs a working user PulseAudio server or PipeWire PulseAudio compatibility service; virtual-session audio is disabled in this release.