On 02.02.2012 20:25, Yves-Alexis Perez wrote:
> On jeu., 2012-02-02 at 18:28 +0000, Brian Potkin wrote:
>>> The problem with startx resp. the 90consolekit script is, that it is
>> run
>>> as unprivileged user and CK no longer trusts this context.
>>> That said, I don't think this problem is unfixable. I guess what it
>>> requires is that the PAM stack is setting up the right context so CK
>> can
>>> trust it.
>>
>> Is that a reference to using
>>
>>    session optional     pam_loginuid.so
>>
>> in /etc/pam.d/common-session? That also works me and has the
>> advantages
>> of being a single configuration change and having a Consolekit session
>> marked as 'active = TRUE' and 'is-local = TRUE'. I'd be supportive of
>> including a description of this method in README.Debian if it were to
>> help a significant number of startx users.
>>
>>
> I don't know what you did different, but just adding the snippet at the
> end of /etc/pam.d/common-session doesn't give me active=TRUE and
> is-local=TRUE here.

You probably want to load it before pam_ck_connector

-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to