Repository navigation
Headless Steam Setup
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.
Sign in to Aurelia with the account that owns your games. Headless Steam reuses this login:
aurelia loginThen turn headless mode on:
aurelia config steam-headless true
aurelia config steam-headless # check: prints "Headless Steam: enabled"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 stopThe 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 hostWhen a game needs Steam, Aurelia starts the host Steam headless by itself. You don't have to
run host-steam start first.
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 installThe 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 stopPlay a game through it:
aurelia play <APP_ID> --steam-mode wineTray 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 headlessA 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.
Turn headless mode on as in step 1, then:
aurelia host-steam start # returns once Steam is signed in
aurelia host-steam stopAurelia 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.
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.
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.
All options of the commands above.
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 }.
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_rt3isnullwhen no host Steam is installed.
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. |
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 }.
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.
Users
- Quick-Start
- Features
-
Usage
- Global behavior
- Authentication
- Library
- Store & discovery
- Collections
- Install & maintenance
- Launching
- Depots & branches
- Downgrade & pinning
- Steam Cloud
- Steam Workshop
- Friends & chat
- Inventory & market
- Configuration
- Proton & Wine
- Steam-Wine
- Luxtorpeda plugin
- umu-launcher plugin
- Launch scripts
- Session daemon
- Files & locations
- Exit codes & logging
- Steam-Wine setup guide
- Headless Steam setup (experimental)
- Headless Steam memory
Maintainers
Architecture