On lun., 2010-09-27 at 09:32 +0200, Michael Biebl wrote:
> Just to be sure: the case that does not work is:
> You login on the console, then run startx, right?
> 
> Have you checked with ck-list-sessions, if login-session-id is not empty, 
> after
> login?
> 
> My guess is, that the order in /etc/pam.d/common-session is important. Try to
> load pam_loginuid.so *before* pam_ck_connector.so. 

Btw, even with the patched consolekit, I sometime get:

Session1:
        unix-user = '1000'
        realname = 'Yves-Alexis Perez'
        seat = 'Seat1'
        session-type = ''
        active = FALSE
        x11-display = ':0'
        x11-display-device = '/dev/tty7'
        display-device = ''
        remote-host-name = ''
        is-local = TRUE
        on-since = '2010-10-03T15:42:46.966353Z'
        login-session-id = '4294967295'

(this is with a gdm login). It might be related to the fact I had a root
shell running at some point, but it's now gone:

cor...@hidalgo: w
 11:13:22 up 6 days, 17:31,  4 users,  load average: 0,34, 0,54, 0,71
USER     TTY      FROM              LOGIN@   IDLE   JCPU   PCPU WHAT
corsac   tty7     :0               03Oct10  6days  0.00s  0.00s /bin/sh /home/c
corsac   pts/0    :0.0             03Oct10  6days  0.05s  0.05s tail -F /var/lo
corsac   pts/1    :0.0             11:10    2:47   0.30s  0.30s zsh
corsac   pts/2    :0.0             11:13    0.00s  0.26s  0.00s w

Cheers,
-- 
Yves-Alexis

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

Reply via email to