protonscr

Steam leaves files behind that prevents subsequent users from running it

steamclosed reviewedSteam client
ValveSoftware/steam-for-linux#3570 · opened 2014-11-03 by scaronni · updated 2018-04-20 · 8 comments · github
Sscaronni 2014-11-03 github

After exiting Steam, some files are left behind. This prevents other users logging into the system from using Steam.

Details:

This is the error that is printed in the log:

/home/buildbot/buildslave_steam/steam_rel_client_ubuntu12_linux/build/src/webhelper/../common/html/chrome_ipc_server.cpp (155) : Assertion Failed: !"Failed to bind shmem socket"

After exiting the client, the Chrome socket is left behind in /tmp with restricted permissions, preventing a new user that subsequently logs in the system from overwriting the file and thus starting the client.

$ ls -al /tmp/steam_chrome_shmem 
srwxrwxr-x. 1 slaanesh slaanesh 0 Nov  3 10:40 /tmp/steam_chrome_shmem

A simple rm command in the Steam startup script should suffice in solving this, as the file it's recreated when starting again the client.

Thanks,
--Simone

TTele42 2014-11-03 github

The file really should be created with a $PID appended to it, because it is in a shared space where collisions can happen.

Rroy937 2014-11-04 github

The file should be created somewhere in $HOME. Nobody else can delete it. (except root)

Rroy937 2015-01-02 github

Every time I start Steam I am doing "sudo rm -f /tmp/steam_chrome_shmem".
And then when I quit Steam I do it again.
If I forget, my son coming to pc after me won't start Steam properly and have to reboot pc.
It's realy a pain...
Hello STEAM people, is it really so hard to fix it?

AArseniyShestakov 2015-01-17 github

Confirm this one for latest stable Steam client.
It's just make Steam UI freeze.

Sscaronni 2015-05-25 github

Ping...

Rroy937 2015-05-26 github

Reply.

scaronni píše v Po 25. 05. 2015 v 08:54 -0700:

Ping...


Reply to this email directly or view it on GitHub.

CChidorin 2017-01-22 github

sorry if i'm in wrong section, couldn't find mac one
same problem: long steam response, couldn't find steam_chrome_shmem on sierra
any changes on names/routes?

Kkisak-valve maintainer 2018-04-20 github

Closing as the file name conflict was fixed some time ago.

Nothing extracted yet.