Launching Steam closing session

Hi,

When I try to launch Steam, after it load user content, NixOs came back to login screen…

What should I do ?

nix-shell -p nix-info --run "nix-info -m"
 - system: `"x86_64-linux"`
 - host os: `Linux 6.12.34, NixOS, 25.05 (Warbler), 25.05.804936.a676066377a2`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.28.3`
 - channels(root): `"musnix, nixos-25.05"`
 - nixpkgs: `/nix/store/zlc6g9gnww4c7ab6pyl16abql29wi3df-nixos-25.05/nixos`

.local/share/Steam/logs/console_log.txt

[2025-06-29 01:22:47] Client version: 1747701111
[2025-06-29 01:22:47] wayland: skipping init because GAMESCOPE_WAYLAND_DISPLAY is not set
[2025-06-29 01:22:47] Warning: wayland init failed, some functionality may be unavailable
[2025-06-29 01:22:47] Using udev for HIDAPI joystick device discovery
[2025-06-29 01:22:47] Added HIDAPI device 'PS4 Controller' VID 0x054c, PID 0x0ba0, bluetooth 0, version 256, serial a4-ae-11-f5-63-b4, interface 3, interface_class 0, interface_subclass 0, interface_protocol 0, usage page 0x0001, usage 0x0005, path = /dev/hidraw11, driver = SDL_JOYSTICK_HIDAPI_PS4 (ENABLED)
[2025-06-29 01:22:47] udev disabled by SDL_JOYSTICK_DISABLE_UDEV
[2025-06-29 01:22:47] Loaded SDL version release-3.2.6-540-g25f2376e7
[2025-06-29 01:22:47] GetWin32Stats: display was not open yet, good
[2025-06-29 01:22:47] GetWin32Stats: display was not open yet, good
[2025-06-29 01:22:47] Could not connect to X session manager: Authentication Rejected, reason : None of the authentication protocols specified are supported and h
[2025-06-29 01:22:47] Warning: failed to set thread priority: set failed for 8: setpriority() failed
[2025-06-29 01:22:47] Warning: failed to set thread priority: set failed for priority 8
[2025-06-29 01:22:47] Warning: support for elevated priorities is most likely unavailable, suppressing future warnings
[2025-06-29 01:22:47] Warning: failed to set thread priority: set failed for 8: setpriority() failed
[2025-06-29 01:22:47] wayland: skipping init because GAMESCOPE_WAYLAND_DISPLAY is not set
[2025-06-29 01:22:47] Steam Runtime Launch Service: starting steam-runtime-launcher-service
[2025-06-29 01:22:47] Steam Runtime Launch Service: steam-runtime-launcher-service is running pid 78140
[2025-06-29 01:22:47] Local Device Found
  type: 054c 0ba0
  path: sdl://1
  serial_number:  - 0
[2025-06-29 01:22:47]   Manufacturer: 
[2025-06-29 01:22:47]   Product:      PS4 Controller
[2025-06-29 01:22:47]   Release:      100
[2025-06-29 01:22:47]   Interface:    -1

[2025-06-29 01:22:47] !! Steam controller device opened for index 0.
[2025-06-29 01:22:47] WARNING: org.freedesktop.ScreenSaver.SimulateUserActivity() is not supported. Falling back to Inhibit(): GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.ScreenSaver was not provided by any .service files
[2025-06-29 01:22:47] Failed to grab screensaver inhibit lock: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.ScreenSaver was not provided by any .service files
[2025-06-29 01:22:47] Failed to simulate user activity to inhibit screen saver
[2025-06-29 01:22:47] Failed to init SteamVR because it isn't installed
[2025-06-29 01:22:51] Console Log Start
[2025-06-29 01:22:51] !! Controller 0 attributes:
  Type: 34
  ProductID: 2976
  Serial: Awaiting_Logon
  Capabilities: 02175bff
  Firmware Version: 0
[2025-06-29 01:22:51] Loaded Config for Local Selection Path for App ID 769, Controller 0: controller_base/basicui_gamepad.vdf
[2025-06-29 01:22:51] Loaded Config for Last Resort Path for App ID 769, Controller 0: /home/xeniclex/.local/share/Steam//controller_base/basicui_gamepad.vdf
[2025-06-29 01:22:51] Loaded Config for Last Resort Path for App ID 769, Controller 0: /home/xeniclex/.local/share/Steam//controller_base/basicui_gamepad.vdf
[2025-06-29 01:22:52] GetIPCConnectionDetails: lsof -P -F upnR -i TCP@127.0.0.1:39026
[2025-06-29 01:22:52] GetIPCConnectionDetails: lsof -P -F upnR -i TCP@127.0.0.1:43004
[2025-06-29 01:22:52] GetIPCConnectionDetails: p77997
[2025-06-29 01:22:52] GetIPCConnectionDetails: R76797
[2025-06-29 01:22:52] GetIPCConnectionDetails: u1000
[2025-06-29 01:22:52] GetIPCConnectionDetails: nlocalhost:34571->localhost:43004
[2025-06-29 01:22:52] GetIPCConnectionDetails: p78293
[2025-06-29 01:22:52] GetIPCConnectionDetails: R78262
[2025-06-29 01:22:52] GetIPCConnectionDetails: u1000
[2025-06-29 01:22:52] GetIPCConnectionDetails: nlocalhost:43004->localhost:34571
[2025-06-29 01:22:52] GetIPCConnectionDetails: p77997
[2025-06-29 01:22:52] GetIPCConnectionDetails: R76797
[2025-06-29 01:22:52] GetIPCConnectionDetails: u1000
[2025-06-29 01:22:52] GetIPCConnectionDetails: nlocalhost:36091->localhost:39026
[2025-06-29 01:22:52] GetIPCConnectionDetails: p78293
[2025-06-29 01:22:52] GetIPCConnectionDetails: R78262
[2025-06-29 01:22:52] GetIPCConnectionDetails: u1000
[2025-06-29 01:22:52] GetIPCConnectionDetails: nlocalhost:39026->localhost:36091
[2025-06-29 01:24:04] src/clientdll/cminterface.cpp (3748) : Assertion Failed: Expected connection state 0/1 but got 2
[2025-06-29 01:24:04] src/clientdll/cminterface.cpp (3751) : 0 == m_CMConnection.GetHConnection()
[2025-06-29 01:24:04] IPC function call IClientUser::BConnected took too long: 236 msec
[2025-06-29 01:24:04] LogonFailure No Connection
[2025-06-29 01:24:36] roaming config store loaded successfully - 0 bytes.
[2025-06-29 01:24:36] GLibLog: domain:Gtk  msg:gtk_disable_setlocale() must be called before gtk_init()
[2025-06-29 01:24:37] saving roaming config store to 'sharedconfig.vdf'
[2025-06-29 01:24:37] CConfigStore::FlushToDisk() - RemoteStorage().FileWrite() returned false, will retry.
[2025-06-29 01:24:38] saving roaming config store to 'sharedconfig.vdf'
[2025-06-29 01:24:38] roaming config store 2 saved successfully
[2025-06-29 01:24:41] Controller 0 disconnected
[2025-06-29 01:24:41] Could not connect to X session manager: Authentication Rejected, reason : None of the authentication protocols specified are supported and h
[2025-06-29 01:24:41] Could not connect to X session manager: Authentication Rejected, reason : None of the authentication protocols specified are supported and h
[2025-06-29 01:24:41] System startup time: 113.99 seconds
[2025-06-29 01:24:41] !! Controller 0 attributes:
  Type: 34
  ProductID: 2976
  Serial: a4ae11f563b4
  Capabilities: 02175bff
  Firmware Version: 0
[2025-06-29 01:24:41] Loaded Config for Local Selection Path for App ID 769, Controller 0: controller_base/basicui_gamepad.vdf
[2025-06-29 01:24:41] Loaded Config for Last Resort Path for App ID 769, Controller 0: /home/xeniclex/.local/share/Steam//controller_base/basicui_gamepad.vdf
[2025-06-29 01:24:41] Loaded Config for Last Resort Path for App ID 769, Controller 0: /home/xeniclex/.local/share/Steam//controller_base/basicui_gamepad.vdf
[2025-06-29 01:24:41] Loaded Config for Local Override Path for App ID 413080, Controller 0: /home/xeniclex/.local/share/Steam//controller_base/empty.vdf
[2025-06-29 01:24:41] Loaded Config for Local Override Path for App ID 413080, Controller 0: /home/xeniclex/.local/share/Steam//controller_base/empty.vdf


[2025-06-29 01:39:49] Client version: 1747701111
[2025-06-29 01:39:49] wayland: skipping init because GAMESCOPE_WAYLAND_DISPLAY is not set
[2025-06-29 01:39:49] Warning: wayland init failed, some functionality may be unavailable
[2025-06-29 01:39:49] Using udev for HIDAPI joystick device discovery
[2025-06-29 01:39:49] Added HIDAPI device 'PS4 Controller' VID 0x054c, PID 0x0ba0, bluetooth 0, version 256, serial 00:00:00:00:00:00, interface 3, interface_class 0, interface_subclass 0, interface_protocol 0, usage page 0x0001, usage 0x0005, path = /dev/hidraw11, driver = SDL_JOYSTICK_HIDAPI_PS4 (ENABLED)
[2025-06-29 01:39:49] udev disabled by SDL_JOYSTICK_DISABLE_UDEV
[2025-06-29 01:39:49] Loaded SDL version release-3.2.6-540-g25f2376e7
[2025-06-29 01:39:49] GetWin32Stats: display was not open yet, good
[2025-06-29 01:39:49] GetWin32Stats: display was not open yet, good
[2025-06-29 01:39:49] Could not connect to X session manager: Authentication Rejected, reason : None of the authentication protocols specified are supported and h
[2025-06-29 01:39:49] Warning: failed to set thread priority: set failed for 8: setpriority() failed
[2025-06-29 01:39:49] Warning: failed to set thread priority: set failed for priority 8
[2025-06-29 01:39:49] Warning: support for elevated priorities is most likely unavailable, suppressing future warnings
[2025-06-29 01:39:49] Warning: failed to set thread priority: set failed for 8: setpriority() failed
[2025-06-29 01:39:49] wayland: skipping init because GAMESCOPE_WAYLAND_DISPLAY is not set
[2025-06-29 01:39:49] Steam Runtime Launch Service: starting steam-runtime-launcher-service
[2025-06-29 01:39:49] Steam Runtime Launch Service: steam-runtime-launcher-service is running pid 2310
[2025-06-29 01:39:49] Failed to init SteamVR because it isn't installed
[2025-06-29 01:39:53] roaming config store loaded successfully - 0 bytes.
[2025-06-29 01:39:53] Console Log Start
[2025-06-29 01:39:53] GLibLog: domain:Gtk  msg:gtk_disable_setlocale() must be called before gtk_init()
[2025-06-29 01:39:54] GetIPCConnectionDetails: lsof -P -F upnR -i TCP@127.0.0.1:36032
[2025-06-29 01:39:54] GetIPCConnectionDetails: lsof -P -F upnR -i TCP@127.0.0.1:56278
[2025-06-29 01:39:54] GetIPCConnectionDetails: p2211
[2025-06-29 01:39:54] GetIPCConnectionDetails: R2111
[2025-06-29 01:39:54] GetIPCConnectionDetails: u1000
[2025-06-29 01:39:54] GetIPCConnectionDetails: nlocalhost:41059->localhost:36032
[2025-06-29 01:39:54] GetIPCConnectionDetails: p2518
[2025-06-29 01:39:54] GetIPCConnectionDetails: R2487
[2025-06-29 01:39:54] GetIPCConnectionDetails: u1000
[2025-06-29 01:39:54] GetIPCConnectionDetails: nlocalhost:36032->localhost:41059
[2025-06-29 01:39:54] GetIPCConnectionDetails: p2211
[2025-06-29 01:39:54] GetIPCConnectionDetails: R2111
[2025-06-29 01:39:54] GetIPCConnectionDetails: u1000
[2025-06-29 01:39:54] GetIPCConnectionDetails: nlocalhost:40383->localhost:56278
[2025-06-29 01:39:54] GetIPCConnectionDetails: p2518
[2025-06-29 01:39:54] GetIPCConnectionDetails: R2487
[2025-06-29 01:39:54] GetIPCConnectionDetails: u1000
[2025-06-29 01:39:54] GetIPCConnectionDetails: nlocalhost:56278->localhost:40383
[2025-06-29 01:39:58] Could not connect to X session manager: Authentication Rejected, reason : None of the authentication protocols specified are supported and h
[2025-06-29 01:39:58] Could not connect to X session manager: Authentication Rejected, reason : None of the authentication protocols specified are supported and h
[2025-06-29 01:39:58] System startup time: 8.82 seconds

Thanks in advance for any helps !

steam --reset

And it worked again ! :smiley:

Re-launching steam the second time remake back to login screen…
I need to launch steam with --reset ! :frowning:

I have found that it only work when launched from terminal…(without reset)

Finally I’ve made a launcher for steam on my desktop and it worked… :confused: