Installation Overview
Welcome to the Steam Headless installation guide. Steam Headless turns your Linux machine or home server into a cloud gaming appliance, providing desktop access via browser-based WebRTC (SHUI) and Moonlight GameStream (Sunshine).
Key Concepts Before You Begin
To understand how Steam Headless works, familiarise yourself with these core concepts:
- The Host: The physical computer, server, or NAS running Linux and Docker. The host provides the Linux kernel, physical GPU driver, and hardware device nodes. You do not need to install KDE, Steam, PipeWire, or gaming packages on the host.
- The Container: The isolated Steam Headless Docker container. Inside each container is a self-contained Fedora 44 environment running its own virtual Wayland desktop, audio server, and Steam instance. You can run multiple containers concurrently on the same host if your hardware permits.
- The Client: The device you sit in front of to play games. This can be a laptop, desktop, smartphone, tablet, smart TV, or handheld console (such as a Steam Deck) running a standard web browser or the Moonlight streaming client.
The 3-Step Installation Journey
Setting up Steam Headless involves three sequential stages:
- Host Preparation: Prepare the host operating system by installing Docker Engine 28 or higher, tuning kernel inotify limits, and verifying GPU drivers.
- Deployment & Networking: Choose how to run the container (Docker Compose,
docker run, or an Unraid template) and assign network connectivity (such as host networking or a dedicated local IP address via macvlan). - Configuration & Sizing: Pass your GPU render node into the container, map persistent game libraries, configure user storage, and complete first-run browser enrolment.
Host Operating System Compatibility
Steam Headless requires modern Linux kernel facilities, including unified control groups v2, unprivileged user namespaces, and the pidfd_getfd system call.
| Host Platform | Status | Baseline Qualified Version | Notes |
|---|---|---|---|
| Fedora Server | Supported (Reference) | Fedora Server 44 (x86_64) | Official development reference platform. SELinux enforcing mode is fully supported out of the box. |
| Unraid | Supported | Unraid 7.0+ | Fully supported with dedicated development appliances. Deploys using Community Applications templates. |
| TrueNAS SCALE | Supported | TrueNAS SCALE 24+ | Fully supported with dedicated development appliances. Deploys via Docker Compose using DockHand or Portainer. |
| Debian Server | Candidate | Debian Server 12 (Bookworm) / 13 (Trixie) | Requires non-free firmware for GPU drivers; the container uses apparmor=unconfined while host AppArmor stays enabled. |
| Ubuntu Server | Candidate | Ubuntu Server 22.04 LTS or newer LTS | Kernel and syscall floor met. Host AppArmor stays enabled; the container uses apparmor=unconfined. |
| Other Linux Distributions | Community | Linux Kernel ≥ 5.6 | Supported if unified cgroup v2, Docker 28+, and required kernel facilities are provided. |
| Windows / macOS Hosts | Unsupported | - | Cannot run Steam Headless. The container architecture requires direct access to native Linux kernel subsystems (DRM render nodes, cgroups v2, uinput, and FUSE). |
- Supported platforms (Fedora Server as the development reference, along with Unraid and TrueNAS SCALE) have dedicated physical hardware and active development/test appliances.
- Candidate platforms satisfy all theoretical and architectural requirements (Linux ≥ 5.6, unified cgroup v2, Docker Engine 28+). Instructions are provided from community experience, but the development team does not maintain dedicated testing appliances to verify bug reports on them.
Hardware Requirements
Resource demand depends on the games you run, the target streaming resolution, and whether you run multiple concurrent containers. The following specifications represent tested production baselines.
Minimum & Recommended Specifications
| Component | Minimum Specification (1 Stream) | Recommended Specification (Multi-Stream) |
|---|---|---|
| Architecture | 64-bit x86_64 (amd64) | 64-bit x86_64 (amd64) |
| Processor (CPU) | 4 physical cores (e.g. Intel Core i7-6770HQ or AMD Ryzen 3) | 8+ physical cores (e.g. AMD Ryzen 7 / Intel Core i7 12th Gen+) |
| System Memory (RAM) | 16 GB DDR4/DDR5 (with active swap) | 32 GB+ DDR4/DDR5 |
| Graphics (GPU) | Dedicated hardware encoder (Intel VA-API, AMD VA-API, or NVIDIA NVENC) | Modern mid-range GPU with multi-session NVENC or AMD VCN encoding |
| Storage | 100 GB SSD (SATA or NVMe) | 1 TB+ NVMe SSD (dedicated gaming pool) |
| Network | Gigabit Ethernet (1 Gbps wired LAN) | Gigabit or 2.5 Gbps wired LAN (Wi-Fi is not supported for the host) |
CPU Sizing
Steam Headless container services (KWin compositor, PipeWire audio pipeline, and media capture) consume approximately 10–15% of a 4-core CPU at 1080p60 before a game is launched. A baseline of 4 physical CPU cores per active 1080p stream is recommended to guarantee smooth frame pacing and audio delivery in modern titles.
Memory Sizing
An idle desktop session consumes approximately 1.3–1.6 GB of RAM. The remaining memory is allocated to Proton prefixes, game binaries, and graphics caches. While an 8 GB single-container machine may run lightweight 2D titles, a 16 GB host baseline is strongly recommended to prevent the Linux Out-Of-Memory (OOM) killer from terminating running sessions. Ensure swap space (8 GB minimum) is configured on the host.
Storage Considerations
Steam Headless stores persistent data across four distinct mounts:
- Container Home (
/home/steamheadless): Houses the desktop profile, Flatpak applications, Steam client data, and Proton compatibility prefixes. - Appliance State (
/var/lib/steam-headless): Stores root-owned runtime certificates, WebRTC credentials, and SHUI system tokens. - System Journal (
/var/log/journal): Stores up to seven days of system and service logs across container recreation. - Game Library (
/mnt/games): Holds your downloaded Steam libraries and game assets.
GPU & Hardware Video Encoding
A physical GPU with hardware video encoding is mandatory. Steam Headless explicitly rejects software encoding (llvmpipe / libx264) for production sessions because CPU-based encoding cannot sustain low-latency 60 fps delivery under gaming loads.
- Intel: 6th Generation Core (Skylake) or newer supporting VA-API video encode via the
i915orxekernel drivers and the VA-APIiHDuserspace driver (with legacyi965fallback for supported earlier hardware). - AMD: Discrete Radeon GPUs (GCN 4th Gen / Polaris or newer, RDNA 1/2/3/4) supported by the open-source
amdgpukernel driver and Mesa VA-API (radeonsi). - NVIDIA: Requires NVENC hardware video encoding, Direct Rendering Manager kernel mode setting (
nvidia_drm.modeset=1), and the NVIDIA Container Toolkit. Supported cards are split by microarchitecture:- Turing or newer (Turing+): GeForce GTX 16 series, RTX 20/30/40/50 series, and newer RTX models. These cards support and default to NVIDIA's open GPU kernel modules (
nvidia-open/akmod-nvidia/nvidia-kernel-open-dkms). - Maxwell and Pascal: GeForce GTX 10 series, GTX 900 series, TITAN V, and Maxwell-based GTX 700 cards (such as the GTX 750 Ti and GTX 750). These cards require the proprietary 580xx driver branch.
- Kepler and earlier (Unsupported): Cards from the Kepler generation (such as the GTX 760, 770, 780, and GTX 600 series) were discontinued after NVIDIA's 470 driver branch and fall below the project's driver and DRM requirements. While community members may attempt manual setups on older drivers, no official support is provided.
- Turing or newer (Turing+): GeForce GTX 16 series, RTX 20/30/40/50 series, and newer RTX models. These cards support and default to NVIDIA's open GPU kernel modules (
If you are unsure whether an older card (such as a 700-series model) is Kepler or Maxwell, consult the Wikipedia List of NVIDIA GPUs or run lspci -nnk -d ::0300 on your host to check the device ID.
Ready to Begin?
Start your deployment by preparing your host operating system: