Repository navigation
Description
Your system information
- Steam client version (build number or date): 1794536281 (from
steam_client_steamrt64.manifest) - Distribution (e.g. Ubuntu): NixOS 27.05 (unstable)
- Opted into Steam client beta?: No
- Have you checked for system updates?: Yes
- Steam Logs: not attached, as they are not relevant to this issue. The relevant process environments are below.
- GPU: Nvidia
Steam Linux Runtime: steamrt3c 3c.0.20261103.268067, pressure-vessel 0.20261103.0
Please describe your issue in as much detail as possible:
steamrt64/pv-run.sh line 16 runs export SHELL=/bin/bash unconditionally, before srt-client-container is started. The variable therefore also applies to processes outside the container, including srt-launcher-service --alongside-steam. Host applications opened by Steam inherit it in place of the user's own SHELL.
Expected: host applications opened from Steam (file manager, browser) see the user's own SHELL.
Actual: they see SHELL=/bin/bash, and so does anything started from them.
Where the value changes, from /proc/<pid>/environ:
| Process | Where it runs | SHELL |
|---|---|---|
steam -srt-logger-opened (first instance) |
outside pressure-vessel | /run/current-system/sw/bin/bash (my login shell) |
srt-client-container |
outside pressure-vessel | /bin/bash |
srt-launcher-service --alongside-steam |
outside pressure-vessel | /bin/bash |
steam -srt-logger-opened (container instance) |
inside pressure-vessel | /bin/bash |
| Dolphin, opened from Steam | host | /bin/bash |
Dolphin has the same variable names in its environment as srt-launcher-service, apart from _ and GIO_EXTRA_MODULES, so it appears to be started through that service.
Terminal emulators commonly start $SHELL, so opening a terminal from that file manager window is affected. On NixOS /bin/bash doesn't exist, so the terminal fails to start. With Alacritty:
Error: Custom { kind: NotFound, error: "Failed to spawn command '/bin/bash': No such file or directory (os error 2)" }
From reading the script, this should not be specific to NixOS: I would expect zsh or fish users on other distributions to get bash instead of their own shell, with no error. I have only tested on NixOS.
Possible fix: set SHELL only for the process inside the container, or restore the original value for the --alongside-steam launcher service.
Steps for reproducing this issue:
- Use a login shell other than
/bin/bash, and close all file manager windows. - Start Steam and open a folder from it in the file manager (in my case, the game recordings folder from Steam Settings, in Dolphin).
- Check
SHELLin the file manager's environment:tr '\0' '\n' < /proc/$(pgrep -o dolphin)/environ | grep ^SHELL=. It printsSHELL=/bin/bash. - Open a terminal from that window. On a system without
/bin/bash, a terminal that starts$SHELLfails to start.
The launcher service shows the same value without a file manager: tr '\0' '\n' < /proc/$(pgrep -of 'srt-launcher-service --alongside-steam')/environ | grep ^SHELL=
Activity