protonscr

Steam - BPM: Shutdown and restart not working

steamclosed Big Picturereviewed
ValveSoftware/steam-for-linux#3333 · opened 2014-05-30 by melo0187 · updated 2015-05-29 · 12 comments · github
Mmelo0187 2014-05-30 github

I'm running Steam on Ubuntu 14.04 64-bit (Kernel 3.13.0-24-generic) and Steam doesn't seem to be able to shutdown or reboot the system.
When selecting "Shutdown" or "Restart" in BPM simply nothing happens. I can choose return to desktop or exit Steam, but selecting shutdown or reboot does nothing. I was running Steam on Ubuntu 13.04 before and was not experiencing this problem.

Related discussion on steamcommunity: http://steamcommunity.com/app/221410/discussions/0/558754259527313408/

Hope this gets a little attention since you can not finish a gaming session from the couch, making the use of BPM less attractive.

I would be glad to help with system details, tests and any information I can provide.

Aajcollett 2014-05-31 github

I have this same issue. 14.04

Eerpadmin 2014-06-01 github

Unable to reproduce here (on Linux Mint 16 (ubuntu 13.10)) so I won't be able to help much

Pehaps check (right after the attempt)

  • dmesg
  • ~/.local/share/Steam/logs/*
  • ~/.xsession-errors

sometimes default desktop environment security settings get in the way

and you could try launching steam from terminal to see if STDOUT/STDERR there produces anything useful when you make an attempt

Mmelo0187 2014-06-01 github

Nothing related could be found in either dmesg, Steam logs or xsessions-erros.

According to CompanionTube in the Steam community it's because of Ubuntu 14.04 not shipping with hal anymore: http://steamcommunity.com/app/221410/discussions/0/558754259527313408/?tscn=1401631423#c540743212630943382

Dunno how to verify and what this means for this problem's solution...

Aajcollett 2014-06-01 github

I can confirm nothing useful on dmesg and steam logs. However an error was output in terminal when pressing shutdown or restart in BPM.

Error org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.ConsoleKit was not provided by any .service files

That was spat out each time shutdown or restart was pressed.

Also, I installed HAL from this ppa:

https://launchpad.net/~mjblenner/+archive/ppa-hal

And it didn't help.

Eerpadmin 2014-06-01 github

ok so your newer system does not have consolekit installed? this output is from an older linux mint 15 box

# dpkg -l consolekit
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name                                 Version                 Architecture            Description
+++-====================================-=======================-=======================-==============================================================================
ii  consolekit                           0.4.5-3.1ubuntu2        amd64                   framework for defining and tracking users, sessions and seats

My guess is that its looking for:
/usr/share/dbus-1/system-services/org.freedesktop.ConsoleKit.service

Aajcollett 2014-06-01 github

I can confirm consolekit was not installed. I then installed it and the shutdown in BPM worked!

Thus, either consolekit must be added to the dependencies, I'd guess, or another way of implementing the shut down and restart should be found? How does XBMC work?

Anything else I can help with?

I'll post the work around on the steam forum for now.

Eerpadmin 2014-06-01 github

I think consolekit is being dropped in favor of logind, but don't quote me on that. So assuming there are no side effects, the short term fix could be for Steam to depend on consolekit.

Aajcollett 2014-06-01 github

I'll let you know if there are any side effects that I find.

So where to go from here? presumably someone will sort it out? (I be noob at this)

Eerpadmin 2014-06-01 github

I'll go out on a limb here and say that nice green "reviewed" tag and the assigned to johnv-valve icon that just popped up answers that question.

Aajcollett 2014-06-01 github

Great, thanks. :-)

Jjohnv-valve maintainer 2015-05-28 github

reboot and shutdown should now work if you have either ConsoleKit OR logind/systemd.

Mmelo0187 2015-05-29 github

I am confused. Just yesterday I had to install ConsoleKit on Ubuntu 15.04 64bit to get reboot and shutdown to work in Steam BPM, but you say having systemd should also work. Ubuntu 15.04 made the switch to systemd. So why did I still need to install ConsoleKit to make this work or am I mixing things up here?
Thanks in advance for clarification.

Nothing extracted yet.