Additional users can’t run games in Game mode (Steam Deck)

I added additional system users for my kids on my deck. Whenever they try to run a game on their user in game mode, it does not open; the Proton log says
4123.984:011c:0120:err:winediag:nodrv_CreateWindow Application tried to create a window, but no driver could be loaded.
4123.984:011c:0120:err:winediag:nodrv_CreateWindow L"Make sure that your X server is running and that $DISPLAY is set correctly."
4123.984:011c:0120:err:winediag:nodrv_CreateWindow Application tried to create a window, but no driver could be loaded.
4123.984:011c:0120:err:winediag:nodrv_CreateWindow L"Make sure that your X server is running and that $DISPLAY is set correctly."
Running the same game(s) from Desktop mode works. Running games on the original user (mine) works in both Game and Desktop mode. Anyone have an idea?
10 Replies
Kyle Gospo
Kyle Gospo5mo ago
Deck images only support one user, same as SteamOS You may have multiple steam accounts under that one user
alterNERDtive
alterNERDtiveOP5mo ago
well i do have multiple users, and apart form that it works as expected 🤔
Kyle Gospo
Kyle Gospo5mo ago
Your game files are owned by another user, there's no good fix for this I would recommend just going with multiple accounts and not trying this further, the only possible realistic fix is a hack that changes ownership every time you log in
alterNERDtive
alterNERDtiveOP5mo ago
no, the game files are under their home (/var/home/<user>/), so are the prefixes but i got it, not supported
Kyle Gospo
Kyle Gospo5mo ago
Launch a failing game with PROTON_LOG=1 %command% as the launch option It'll make a log in your home dir that'll expose what it's blowing up on
alterNERDtive
alterNERDtiveOP5mo ago
i did, and the only error is what i posted above
alterNERDtive
alterNERDtiveOP5mo ago
full log (from a different attempt), user name censored
Kyle Gospo
Kyle Gospo5mo ago
If this is game mode, Valve has it hard coded to run as user 1000 So it may be that the x server has the wrong permissions for your user
alterNERDtive
alterNERDtiveOP5mo ago
ah, that would explain the issue though … how does it successfully write a log to the home directory? cause that definitely does not belong to user 1000 and according to ps the gamescope session is running under the correct user well, if anyone has any clues, fell free to ping me. also for reference i’m switching users with a modified return-to-gamemode@<user>.service, changing the auto login username.
Want results from more Discord servers?
Add your server