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:
> > 
> > cor...@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?
> 
cor...@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

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to