Skip to main content

Troubleshooting Overview

When an issue occurs, identifying which subsystem is failing allows you to resolve the problem quickly without resorting to destructive resets or broad permission changes:

  • Host platform: Linux kernel, vendor graphics drivers, unified cgroup v2, inotify quotas, and network routing.
  • Container runtime: Docker Engine, writable cgroups, capability grants, and security confinement (SELinux / AppArmor).
  • System services: Systemd service units, user sessions, and process lifecycles.
  • Desktop & media: KWin virtual display, audio pipelines, and virtual input (shinputd).
  • Streaming endpoints: Native WebRTC (Steam Headless UI) and Moonlight GameStream (Sunshine).

Symptom Directory​

Use the categorised tables below to find the exact diagnostic guide and step-by-step resolution for your symptom:

Container Startup and Permissions​

What are you seeing?Jump to Guide
Container exits immediately with exit code 255 (AppArmor denial)AppArmor systemd mount denial
Container logs Failed to mount cgroup hierarchy or Failed to create root cgroupDocker 28+ writable cgroups configuration
Container crashes with bwrap: pivot_root: Operation not permittedBubblewrap and Proton seccomp sandboxing
Container fails with Permission denied on /home/steamheadlessHost directory UID 1000 ownership
Volume mounts fail with permission errors on Fedora Server or RHELSELinux container volume relabelling
Unraid array reports stale file handle or SQLite database lock errorsUnraid direct disk vs shfs storage
Container fails to start: no such file or directory: /dev/uinput or /dev/fuseMissing host kernel device nodes
Initial bootstrap password missing from logs or rejected during setupInitial password and enrolment recovery
Forgotten administrator password or locked out of web interfaceResetting a forgotten administrator password

Network and Port Reachability​

What are you seeing?Jump to Guide
Docker host reports No route to host when pinging or curling container IPHost macvlan shim configuration
Other LAN devices cannot reach or ping the container IPParent network interface and DHCP conflicts
Web portal loads and login works, but video stream spinner sticks on "Connecting..."Inbound UDP port 8483 firewall block
Moonlight client cannot discover container or pairing times outSunshine GameStream port configuration
Browser warns NET::ERR_CERT_AUTHORITY_INVALID or SEC_ERROR_UNKNOWN_ISSUERAccepting self-signed appliance certificates

GPU, Displays, and Hardware Video Encoding​

What are you seeing?Jump to Guide
KWin logs DRM_IOCTL_MODE_CREATE_DUMB failed: Permission denied (NVIDIA)NVIDIA kernel modesetting (modeset=1)
NVIDIA nvh264enc is unavailable or the container cannot run nvidia-smiCheck the host driver, NVIDIA runtime, and running container
High streaming latency (~180 ms) with NVIDIA GPUsDecoded Picture Buffer (DPB) latency holdback
nvidia-smi fails and modprobe nvidia reports Key was rejected by serviceSecure Boot Machine Owner Key enrolment
Proton game has audio but a white or black window, or Vulkan segfaultsMissing /dev/nvidia-modeset character device
NVENC fails with session limit reached or drops to software CPU encodingUnlocking consumer GPU concurrent streams
Web interface reports No supported hardware encoder passed probe at bootHardware encoder probe diagnostics and fallback
Container cannot stop or remove (docker stop hangs, process in D state)Host GPU driver lockup and uninterruptible D state

Browser and Moonlight Streaming​

What are you seeing?Jump to Guide
Video stutters, catches up rapidly, or freezes over WebSocket connectionsTransport selection and packet loss tuning
Video stream connects and audio plays, but screen remains completely blackVirtual display capture and DMA-BUF conversion
Moonlight client displays Failed to start audio/video stream (Error 11)Render node permissions and audio sink health
High CPU usage in Sunshine during Moonlight streaming on NVIDIA systemsNVENC API compatibility and software fallback

Desktop Environment and Window Management​

What are you seeing?Jump to Guide
Game opens in a window instead of expanding to fullscreenFullscreen shortcuts and KWin window rules
Game window title bar is off-screen or unclickableMoving off-screen windows with <kbd>Alt</kbd> + drag
KDE taskbar remains visible over a fullscreen gamePanel auto-hide and fullscreen window layers
Mouse cursor escapes game window or stops respondingEngaging pointer lock and complete input capture
Game graphics or text look blurry in XWayland applicationsDisplay resolution and XWayland DPI scaling
Game is completely frozen, unresponsive, or desktop stallsTerminating stuck games and recovering desktop

Game Controllers and Audio​

What are you seeing?Jump to Guide
Virtual gamepad appears in browser overlay but Steam detects no controllerVirtual gamepad discovery (shinputd)
Local operating system intercepts shortcuts (Alt+Tab, Super key)Enabling Complete Input Capture
Desktop video streams smoothly, but no sound plays in browserPipeWire virtual dummy sink and autoplay
Audio crackles, stutters, or falls seconds behind videoGranting SYS_NICE real-time scheduling priority

Host Capacity and System Resources​

