[Pkg-utopia-maintainers] Bug#582305: Bug#582305: upower: can't obtain suspend/hibernate authorization

Yves-Alexis Perez corsac at debian.org
Wed May 19 21:06:03 UTC 2010


On mer., 2010-05-19 at 23:05 +0200, Michael Biebl wrote:
> On 19.05.2010 22:53, Yves-Alexis Perez wrote:
> 
> > 
> > and the logs from debug xfpm give:
> > 
> > TRACE[xfpm-polkit.c:407] xfpm_polkit_check_auth_intern(): Action=org.freedesktop.upower.suspend is authorized=FALSE
> > TRACE[xfpm-polkit.c:407] xfpm_polkit_check_auth_intern(): Action=org.freedesktop.upower.hibernate is authorized=FALSE
> > TRACE[xfpm-polkit.c:407] xfpm_polkit_check_auth_intern(): Action=org.freedesktop.udisks.drive-set-spindown is authorized=FALSE
> > 
> > polkit-auth returns nothing (but I'm told it's normal, not sure), when I
> > try to obtain authorization from polickit, I get:
> > 
> > corsac at hidalgo: POLKIT_AUTH_FORCE_TEXT=1 polkit-auth --obtain org.freedesktop.upower.suspend
> > Attempting to obtain authorization for org.freedesktop.upower.suspend.
> > polkit-grant-helper: given auth type (1 -> no) is bogus
> > Failed to obtain authorization for org.freedesktop.upower.suspend.
> > 
> > Looking at /usr/share/polkit-1/actions/org.freedesktop.upower.policy,
> > local users should get the “suspend” authorization automatically, so I'm
> > not sure what is the problem. Do you have any clue what's not working
> > there and a way to debug?
> > 
> 
> What's the output of ck-list-sessions?
> 
corsac at hidalgo: ck-list-sessions
Session39:
	unix-user = '1000'
	realname = 'Yves-Alexis Perez'
	seat = 'Seat1'
	session-type = ''
	active = TRUE
	x11-display = ':0'
	x11-display-device = '/dev/tty8'
	display-device = ''
	remote-host-name = ''
	is-local = TRUE
	on-since = '2010-05-19T20:14:16.819565Z'
	login-session-id = '4294967295'

Cheers,
-- 
Yves-Alexis
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part
URL: <http://lists.alioth.debian.org/pipermail/pkg-utopia-maintainers/attachments/20100519/58b5c1f0/attachment-0001.pgp>


More information about the Pkg-utopia-maintainers mailing list