Hal issue with kde 4 ?

Lex Hider floss at lex.hider.name
Thu Dec 13 00:41:40 UTC 2007


Kevin Kofler wrote:
> Lex Hider <floss <at> lex.hider.name> writes:
>>  > An error occurred while accessing 'Volume (vfat)' the system said:
>>  > org.freedesktop.Hal.PermissionDenied: Permission denied: Not in active
>>  > session
> 
> As Aaron J. Seigo correctly said, that one was ConsoleKit-related. What login 
> manager were you using? If it was something other than KDM (with Fedora 
> patches) or GDM, it's not even expected to work, as those are still the only 
> ones with ConsoleKit integration.
> 

GDM, I'll test with kdm and report back.

>> Note that the error message below now comes up as:
>> "An error occurred while accessing 'name_of_media', the system said:
>> org.freedesktop.Hal.Device.PermissionDeniedByPolicy:
>> org.freedesktop.hal.storage.mount-removable no <--(action,result)
> 
> I'm not sure whether this is the same error and HAL uses a different (IMHO less 
> useful for debugging) error message or whether it is a different bug. What this 
> says is that PolicyKit is denying the permission to mount the medium. This is 
> of course broken, but the message doesn't tell us why exactly it's denying 
> that. It might be because it isn't detecting an active session (-> ConsoleKit) 
> or it might be that the policy just doesn't allow it to anyone. In the first 
> case, it's probably a problem with KDM (unless you're using some other login 
> manager which doesn't support ConsoleKit at all), in the second, it's the 
> PolicyKit policies which are screwed up, so we need to know.
> 
> Can you run this please:
> ck-list-sessions
> and tell us the output? That will tell us if there's a valid session running 
> and should help us discerning who's at fault here.

Session7:
         uid = '500'
         realname = 'Lex Hider'
         seat = 'Seat1'
         session-type = ''
         active = FALSE
         x11-display = ':0'
         x11-display-device = '/dev/tty7'
         display-device = ''
         remote-host-name = ''
         is-local = TRUE
         on-since = '2007-12-12T22:50:54Z'
Session3:
         uid = '500'
         realname = 'Lex Hider'
         seat = 'Seat1'
         session-type = ''
         active = TRUE
         x11-display = ':0'
         x11-display-device = '/dev/tty7'
         display-device = ''
         remote-host-name = ''
         is-local = TRUE
         on-since = '2007-12-12T10:33:53Z'
Session5:
         uid = '500'
         realname = 'Lex Hider'
         seat = 'Seat1'
         session-type = ''
         active = FALSE
         x11-display = ''
         x11-display-device = ''
         display-device = '/dev/tty1'
         remote-host-name = ''
         is-local = TRUE
         on-since = '2007-12-12T22:47:56Z'
         idle-since-hint = '2007-12-12T22:48:35Z'

> 
>         Kevin Kofler
> 




More information about the fedora-devel-list mailing list