[Pkg-utopia-maintainers] Bug#601003: slim does not set at_console permission
Vincent Bernat
bernat at debian.org
Sun Oct 24 11:46:02 UTC 2010
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-utopia-maintainers/attachments/20101024/1eea099c/attachment.pgp>
More information about the Pkg-utopia-maintainers
mailing list