Skip to content

Headless Steam Setup

Drackrath edited this page Nov 30, 2026 · 4 revisions

Headless Steam setup (experimental)

Experimental. Linux, and Windows from 0.1.42-experimental.2. Headless mode is new and may break when Valve updates the Steam client. If something goes wrong, turn it off with aurelia config steam-headless false.

Headless mode runs Steam as a background service without Valve's UI. Logon, licences, DRM tickets, cloud saves and game launches keep working. Valve's UI is replaced by a small page that signs Steam in with your Aurelia login. It uses about 70 % less RAM: see Headless Steam memory.

One setting controls both clients Aurelia can start:

  • Host Steam: your normal Linux Steam install.
  • In-Wine Steam: the Steam inside Aurelia's Steam-Wine.

1. Common steps

Sign in to Aurelia with the account that owns your games. Headless Steam reuses this login:

aurelia login

Then turn headless mode on:

aurelia config steam-headless true
aurelia config steam-headless          # check: prints "Headless Steam: enabled"

2. Host Steam

You need:

  • Steam installed on the host.
  • bwrap (bubblewrap). On Arch: sudo pacman -S bubblewrap. On Debian/Ubuntu: sudo apt install bubblewrap.

Aurelia runs the host Steam in a bubblewrap mount namespace and only swaps the UI files there, so your Steam install is never modified.

Try it:

aurelia host-steam start    # returns once Steam is signed in
aurelia host-steam stop

The start command should print Started the host Steam (headless). and It is signed in.

Play a game through it:

aurelia play <APP_ID> --steam-mode host

When a game needs Steam, Aurelia starts the host Steam headless by itself. You don't have to run host-steam start first.

3. In-Wine Steam

You need: the Steam-Wine installed. If you haven't set it up yet:

aurelia config steam-wine-runner experimental   # tested with Proton Experimental
aurelia steam-wine install

The runtime belongs to Aurelia, so headless mode swaps files inside its Steam folder directly. Aurelia keeps Valve's originals next to them:

Valve's file Replaced by
steamwebhelper.exe a small wrapper that starts Chromium trimmed
steamui/index.html the stand-in page

Try it:

aurelia steam-wine start   # returns once Steam is signed in
aurelia steam-wine stop

Play a game through it:

aurelia play <APP_ID> --steam-mode wine

Tray icon. In headless mode the in-Wine Steam's tray icon is hidden, because clicking it would open a UI that isn't there. To change this:

aurelia steam-wine tray hide   # always hide
aurelia steam-wine tray show   # always show
aurelia steam-wine tray auto   # default: hide only when headless

A change takes effect the next time the in-Wine Steam starts.

Signing in with Valve's UI. aurelia steam-wine login still opens Valve's full UI. It puts the original files back first.

4. Windows

Turn headless mode on as in step 1, then:

aurelia host-steam start    # returns once Steam is signed in
aurelia host-steam stop

Aurelia swaps the same two files in your Steam folder (bin\cef\cef.win64\steamwebhelper.exe and steamui\index.html) and keeps Valve's originals beside them. While they're swapped, Steam starts with -noverifyfiles so it doesn't restore them. With aurelia config steam-headless false, the next start puts Valve's files back.

Steam's tray icon stays visible on Windows. Don't open Steam from it while headless: there is no UI to show.

On Windows 11, headless mode cut idle Steam from about 590 MB to about 100 MB (private working set), and Steam signed in within about 3 s: see Headless Steam memory.

Steam Linux Runtime 3 (optional)

Each client can run on Steam Linux Runtime 3. Headless mode works with both settings.

aurelia config steamrt3                 # show both settings
aurelia config steamrt3 host true       # host: Valve's 64-bit steamrt3c client
aurelia config steamrt3 wine true       # in-Wine Steam: Wine inside SteamLinuxRuntime_sniper
aurelia config steamrt3 both false
  • Host: sets Steam's own opt-in switch (~/.steam/steam/.steam-enable-steamrt64-client).
  • Wine: needs Steam Linux Runtime 3.0 (sniper) installed in the host Steam. Proton games install it automatically.

