Installation and Startup Troubleshooting
If a container fails to start, exits immediately, or enters a restart loop, the issue typically stems from container runtime constraints, Linux security modules (AppArmor or SELinux), storage volume permissions, or missing host device nodes.
Symptoms on This Page
| What are you seeing? | Jump to Section |
|---|---|
| Container stops within 1 to 2 seconds with exit code 255 (AppArmor denial) | 1. Container Exits Immediately or Restart Loops |
Container fails to boot with Failed to mount cgroup hierarchy | 1. Container Exits Immediately or Restart Loops |
Launching Steam or Flatpak fails with bwrap: pivot_root: Operation not permitted | 1. Container Exits Immediately or Restart Loops |
Permission denied on /home/steamheadless or game storage directories | 2. Storage and Volume Permissions (Permission Denied) |
SELinux denials or Permission denied on Fedora Server or RHEL volume mounts | 2. Storage and Volume Permissions (Permission Denied) |
| SHUI Journal page reports "The journal could not be loaded" on Unraid | 2. Storage and Volume Permissions (Permission Denied) |
Docker startup fails: no such file or directory: /dev/uinput or /dev/fuse | 3. Missing Kernel Device Nodes |
Docker cannot find render node /dev/dri/renderD128 or NVIDIA runtime is unavailable | 3. Missing Kernel Device Nodes |
| Initial setup password is missing, unrecognised, or rejected at sign-in | 4. Initial Password and Enrolment Failures |
| Forgotten administrator password or locked out of web interface | 4. Initial Password and Enrolment Failures |
1. Container Exits Immediately or Restart Loops
When a container stops shortly after creation or enters a restart loop, the issue typically stems from Docker security profiles, cgroup namespace restrictions, or missing Linux capabilities required by systemd.
To determine why the container exited, inspect its exit code and recent startup logs:
docker inspect steam-headless-a --format 'ExitCode: {{.State.ExitCode}}, Error: "{{.State.Error}}"'
docker logs --tail 100 steam-headless-a
Case 1.1: Systemd Exits with Code 255 (AppArmor Denial)
Docker's default AppArmor profile restricts mount operations inside containers. During early boot, systemd attempts to set up private mount propagation and essential virtual filesystems, which AppArmor blocks on distributions such as Ubuntu Server, Debian Server, and TrueNAS SCALE.
What you see
- The container stops within 1 to 2 seconds of launch.
- Running
docker inspectreports exit code 255:$ docker inspect steam-headless-a --format 'ExitCode: {{.State.ExitCode}}'ExitCode: 255 - No application logs appear because systemd aborts before starting user services.
How to confirm this issue
Inspect host kernel audit logs for AppArmor mount denials:
sudo dmesg -T | grep -i apparmor
Look for audit entries containing apparmor="DENIED" operation="mount" targeting systemd or paths under /sys/fs/cgroup.
Step-by-step resolution
Override the default AppArmor profile and grant required runtime permissions in docker-compose.yml:
services:
desktop-a:
# ...
security_opt:
- apparmor=unconfined
- seccomp=unconfined
- systempaths=unconfined
- writable-cgroups=true
Recreate the container:
docker compose up -d --force-recreate desktop-a
Case 1.2: Failed to Mount Cgroup Hierarchy (Docker 28+ Cgroup v2)
Steam Headless requires Docker Engine 28.x. In Docker 28, private cgroup v2 namespaces are mounted read-only by default, preventing systemd from creating and managing child slices and scopes for user services.
What you see
- The container log terminates during early initialisation:
Failed to mount cgroup at /sys/fs/cgroup: Operation not permittedFailed to allocate manager object: Operation not permitted[!!!!!!] Failed to mount API filesystems.Exiting PID 1...
- The container enters a continuous restart loop or stops immediately with an error.
How to confirm this issue
Check your Docker Engine version and verify that the host uses unified cgroup v2:
docker version --format '{{.Server.Version}}'
stat -fc %T /sys/fs/cgroup
Confirm that stat reports cgroup2fs.
Step-by-step resolution
Configure private cgroups and enable Docker's writable-cgroups=true security option in docker-compose.yml:
services:
desktop-a:
# ...
cgroup: private
security_opt:
- writable-cgroups=true
- seccomp=unconfined
- systempaths=unconfined
Recreate the container:
docker compose up -d --force-recreate desktop-a
Do not use privileged: true or bind-mount the host's /sys/fs/cgroup directory as a workaround. Steam Headless is engineered to run without privileged mode using private, isolated cgroups.
Case 1.3: Flatpak or Steam Pressure-Vessel Fails (pivot_root)
Steam Linux Runtime (pressure-vessel) and Flatpak use bubblewrap (bwrap) to construct nested unprivileged mount namespaces. Docker's default seccomp filter blocks the pivot_root system call, and default masked paths restrict access to /proc.
What you see
- Systemd boots successfully and the desktop loads, but launching Steam or Flatpak desktop applications fails.
- Application logs or terminal launches report bubblewrap namespace errors:
bwrap: pivot_root: Operation not permittedbwrap: Can't mount proc on /newroot/proc: Permission denied
How to confirm this issue
Launch an affected application from a terminal inside the container or inspect user journal logs:
docker exec -it steam-headless-a journalctl --user -b --no-pager -e
Look for lines containing bwrap: pivot_root: Operation not permitted.
Step-by-step resolution
Ensure seccomp=unconfined and systempaths=unconfined are configured under security_opt in docker-compose.yml:
services:
desktop-a:
# ...
security_opt:
- seccomp=unconfined
- systempaths=unconfined
- writable-cgroups=true
Recreate the container to apply the updated security options:
docker compose up -d --force-recreate desktop-a
Case 1.4: Missing Required Linux Capabilities
Steam Headless delegates input virtualisation, audio scheduling, and container management to specialised subsystems that require targeted Linux capabilities rather than blanket root privileges.
What you see
- The
steam-headless-shinputd.serviceunit fails during startup or device ownership preflight. - RealtimeKit (
rtkit-daemon) logs warnings and cannot grant real-time scheduling to PipeWire audio threads. - Systemd reports permission errors when configuring process namespaces.
How to confirm this issue
Inspect container service status and capability audit logs:
docker exec steam-headless-a systemctl --failed
docker exec steam-headless-a systemctl status steam-headless-shinputd.service
Step-by-step resolution
Ensure all five required capabilities are explicitly granted via cap_add in docker-compose.yml:
services:
desktop-a:
# ...
cap_add:
- DAC_READ_SEARCH # Allows shinputd to inspect desktop-user file descriptors
- NET_ADMIN # Allows shinputd to broadcast private libudev multicast events
- SYS_ADMIN # Required by systemd namespace setup and FUSE mounts
- SYS_NICE # Grants PipeWire real-time SCHED_RR/SCHED_FIFO audio threads
- SYS_PTRACE # Required for pidfd_getfd(2) causal virtual-device discovery
Recreate the container:
docker compose up -d --force-recreate desktop-a
2. Storage and Volume Permissions (Permission Denied)
Steam Headless separates appliance runtime state from user data using dedicated persistent mounts. Permission errors typically occur when host directory ownership mismatches the container user or when SELinux labels block container access.
Steam Headless uses four persistent mounts:
/var/lib/steam-headless: A Docker volume for appliance state, TLS certificates, and authentication credentials (root-owned)./var/log/journal: A Docker volume for system and service logs./home/steamheadless: A host directory for user configuration, Steam data, and browser profiles (UID 1000)./mnt/games: A host directory for shared game storage (UID 1000).
Case 2.1: Host UID/GID Ownership Mismatch
The container desktop session runs as user steamheadless with UID 1000 and GID 1000 by default. If host directories mounted to /home/steamheadless or /mnt/games are owned by root or another host user, applications cannot write configuration files or install games.
What you see
- Container logs report directory creation or permission failures:
mkdir: cannot create directory '/home/steamheadless/.config': Permission denied
- Applications crash on startup or fail to save settings and game state.
How to confirm this issue
Inspect directory ownership on the host filesystem:
ls -ld ./steam-headless-data/homes/desktop-a \
./steam-headless-data/games
If the output displays root root or an unexpected UID/GID rather than 1000 1000, container processes cannot write to the directory.
Step-by-step resolution
Recursively assign ownership of the user home and games directories to UID 1000 and GID 1000 (or the IDs configured in your desktop user and group options):
sudo chown -R 1000:1000 ./steam-headless-data/homes/desktop-a
sudo chown -R 1000:1000 ./steam-headless-data/games
Do not change the ownership of /var/lib/steam-headless. That directory holds security credentials and appliance certificates and must remain owned by root.
Case 2.2: SELinux Denials on Fedora Server / RHEL Hosts
On distributions with SELinux in Enforcing mode (such as Fedora Server, RHEL, and CentOS Stream), Docker containers cannot access host directories labelled with general types such as default_t or user_home_t without explicit container volume relabelling.
What you see
- File ownership on the host shows
1000:1000, yet applications inside the container still receivePermission denied. - Desktop services fail to start or cannot access persistent storage volumes.
How to confirm this issue
Check for recent SELinux Access Vector Cache (AVC) denials on the host:
sudo ausearch -m avc -ts recent
Look for denial messages referencing container_t accessing target paths with labels such as default_t or unlabeled_t.
Step-by-step resolution
Append the appropriate SELinux volume relabelling flags in your docker-compose.yml:
:Z(uppercase): Configures private, unshared relabelling for directories accessed by only one container.:z(lowercase): Configures shared relabelling for directories accessed by multiple containers simultaneously (such as/mnt/games).
services:
desktop-a:
# ...
volumes:
- /etc/localtime:/run/host-localtime:ro
- /sys/devices/virtual/input:/sys/devices/virtual/input:ro
- steam-headless-a-state:/var/lib/steam-headless
- steam-headless-a-journal:/var/log/journal
- ./steam-headless-data/homes/desktop-a:/home/steamheadless:Z
- ./steam-headless-data/games:/mnt/games:z
volumes:
steam-headless-a-state:
steam-headless-a-journal:
Recreate the container:
docker compose up -d --force-recreate desktop-a
Steam Headless is tested and qualified with SELinux in Enforcing mode. Applying :Z and :z flags resolves volume denials without weakening host security.
Case 2.3: Appliance State Cannot Be Created
Steam Headless stores TLS certificates, encryption keys, and authentication data in /var/lib/steam-headless. If this mount is read-only, blocked by host security policies, or misconfigured, the appliance cannot initialise its credentials.
What you see
- Container logs report authentication state failures during startup:
Failed to create authentication state: Permission denied
- The web portal fails to start or continuously restarts.
How to confirm this issue
Inspect the mounts and logs for the state directory:
docker logs steam-headless-a | grep -i "authentication state"
docker inspect steam-headless-a --format '{{json .Mounts}}'
Step-by-step resolution
- Verify that the
/var/lib/steam-headlessmount is writable and not mounted with the:roflag. - If using a bind-mounted host folder instead of a managed named Docker volume, ensure the directory exists on the host and that SELinux relabelling (
:Z) is applied where required. - Do not run
chown -R 1000:1000on/var/lib/steam-headless. Steam Headless deliberately keeps this state directory owned by root for security isolation.
Case 2.4: State Directory Is Not Recognised
To prevent accidental data corruption, Steam Headless verifies that the /var/lib/steam-headless mount is either completely empty (for a fresh installation) or contains an authentic Steam Headless marker file.
What you see
- The container halts during startup and refuses to continue.
- Logs display an error indicating that
/var/lib/steam-headlessis non-empty but lacks a recognised installation marker:State directory /var/lib/steam-headless is non-empty and missing installation marker
How to confirm this issue
Inspect the volume mounts configured for the container:
docker inspect steam-headless-a --format '{{json .Mounts}}'
Compare the configured source directory against your host filesystem to identify what files are present.
Step-by-step resolution
- Stop the container:
docker stop steam-headless-a
- Verify the state volume entry in your
docker-compose.yml. Ensure/var/lib/steam-headlesspoints to the intended Docker volume or an empty directory, rather than a general host directory containing existing files. - If an incorrect host folder was mounted by mistake, update the Compose volume path and recreate the container.
- Do not recursively delete files or force permissions on an unknown directory without first confirming its contents and creating a backup.
Case 2.5: SHUI Cannot Load the Journal on Unraid
On Unraid servers, storing writable container directories on user shares (/mnt/user/...) routes operations through the Unraid FUSE abstraction layer. FUSE permission handling can prevent SHUI's unprivileged systemd-journal reader from accessing rotated journal files and trigger stale file handle errors.
What you see
- The SHUI Journal page displays:
The journal could not be loaded. Try again.
- Running
journalctlas root viadocker execworks, but the web UI cannot read logs. - The desktop session restarts unexpectedly with
stale file handlemessages while the container remains running.
How to confirm this issue
First read the service journal as root, even if the web interface is unavailable. This distinguishes a service startup failure from the Journal page being unable to read logs.
Then run these commands on the Docker host, replacing <container-name> with your container's name. The first checks journal file integrity; the second tests access using the restricted identity used by the web interface:
docker exec --user root <container-name> journalctl --verify
docker exec --user root <container-name> setpriv --reuid=steamheadless --regid=steamheadless \
--groups=systemd-journal journalctl --boot=0 --no-pager --lines=50 --output=json
If the second command outputs:
No journal files were opened due to insufficient permissions
the journal mount permissions are incompatible with SHUI.
Step-by-step resolution
- Stop the container:
docker stop <container-name>
- Change every writable Steam Headless mount away from
/mnt/user/...to direct pool or disk paths:- State:
/mnt/cache/appdata/steam-headless/state - Journal:
/mnt/cache/appdata/steam-headless/journal - Home:
/mnt/cache/appdata/steam-headless/home - Games:
/mnt/disk1/Games(or a dedicated pool path)
- State:
- Ensure the state, journal, and profile directories reside on a cache pool that Unraid mover does not migrate to the parity array.
- If retaining existing logs is not necessary, an empty replacement directory for
/var/log/journalis safe. If preserving logs, copy the journal with permissions preserved:rsync -aHAX /mnt/user/appdata/steam-headless/journal/ /mnt/cache/appdata/steam-headless/journal/ - Start the container and reload the SHUI Journal page. See Deploy with the Unraid template for the complete path layout.
3. Missing Kernel Device Nodes
Steam Headless requires direct access to host kernel device nodes for virtual input emulation, user-space filesystem mounting, and GPU-accelerated video rendering.
Case 3.1: Missing /dev/uinput, /dev/uhid, or /dev/fuse
The container relies on uinput and uhid to inject virtual controller and mouse events, and fuse to mount user-space tools. If the corresponding kernel modules are not loaded on the host, Docker cannot attach these devices.
What you see
- Docker fails to start the container and reports missing device information:
Error response from daemon: error gathering device information while adding custom device "/dev/uinput": no such file or directory
How to confirm this issue
Check whether the required device nodes exist on the Docker host:
ls -l /dev/uinput /dev/uhid /dev/fuse
If any file is reported as No such file or directory, the corresponding kernel module is not loaded.
Step-by-step resolution
Load the missing kernel modules on the host:
sudo modprobe uinput
sudo modprobe uhid
sudo modprobe fuse
To persist module loading across reboots:
- On systemd distributions (Fedora, Ubuntu, Debian), create
/etc/modules-load.d/steam-headless.confcontaining:uinputuhidfuse - On Unraid, add the
modprobecommands to/boot/config/goprior to the/usr/local/sbin/emhttplaunch line.
Case 3.2: Missing DRM Render Node (/dev/dri/renderD*)
Direct Rendering Manager (DRM) render nodes expose GPU hardware acceleration to containers without requiring display server access. If the GPU driver is not loaded or the host has multiple GPUs, the specified render node path may not exist.
What you see
- Docker startup fails with a missing device error:
error gathering device information while adding custom device "/dev/dri/renderD128": no such file or directory
- KWin Wayland or video streaming fails to start due to missing hardware render nodes.
How to confirm this issue
List the available DRM render nodes on the Docker host:
ls -l /dev/dri/
Check whether render nodes exist (such as renderD128 or renderD129) and check which GPU drivers are loaded:
lspci -k | grep -EA3 'VGA|3D|Display'
Step-by-step resolution
- If no
/dev/dri/renderD*nodes appear, verify that the host graphics driver (i915,amdgpu, ornvidia-drm) is installed and active. - If your host has multiple GPUs and the active card uses a different minor number (for example,
/dev/dri/renderD129), update thedevicesmapping and environment variables indocker-compose.yml:See display and GPU options for full parameter references.docker-compose.ymlenvironment:COMPOSITOR_RENDER_DEVICE: /dev/dri/renderD129ENCODER_RENDER_DEVICE: /dev/dri/renderD129devices:- /dev/dri/renderD129:/dev/dri/renderD129- /dev/fuse:/dev/fuse- /dev/uinput:/dev/uinput- /dev/uhid:/dev/uhid - Recreate the container:
docker compose up -d --force-recreate desktop-a
Case 3.3: NVIDIA Runtime Is Not Available
Containers running on NVIDIA hardware require the NVIDIA Container Toolkit to pass GPU devices and driver libraries into the container. If the runtime is not selected or device visibility is misconfigured, hardware encoding and 3D acceleration fail.
What you see
- Container startup logs display:
NVIDIA runtime detection result: false
- Running
nvidia-smiinside the container reports command not found or driver communication errors. - SHUI repeatedly restarts because the NVIDIA hardware encoder (
nvh264enc) is unavailable.
How to confirm this issue
Work through these checks in order. Run them on the Docker host, replacing steam-headless-a with your container's name.
-
Check the host driver and devices:
nvidia-smils -l /dev/nvidia* /dev/dri/renderD* /dev/fuse /dev/uinput /dev/uhidIf host
nvidia-smifails, fix the host driver first. The container uses the host's NVIDIA driver; installing a driver inside the container will not repair it. Check for the GPU node (such as/dev/nvidia0),/dev/nvidiactl,/dev/nvidia-modeset, and/dev/nvidia-uvm, plus the render node for the intended GPU. Follow the NVIDIA device-node checks or missing input and FUSE device checks if nodes are absent. -
Check that Docker responds and lists the NVIDIA runtime:
docker info --format '{{json .Runtimes}}'If Docker cannot be reached, check the Docker service and your access to it. If
nvidiais missing, install and configure the host's NVIDIA Container Toolkit. -
Test the runtime independently of Steam Headless using NVIDIA's sample workload:
docker run --rm --runtime=nvidia --gpus all ubuntu:24.04 nvidia-smiThis downloads the Ubuntu image if needed and should list the GPU. If the host check passes but this fails, investigate the toolkit, Docker runtime configuration, and the reported error before changing Steam Headless settings.
-
Check the actual running Steam Headless container:
docker exec --user root steam-headless-a nvidia-smidocker exec --user root steam-headless-a sh -c 'ls -l /dev/nvidia* /dev/dri/renderD* /dev/fuse /dev/uinput /dev/uhid'If Ubuntu can see the GPU but Steam Headless cannot, check this container's deployment settings and whether it was recreated after they changed. Missing render, input, or FUSE devices are separate from NVIDIA runtime injection and can still prevent startup.
-
Compare your intended Compose configuration with the container Docker actually created:
docker compose configdocker inspect steam-headless-a --format 'Runtime={{.HostConfig.Runtime}} DeviceRequests={{json .HostConfig.DeviceRequests}} Devices={{json .HostConfig.Devices}}'docker inspect steam-headless-a --format '{{range .Config.Env}}{{println .}}{{end}}' | grep -E '^NVIDIA_(VISIBLE_DEVICES|DRIVER_CAPABILITIES)='Run
docker compose configfrom the same project directory, with the same-ffiles and environment used for deployment. Check the affected service, not just a shared template. Rendered Compose shows the requested settings;docker inspectshows the existing container. For the explicit runtime setup below, expectRuntime=nvidia, the intendedNVIDIA_VISIBLE_DEVICESselection, andNVIDIA_DRIVER_CAPABILITIES=all. Review this output locally: complete Compose files can contain passwords and other private settings.
A successful nvidia-smi confirms driver access, but does not prove that NVENC video encoding works. NVIDIA exposes nvidia-smi through the utility driver capability and video encoding through video; Steam Headless requests all. See NVIDIA driver capabilities. If it succeeds and nvh264enc is still unavailable, read the web interface's service journal and continue with the hardware encoder probe checks.
Step-by-step resolution
- Fix any host-driver or runtime test failure first. Use the host platform's supported driver installation method and the NVIDIA Container Toolkit installation guide.
- For Compose, select the NVIDIA runtime on the affected service. See the canonical GPU options and NVIDIA deployment example. Merge these settings into your existing service, keeping its required mounts, devices, and permissions:
Map the intended GPU'sdocker-compose.ymlservices:desktop-a:# Keep the rest of your existing service configuration.runtime: nvidiaenvironment:NVIDIA_VISIBLE_DEVICES: 'all'NVIDIA_DRIVER_CAPABILITIES: 'all'
/dev/dri/renderD*node separately, together with/dev/fuse,/dev/uinput, and/dev/uhid. The toolkit injects/dev/nvidia*; do not replace runtime configuration with manual NVIDIA device mappings. On multi-GPU hosts, select the intended GPU as described in NVIDIA GPU configuration. - Recreate only the affected service to apply the settings. Replace
desktop-awith your Compose service name (which may differ from the container name):A simple container restart does not apply changed Docker runtime, environment, or device settings. On Unraid, apply the equivalent changes through the container template.docker compose up -d --force-recreate desktop-a - Repeat the running-container
nvidia-smi, device, anddocker inspectchecks above. Then read the service journal to confirm the web interface starts and its hardware encoder probe succeeds.
Case 3.4: First NVIDIA Start Takes Several Minutes
Some NVIDIA Container Toolkit installations do not bundle 32-bit user-space libraries required by 32-bit Windows games running under Steam and Proton. On initial boot, Steam Headless detects missing 32-bit driver components and extracts matching compatibility libraries.
What you see
- The container log appears to pause during startup with messages referencing official NVIDIA driver packages:
Setting up 32-bit NVIDIA compatibility libraries...Downloading NVIDIA-Linux-x86_64-...
- The web interface at port 8483 is not immediately reachable.
How to confirm this issue
Follow the container startup logs:
docker logs -f steam-headless-a
Confirm that the log is actively downloading or extracting compatibility components rather than sitting in a crashed state.
Step-by-step resolution
- Keep the container running and ensure the host has outbound HTTPS Internet access to download the driver assets.
- Initial extraction typically completes within 2 to 5 minutes depending on connection speed.
- Ensure the state volume (
/var/lib/steam-headless) remains persistent across container recreations so the extracted 32-bit libraries are cached and subsequent boots start immediately.
4. Initial Password and Enrolment Failures
When a fresh container starts for the first time, it generates a cryptographically random initial bootstrap password. This temporary credential remains active until you complete the first-run enrolment workflow in the web portal.
Case 4.1: Locating the initial setup password
On unconfigured containers, Steam Headless generates a temporary bootstrap password on first boot and writes it to container logs and a root-owned state file until setup is finished.
What you see
- You navigate to
https://<CONTAINER_IP>:8483and need the initial password to complete first-run enrolment. - Container logs contain a "Steam Headless initial setup" banner with sign-in instructions.
How to confirm this issue
Retrieve the initial password from the container startup logs:
docker logs steam-headless-a | grep -A 10 "Steam Headless initial setup"
Alternatively, read the active bootstrap credential directly from its secure state file inside the container:
docker exec steam-headless-a cat /var/lib/steam-headless/auth/bootstrap-password
If the file is absent, initial enrolment has already been completed or the system is recovering an interrupted password change.
Step-by-step resolution
- Open your browser and navigate to
https://<CONTAINER_IP>:8483. - Accept the self-signed TLS certificate warning.
- Sign in using username
steamheadlessand the temporary password retrieved from the logs orbootstrap-passwordfile. - Follow the on-screen first-run prompts to establish your permanent password. Once submitted, the bootstrap credential file is securely removed.
Case 4.2: Password changed after recreating the container
The initial password is tied to the appliance state directory. If the container is recreated with a different or empty state volume, Steam Headless treats it as a brand new deployment and generates a new credential.
What you see
- After updating or recreating the container, the previous initial password no longer works.
- Container logs display a completely new bootstrap password.
How to confirm this issue
Inspect the mounts of the container to verify which volume is attached to /var/lib/steam-headless:
docker inspect steam-headless-a --format '{{json .Mounts}}'
Check if the source path differs from your original Compose configuration or points to a non-persistent path.
Step-by-step resolution
- Verify your
docker-compose.ymlto confirm that the state volume name or host path matches your existing volume:docker-compose.ymlvolumes:- steam-headless-a-state:/var/lib/steam-headless - Recreate the container with the correct volume attached.
- Avoid completing setup on an unintended fresh state volume, as this creates a separate appliance identity rather than restoring your existing environment.
Case 4.3: Initial password rejected at sign-in
The initial bootstrap password is valid only during the initial unconfigured state. Once an administrator completes the first-run enrolment form and sets a permanent password, the bootstrap password is permanently invalidated and deleted.
What you see
- The web portal displays the standard sign-in interface rather than the first-run enrolment form.
- Submitting the initial password shown in historical container logs fails with authentication errors.
How to confirm this issue
Check whether the bootstrap password file still exists inside the container:
docker exec steam-headless-a ls -l /var/lib/steam-headless/auth/bootstrap-password
If the command returns No such file or directory, initial enrolment has already completed and permanent credentials are in effect.
Step-by-step resolution
- Sign in using the permanent password chosen during initial setup.
- If you have forgotten the permanent administrator password, follow Case 4.5: Resetting a Forgotten Administrator Password to generate a new bootstrap password and re-enrol.
Case 4.4: Authentication services recovering after interrupted change
Steam Headless synchronises credentials across the web interface (SHUI), the Linux desktop user session, and Sunshine simultaneously. If the container restarts or powers down mid-operation, authentication services enter an automated recovery cycle on next boot.
What you see
- The web interface is temporarily unresponsive or returns 502 Bad Gateway shortly after boot.
- Passwords do not appear synchronised between Sunshine, the desktop session, and the web portal.
How to confirm this issue
Check the status of the container authentication and synchronisation systemd units:
docker exec steam-headless-a systemctl status \
steam-headless-authd.service \
steam-headless-auth-finalise.service \
steam-headless-shui.service \
steam-headless-sunshine.service
Inspect logs for active recovery operations:
docker exec steam-headless-a journalctl -b --no-pager \
-u steam-headless-authd.service \
-u steam-headless-auth-finalise.service \
-u steam-headless-shui.service \
-u steam-headless-sunshine.service
Step-by-step resolution
- Allow the container to run undisturbed for 1 to 2 minutes so automated transaction recovery can complete.
- Do not execute the Linux
passwdcommand inside the container. Usingpasswdupdates only/etc/shadow, leaving SHUI and Sunshine out of synchronisation. - Always update passwords through the SHUI web interface so changes propagate atomically to the Linux account, Sunshine, and the web portal.
Case 4.5: Resetting a Forgotten Administrator Password
If you are locked out of the Steam Headless web portal and have forgotten the administrator password, you can trigger an appliance credential reset by deleting the authentication state file and restarting the container. This regenerates a fresh bootstrap password while preserving all your personal data, game saves, desktop configurations, and Sunshine client pairings.
What you see
- You cannot sign in to the web interface with your permanent password.
- You do not have an active browser session on another device to use Change Password.
How to confirm this issue
Verify that the container is running and that its state directory is intact:
docker exec steam-headless-a ls -l /var/lib/steam-headless/auth/
If state.json is present and you cannot sign in, you can safely reset credentials.
Step-by-step resolution
- Delete the authentication state file inside the container:
(Alternatively, if the container is stopped, deletedocker exec steam-headless-a rm -f /var/lib/steam-headless/auth/state.json
state.jsoninside theauth/directory on your mapped host volume or storage path). - Restart the container:
(Ordocker restart steam-headless-a
docker compose restart desktop-aif using Docker Compose). When the container boots and detects that the appliance installation marker exists but the authentication state is absent, it automatically enters bootstrap mode and generates a fresh temporary bootstrap password. - Follow First Run & Sign-In: Locate the Initial Bootstrap Password (or Case 4.1: Locating the initial setup password) to retrieve the newly generated bootstrap password from the container startup output.
- Navigate to
https://<CONTAINER_IP>:8483in your browser, sign in using usernamesteamheadlessand your new temporary bootstrap password, and establish your new permanent replacement password.
Delete only auth/state.json (or the contents of auth/). Never delete the entire state directory or remove installation.json, and never delete /home/steamheadless or /mnt/games. Deleting the user home destroys your Steam logins, Proton prefixes, game saves, Flatpaks, and Sunshine pairing certificates.
Next Steps
Once the container starts cleanly and reaches the running state:
- If you cannot connect to the web interface or receive connection errors, consult Network Troubleshooting.
- If the web portal loads but hardware acceleration fails, proceed to GPU and Hardware Encoding Troubleshooting.