OoO En ce  début d'après-midi nuageux du vendredi  22 octobre 2010, vers
14:32, je disais:

>> After using slim as login manager, I am not considered as a local user
>> anymore. ck-list-sessions tells me:
>> is-local = FALSE
>> 
>> Therefore, there is many things handled by policykit or dbus that I am
>> not allowed to do. Maybe this is related to #476248. I am not familiar
>> enough with this to tell.

> Since consolekit stuff is also handled by Xsession, it seems the problem
> lies in consolekit himself. I merge this bug with #597397.

It seems that there is two bugs in this bug report:
 - the one reported by James which explicitely uses ck-launch-session
 - the one reported by Fernando and relayed by myself

For the later bug,  we rely on /etc/X11/Xsession.d/90consolekit. Reading
carefully  this script,  I think  that  it does  not work  at all.   The
function is_on_console() returns 1 (which means false) when the user has
a display string and 0 (which means true) otherwise. The function should
returns 1 when the user has  no display string. Therefore, when this was
working with consolekit 0.4.1-4, the script has nothing to do with it.

I  did   not  test  if   everything  works  back  when   correcting  the
is_on_console() function but I suppose that this is not true since James
is  not  able  to  be  recognized  as  a  local  user  despite  invoking
ck-launch-session directly.
-- 
BOFH excuse #47:
Complete Transient Lockout

Attachment: pgpgnF8FovTZl.pgp
Description: PGP signature

Reply via email to