The change takes effect the next time that Steam starts.

Turning it off

aurelia config steam-headless false
  • Host Steam: nothing to restore, because its files were never changed.
  • In-Wine Steam: Valve's original files are restored the next time it starts.
  • Windows: Valve's original files are restored the next time Aurelia starts Steam.

Command reference

All options of the commands above.

config steam-headless

aurelia config steam-headless [true|false] [--json]

Turns headless mode on or off for every Steam client Aurelia starts. With no value it prints the setting.

Client How it's made headless
Host Steam (Linux) Runs in a bubblewrap mount namespace, so your install is never modified. Needs bwrap.
In-Wine Steam Aurelia swaps steamwebhelper.exe and steamui/index.html in its own prefix and keeps Valve's originals beside them.
Steam on Windows The same file swap in your Steam folder. While swapped, Steam starts with -noverifyfiles so it doesn't restore them.
  • When it applies: when Aurelia starts Steam (host-steam start, steam-wine start, play --steam). A Steam that's already running keeps its mode.
  • Turning it off: Valve's files are restored the next time Aurelia starts that Steam.
  • Sign-in: the stand-in page signs Steam in with your Aurelia login, also for the in-Wine Steam, which otherwise keeps its own login.
  • JSON: { "host_steam_headless": true|false }.

config steamrt3

aurelia config steamrt3 [host|wine|both] [true|false] [--json]

Runs a Steam client on Steam Linux Runtime 3 (Linux). With no arguments it prints both settings.

Client Effect
host Switches the host Steam to Valve's 64-bit steamrt3c client (steamrt64/steam). This is Steam's own opt-in file, .steam-enable-steamrt64-client in the Steam folder, so it also applies when you start Steam yourself.
wine Runs the in-Wine Steam's Wine inside the Steam Linux Runtime 3.0 (sniper) container. Without that runtime, Aurelia runs Wine directly and logs a warning.
both Both of the above.
  • When it applies: the next time that Steam starts.
  • JSON: { "host_steam_rt3": true|false|null, "wine_steam_rt3": true|false }. host_steam_rt3 is null when no host Steam is installed.

host-steam

aurelia host-steam start [--json]
aurelia host-steam stop  [--json]

The host Steam: your normal Linux Steam, or Steam on Windows.

Subcommand Description
start Starts Steam in the background (-silent), headless when enabled, and waits until it's signed in: up to 90 s headless, 30 s otherwise. If Steam is already running, it's left as it is.
stop Shuts Steam down (steam -shutdown) and waits up to 30 s for it to exit. Does nothing if it isn't running.

steam-wine start / stop / tray

aurelia steam-wine start [--json]
aurelia steam-wine stop  [--json]
aurelia steam-wine tray  [auto|show|hide] [--json]

The in-Wine Steam.

Subcommand Description
start Starts the in-Wine Steam in the background, set up as for a game launch (headless when enabled), and waits until it's signed in.
stop Stops the in-Wine Steam without uninstalling it. Wine gets time to save its registry before it exits, so settings such as the tray icon persist.
tray The tray icon. auto (default) hides it only while headless, show and hide always show or hide it. Takes effect the next time the in-Wine Steam starts. With no value it prints the setting.

The start commands print whether Steam started headless or with its UI, and whether it's signed in. Their --json output is { "status": "started"|"already_running", "headless": bool, "logged_on": bool }.

Troubleshooting

When a requirement is missing, Aurelia starts Steam with Valve's normal UI instead. It logs a warning when that happens, which you can see with -v.

Message Cause Fix
headless Steam needs an Aurelia login You're not signed in to Aurelia. aurelia login
headless Steam needs bwrap … bubblewrap is missing (host only). Install bubblewrap
this build has no CEF wrapper This Aurelia was built without mingw (in-Wine only). Use a release build, or install mingw-w64-gcc and rebuild
It has not signed in yet Steam didn't sign in within 90 s. Run aurelia login again, then retry

If the in-Wine Steam closes right after it starts, check that steam_wine_runner is set to Proton Experimental. Valve's Windows Steam client has failed to start under some GE-Proton builds.

Clone this wiki locally