Steam fails to start on i3-wm

steam.sh[6937]: Running Steam on nixos 24.05 64-bit
steam.sh[6937]: STEAM_RUNTIME is enabled automatically
setup.sh[7016]: Updating Steam runtime environment...
Authorization required, but no authorization protocol specified


(zenity:7024): Gtk-WARNING **: 08:18:30.505: Failed to open display
steam.sh[6937]: Can't find 'steam-runtime-check-requirements', continuing anyway
[2023-12-19 08:18:30] Startup - updater built Nov 22 2021 22:06:59
ILocalize::AddFile() failed to load file "public/steambootstrapper_english.txt".
Installing breakpad exception handler for appid(steam)/version(0)
Authorization required, but no authorization protocol specified

src/steamexe/updateui_xwin.cpp (338) : Could not open connection to X
src/steamexe/updateui_xwin.cpp (338) : Could not open connection to X
Installing breakpad exception handler for appid(steam)/version(1.0)
assert_20231219081830_4.dmp[7081]: Uploading dump (out-of-process)
/tmp/dumps/assert_20231219081830_4.dmp
src/steamexe/main.cpp (849) : failed to initialize update status ui, or create initial window
src/steamexe/main.cpp (849) : failed to initialize update status ui, or create initial window
Authorization required, but no authorization protocol specified

I am on the unstable channel.

Steam was installed using programs.steam.enable = true;

I am using NVIDIA proprietary drivers installed using this guide

The problem is not specific to i3-wm. Steam does not start on KDE Plasma as well.

I’m also getting this exact same issue on KDE, which started yesterday after updating.

Hoping to find a fix, but this is currently the only post I can find about this issue.

Will follow up here if I figure it out.

This was recently fixed in this PR: buildFHSEnv, steam: fix privateTmp for sddm, make privateTmp overrideable by tejing1 · Pull Request #275857 · NixOS/nixpkgs · GitHub

1 Like