Posts: 4,549
Joined: Dec 2007
Reputation:
17
topfs2
Team-Kodi Developer
Posts: 4,549
there are 2 priveleges normally for this, one allows for shutdown when only one user is active and another allows for shutdown even if multiple users are active. So it depends how you have set it up, normally on ubuntu desktop only the one user shutdown is active and the other asks for extra privs when it occurs. On live I think this should hold true aswell but I am not 100% sure, you can revoke your user the access to allow for multiple user shutdown via polkit
If you have problems please read
this before posting
Always read the
XBMC online-manual,
FAQ and
search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the
forum rules.
For troubleshooting and bug reporting please make sure you
read this first.
"Well Im gonna download the code and look at it a bit but I'm certainly not a really good C/C++ programer but I'd help as much as I can, I mostly write in C#."
Posts: 2,529
Joined: Apr 2009
Reputation:
8
from what I can observe in live 10
stop-muliple-users & restart-multipel-users is set to <allow_active>auth_admin</allow_active>
In 9.11 it was allowed. However, you can still reboot with an active ssh session with the default setup. It takes a background x session e.g. gnome to stop xbmc from rebooting and I assume also shutdown.
Posts: 4,549
Joined: Dec 2007
Reputation:
17
topfs2
Team-Kodi Developer
Posts: 4,549
Somehow I'd say idle should not cause it but explicitely call it in the shutdown dialog perhaps should, I doubt we can do that though.
Anyways, I'd say that is not how it should behave, if someone is logged in through ssh it should not shutdown, thats wrong. Please submit a ticket for it and how to fix if possible.
If you have problems please read
this before posting
Always read the
XBMC online-manual,
FAQ and
search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the
forum rules.
For troubleshooting and bug reporting please make sure you
read this first.
"Well Im gonna download the code and look at it a bit but I'm certainly not a really good C/C++ programer but I'd help as much as I can, I mostly write in C#."
Posts: 2,529
Joined: Apr 2009
Reputation:
8
/usr/share/polkit-1/actions/org.freedesktop.consolekit.policy
Posts: 29
Joined: Oct 2010
Reputation:
0
tbh I dont!
The situation is quite wired.
Yesterday I was connected to my XBMC via ssh over an hour and it did not shutwdown
I cant find anything regarding the shutdown in any log... so I am still not sure...
But its "good" to hear that I am not the only one who suffers under those circumstances, though :/
Posts: 4,549
Joined: Dec 2007
Reputation:
17
topfs2
Team-Kodi Developer
Posts: 4,549
vikjon gave the solution I would say.
If you have problems please read
this before posting
Always read the
XBMC online-manual,
FAQ and
search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the
forum rules.
For troubleshooting and bug reporting please make sure you
read this first.
"Well Im gonna download the code and look at it a bit but I'm certainly not a really good C/C++ programer but I'd help as much as I can, I mostly write in C#."
Posts: 29
Joined: Oct 2010
Reputation:
0
Sorry, I still dont understand ... :/
In my case its also <allow_active>auth_admin</allow_active>
What should be instead?
Posts: 2,529
Joined: Apr 2009
Reputation:
8
2011-03-18, 20:44
(This post was last modified: 2011-03-18, 20:44 by vikjon0.)
It can, afaik (see topfs2 I did the acro), be yes, no or auth_admin so I guess try "no" but to be honest I am not sure it will work. As far as I could observe the ssh did not seem to count as a "session" in this context.
Another option would be to do the google on the information you gathered here and see what pops out in the other end.