2011-01-01, 19:16
Shutdown closes XBMC and launches it again, Suspend does nothing.
Most likely a permissions problem, however every guide and every answered question I found seems to be outdated. Fro example:
http://wiki.xbmc.org/?title=XBMCbuntu#En...r_to_sleep
The polkit-auth command is missing from my HTPC. apt-get install policykit fail to locate the required package. apt-get install policykit-1 reports that the requested package is already installed.
Since none of the guides explains the WHYs, only the HOWs, when something breaks I have no idea how to fix it. So, any idea what should I do to grant the xbmc user the required permissions to shutdown and suspend the system?
Most likely a permissions problem, however every guide and every answered question I found seems to be outdated. Fro example:
http://wiki.xbmc.org/?title=XBMCbuntu#En...r_to_sleep
Quote:The sleep button in XBMC may not work without running the following:
sudo polkit-auth --user xbmc --grant org.freedesktop.hal.power-management.suspend
sudo polkit-auth --user xbmc --grant org.freedesktop.hal.power-management.hibernate
sudo polkit-auth --user xbmc --grant org.freedesktop.hal.power-management.reboot
sudo polkit-auth --user xbmc --grant org.freedesktop.hal.power-management.shutdown
sudo polkit-auth --user xbmc --grant org.freedesktop.hal.power-management.reboot-multiple-sessions
sudo polkit-auth --user xbmc --grant org.freedesktop.hal.power-management.shutdown-multiple-sessions
The polkit-auth command is missing from my HTPC. apt-get install policykit fail to locate the required package. apt-get install policykit-1 reports that the requested package is already installed.
Since none of the guides explains the WHYs, only the HOWs, when something breaks I have no idea how to fix it. So, any idea what should I do to grant the xbmc user the required permissions to shutdown and suspend the system?