You are not logged in.
Pages: 1
Topic closed
I cannot shutdown my HTPC via XBMC. When I try to shut it down, I just ends up back in the shell. Im not running any WM and I autostart XBMC via .xinitrc so I have to make a hard shutdown everytime.
Dunno what to do?
Last edited by Hund (2011-01-04 23:52:54)
Offline
is your xbmc user in the power group?
do you start it via ck-launch in xinitrc?
my htpc has both of these things and it shuts down fine from xbmc; i was actually surprised it worked so quickly out-of-the-box (i expected some sudo hackery to be required...).
//github/
Offline
Yepp, I am.
Never heard of ck-launch.I had a look at the website, but it wasnt much of a helper. How does it work?
Offline
Offline
Offline
What brisbin suggested is the way to go; maybe the wiki page is a bit outdated, but that's how it's working here too. I can restart Xbmc, shutdown and reboot (and suspend, but haven't tried that) the system from within Xbmc, thanks to using ck-launch to start my session.
Got Leenucks? :: Arch: Power in simplicity :: Get Counted! Registered Linux User #392717 :: Blog thingy
Offline
exec /usr/bin/ck-launch-session xbmc
That worked. ![]()
Last edited by Hund (2010-05-02 18:44:28)
Offline
i just su then poweroff
Offline
i just su then poweroff
It's my HTPC.I only have a Logitech DiNovo Mini.
Offline
Ever since I upgraded XBMC to 10.0 the problem is back. I have the same installation with Arch.
Offline
There have been topics about that on the forum; I suggest you perform a search.
Hint: look in xbmc's optdepends.
Got Leenucks? :: Arch: Power in simplicity :: Get Counted! Registered Linux User #392717 :: Blog thingy
Offline
Thanks! I googled, but didnt come up with anything. ![]()
Offline
well... make sure you have upower installed... (and udisks).
and also check if the powerbutton default action is "shutdown" and not "exit" (xbmc settings)
Last edited by TigTex (2011-01-05 15:33:55)
.::. TigTex @ Portugal .::.
Offline
Same problem here since an upgrade to the recent xbmc version.
- hal removed
- udisks and upower installed
- my user is in the 'power' group
I start X via /etc/inittab:
x:5:respawn:/bin/su lynix -l -c "/bin/bash --login -c 'startx xbmc'>/dev/null 2>&1"and my .xinitrc is:
#!/bin/sh
nvidia-settings -l
if [ "$2" == "xbmc" ]; then
# start XBMC
exec ck-launch-session /usr/bin/dbus-launch --exit-with-session /usr/bin/xbmc --standalone -fs --debug &>$HOME/.xsession-errors
else
# start openbox session
exec ck-launch-session openbox-session &>$HOME/.xsession-errors
fiAny hints what could be wrong? ![]()
Offline
Not the same problem. I started a thread about this a while ago, it's a problem with ck-launch-session registering your auto-login session as remote, thus not granting shutdown/reboot/suspend/... powers.
Open a separate topic if it doesn't work. Good luck.
Got Leenucks? :: Arch: Power in simplicity :: Get Counted! Registered Linux User #392717 :: Blog thingy
Offline
Pages: 1
Topic closed