System Overview
Steam Headless is an open-source, self-hosted cloud gaming container that turns any Linux server, desktop PC, or Network-Attached Storage (NAS) appliance into a multi-session gaming powerhouse, with no physical monitor, display cable, or dummy HDMI plug required.
Running as an unprivileged container with systemd, KDE Plasma on Wayland, PipeWire audio, and hardware-accelerated 3D rendering, Steam Headless supports four streaming methods:
- Steam Headless User Interface: Zero-install browser streaming (WebRTC and WebSocket) and full container management on port
8483. - Sunshine GameStream: Low-latency, high-framerate streaming to native Moonlight clients on PCs, handhelds, and TVs.
- Steam Remote Play: Native peer-to-peer game streaming directly between Steam client installations on your home network.
- Steam Link: Dedicated streaming to standalone Steam Link hardware and Steam Link apps for mobile devices and smart TVs.
Because Steam Remote Play and Steam Link operate natively through the container's pre-installed Steam client without requiring extra server configuration, this documentation focuses primarily on the Steam Headless UI and Sunshine environments, which provide comprehensive desktop access, browser portal streaming, and headless management controls.
Software Stack and Core Packages
Steam Headless packages a contemporary, upstream Linux graphics and desktop runtime inside an OCI container image:
| Component | Upstream Package / Project | Role and Architecture in Steam Headless |
|---|---|---|
| Base Distribution | Fedora Linux 44 Server | Provides a secure, contemporary glibc, Linux userland, and upstream RPM packages. |
| Desktop Environment | KDE Plasma 6 (Wayland) | Fully featured Wayland desktop compositor (KWin) patched for virtual headless outputs. |
| Init & Process Supervisor | systemd | Native systemd running inside the container to manage system and user services cleanly. |
| Audio Subsystem | PipeWire & WirePlumber | Low-latency audio graph, virtual sink routing, and multi-channel capture. |
| Web Management & Streaming | Steam Headless UI (SHUI) | Single-port (:8483) WebRTC browser streaming, diagnostics overlay, and service management. |
| GameStream Server | Sunshine | Low-latency NVENC, VA-API, and software encoder streaming to Moonlight clients. |
| Virtual Input Daemon | shinputd | Causal input seat isolation associating virtual gamepads via pidfd_open and pidfd_getfd. |
| Gaming Runtime | Valve Steam & Proton | Native Linux Steam client with out-of-the-box Steam Remote Play and Steam Link streaming, Proton compatibility, Vulkan loaders, and 32/64-bit graphics libraries. |
Host Dependencies and Runtime Requirements
Before deploying Steam Headless, ensure that your physical host satisfies the following baseline requirements:
| Requirement | Minimum Specification | Details and Verification |
|---|---|---|
| Host Operating System | Linux with Kernel ≥ 5.6 | Fedora Server, Ubuntu Server 22.04+, Debian Server 12+, TrueNAS SCALE, or Unraid 7+. |
| Control Groups | Unified cgroups v2 | Required for systemd container supervision. |
| Container Engine | Docker Engine 28.0+ or Docker Compose 2.20+ | Requires support for writable-cgroups=true daemon configuration. |
| GPU Hardware | Intel, AMD, or NVIDIA GPU | Direct Rendering Manager (DRM) render node support (/dev/dri/renderD*). |
| Virtual Input Devices | /dev/uinput and /dev/uhid | Kernel character devices for virtual gamepads, mice, and keyboards. |
| FUSE Filesystem | /dev/fuse | Required for executing AppImages and running Proton container runtimes. |
| Host inotify Quotas | max_user_instances >= 512 | Use 1024 as the standard default when running two or three containers. |
| Security Modules | SELinux (Enforcing) or AppArmor | Operates with narrow capability grants and supports enforcing SELinux. |
Detailed, distribution-specific commands for configuring drivers, kernel modules, and inotify limits are available in the Host Preparation Guide.
Supported Deployment Topologies
Steam Headless supports four primary architectural topologies depending on your host hardware and the number of concurrent players:
1. Single-GPU, Single-Session
The standard, entry-level topology. A single container uses host networking (network_mode: host) and binds directly to the host's primary GPU.
- Networking: Host networking (
network_mode: host). Zero network configuration required. - Port Bindings: The web interface binds to host port
8483; Sunshine binds to standard Moonlight ports (47984-48010). - Use Case: Dedicated gaming PC, living room server, or single-user homelab appliance.
- Guide: Follow the Docker Compose Deployment Guide.
2. Single-GPU, Multi-Session (Concurrent Sharing)
Run two or more independent desktop sessions concurrently on a single integrated or discrete graphics card (such as an Intel Iris Pro, Intel Arc, or AMD Radeon GPU).
- Networking: Docker macvlan networking (
networks: [session-lan]). Each container receives a dedicated IP address on your local physical network. - GPU Sharing: Both containers map the same DRM render node (
/dev/dri/renderD128). Modern Mesa and Intel drivers time-slice GPU compute and video encoding pipelines cleanly. - Input Isolation: The
shinputdservice isolates virtual gamepads per container session, preventing cross-session controller bleed. - Use Case: Multi-user household gaming server, allowing multiple people to play indie or esports titles simultaneously on one PC.
- Guide: Follow the Macvlan Networking Guide and Multiple Containers Guide.
3. Multi-GPU, Multi-Session (Dedicated Hardware Partitioning)
Assign separate physical GPUs to separate containers on the same host. For example, a workstation with two NVIDIA GPUs, or an AMD Radeon GPU and an NVIDIA GeForce card.
- Networking: Docker macvlan networking (
networks: [session-lan]) with dedicated LAN IP addresses per container. - GPU Mapping: Each container is assigned a different render node or NVIDIA GPU. The multiple GPUs guide shows the required settings.
- Performance: Zero contention between containers for GPU compute cores, VRAM, or hardware video encoding blocks.
- Use Case: High-end dual-seat gaming workstation or homelab rack server powering two heavy AAA game streams simultaneously.
- Guide: Follow the Multiple GPUs Configuration Guide.
4. Multi-GPU, Single-Session with Offloaded Video Encoding
A specialised high-performance topology where a single container uses two GPUs simultaneously: a high-powered discrete GPU for 3D game rendering, and a secondary integrated GPU (e.g. Intel VA-API) for video encoding.
- 3D Graphics Pipeline: The game uses the discrete NVIDIA or AMD GPU for Vulkan and OpenGL rendering.
- Encoding Pipeline: The web interface and Sunshine access the secondary Intel or AMD render node (
/dev/dri/renderD128) via VA-API to compress video frames into H.264, HEVC, or AV1. - Benefit: Keeps 100% of the primary gaming GPU's rendering cores and memory bandwidth dedicated to maintaining high game frame rates, while offloading video compression to the dedicated media engine of the secondary card.
- Use Case: Enthusiast streaming rigs demanding maximum gaming performance without frame drops caused by video encoding overhead.
- Guide: Follow the Advanced GPU Configuration Guide.
Getting Started
To install and configure Steam Headless for your environment:
- Prepare Your Host: Review distribution-specific instructions and prerequisites.
- Deploy Steam Headless: Choose Docker Compose,
docker run, or Unraid application templates. - Configure Networking: Select host networking or macvlan based on your desired container capacity.
- Using Steam Headless UI: Connect via your web browser, complete initial enrolment, and launch your first stream.