[Sugar-devel] [PATCH] use ConsoleKit instead of HAL for shutdown/reboot
Sascha Silbe
sascha-ml-ui-sugar-devel at silbe.org
Wed Apr 21 04:17:14 EDT 2010
On Wed, Apr 21, 2010 at 01:18:53PM +1000, James Cameron wrote:
>> dbus.exceptions.DBusException:
>> org.freedesktop.ConsoleKit.Manager.NotPrivileged: Not privileged for
>> action: org.freedesktop.consolekit.system.restart-multiple-users
>> auth_admin_keep_always
> After the patch is applied, Sugar's shutdown and restart options fail
> if
> there are multiple logged in users; via SSH or text console.
Just digged around a bit; while both ConsoleKit and HAL go through
PolicyKit for "authentication", the names of the configuration variables
differ.
Since I've run into the same issue before (i.e. with HAL), I suppose the
default is the same but the OLPC builds explicitly configure HAL to
allow shutdowns even for multiple sessions?
CU Sascha
--
http://sascha.silbe.org/
http://www.infra-silbe.de/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 490 bytes
Desc: Digital signature
Url : http://lists.sugarlabs.org/archive/sugar-devel/attachments/20100421/b99d6758/attachment.pgp
More information about the Sugar-devel
mailing list