What are you seeing?Jump to Guide
Applications crash with EMFILE: Too many open filesHost-wide inotify quota sizing
Games crash silently during startup or loading (Cannot allocate memory)Configuring vm.max_map_count for Proton
Game does nothing when launched or logs Resource temporarily unavailableContainer task and PID limit sizing
Sluggish desktop and audio dropouts across concurrent containersCPU scheduling contention and PSI pressure stalls
Game crashes or textures fail to load on shared GPU systemsGPU Video RAM (VRAM) saturation
Web interface will not start or its service keeps failingRead service logs inside the container
Web interface reports degraded systemd statusDiagnosing and restarting failed units

Safe Diagnostic Baseline​

When diagnosing an issue, begin by gathering non-sensitive diagnostic output from your host and the container.

Step 1: Check Container Status and Exit Codes​

On your Docker host, inspect the state of your container:

docker ps -a --filter "name=steam-headless" --format "table {{.Names}}\t{{.Status}}\t{{.Image}}"

If the container has exited, retrieve its exit code and termination reason:

docker inspect steam-headless-a --format 'ExitCode: {{.State.ExitCode}}, Error: "{{.State.Error}}"'

Step 2: Check Container Boot Logs​

Examine early container logs for systemd and initialisation errors. If the container stays running but a service such as the web interface will not start, read its journal inside the container:

docker logs --tail 100 steam-headless-a

Step 3: Inspect Systemd Status Inside the Container​

If the container is running, run these commands on the Docker host, replacing steam-headless-a with your container's name:

docker exec --user root steam-headless-a systemctl is-system-running
docker exec --user root steam-headless-a systemctl --failed --no-pager

running means systemd has completed initialisation without failed units. degraded means at least one unit failed and needs investigation; --failed identifies those units. Docker's boot log is only an initial summary: read the service journal for the actual error.

Show the status and up to 100 recent journal lines for each currently failed system service:

docker exec --user root steam-headless-a systemctl status --failed --type=service --full --lines=100 --no-pager

A non-zero exit status is expected when a service has failed. This is a snapshot: services retrying startup or failures that have since recovered may be absent. For these and earlier dependency failures, check the wider current-boot journal:

docker exec --user root steam-headless-a journalctl -b -n 300 --no-pager

For a web interface that will not start, inspect its service status and journal:

docker exec --user root steam-headless-a systemctl status steam-headless-shui.service --no-pager --full
docker exec --user root steam-headless-a journalctl -b -u steam-headless-shui.service -n 200 --no-pager

status gives a brief service summary; the journal shows detailed startup errors from the current boot. Replace steam-headless-shui.service with another failed unit's name to investigate it. See the full service journal guide for dependency failures and following new messages.

If the service reports Failed with result 'exit-code', use the web interface startup error checks to follow the journal's specific error, including NVIDIA runtime failures and port conflicts.

Step 4: Verify the Web Interface Health Endpoint​

From any machine on the same local network, query the web interface health check:

curl -k https://<CONTAINER_IP>:8483/api/v1/health

A healthy response returns HTTP 200 with JSON confirming service readiness.

Step 5: Run the Built-In Health Helper​

Steam Headless includes a health helper that checks the desktop, streaming services, ports, and sign-in state together:

docker exec steam-headless-a /usr/local/bin/steam-headless-healthcheck

The image does not enable Docker's automatic HEALTHCHECK feature. You can always run the helper directly. If you want Docker to record health status as well, see Optional Docker health status.


Troubleshooting Guides​

Explore the focused diagnostic guides below for step-by-step resolution procedures:

  1. Installation and Startup
    Resolve container restart loops, systemd exit codes (255), missing device nodes (/dev/uinput, /dev/uhid, /dev/fuse), and volume permission errors.

  2. Network Troubleshooting
    Configure macvlan host shims for host-to-container access, diagnose LAN routing and IP conflicts, open firewall ports (TCP/UDP 8483), and verify SSL/TLS certificates.

  3. GPU and Hardware Encoding
    Fix NVIDIA kernel modesetting (nvidia_drm.modeset=1), eliminate Decoded Picture Buffer (DPB) latency spikes, diagnose Intel/AMD VA-API render nodes, and review the synthetic encoder probe.

  4. Browser and Moonlight Streaming
    Troubleshoot WebRTC ICE negotiation, tune bitrate policies, resolve video stutter and frame drops, fix black screen display captures, and pair Moonlight with Sunshine.

  5. Desktop and KDE Plasma
    Toggle game fullscreen with Alt+Enter, configure KWin window rules, resolve off-screen windows and taskbar layering, match virtual display resolutions, and terminate frozen processes.

  6. Input and Audio Troubleshooting
    Fix virtual gamepad discovery with shinputd, configure browser pointer lock and complete input capture, and troubleshoot PipeWire audio output and dummy sinks.

  7. Capacity Warnings and Service Failures
    Tune host inotify quotas (fs.inotify.max_user_instances), monitor CPU pressure stalls (PSI) and GPU memory saturation, and restart individual systemd units safely.


Escalating Unresolved Issues​

If your issue persists after working through the troubleshooting steps:

The public help and bug-reporting destinations have not been selected yet. Before release, this section will link to the official places for setup help and reproducible bug reports.