On Mon, 3 Jan 2011 14:20:22 +0100 Jacek Konieczny <jaj...@jajcus.net> wrote:
> On Mon, Jan 03, 2011 at 12:54:43PM +0000, Przemo Firszt wrote: > > We have already have it: > > [prz...@pldmachine ~]$ sudo grep pam_ck_connector /etc/pam.d/* > > /etc/pam.d/login:session optional pam_ck_connector.so > > > > and it's not enough. > > Adding that to /etc/pam.d/xserver didn't help either (I have no idea how > this is supposed to work). My example setup (sufficient for plain startx) # grep ck_co /etc/pam.d/* /etc/pam.d/login:session optional pam_ck_connector.so debug # grep CK /etc/security/pam_env.conf CKCON_X11_DISPLAY=:0 CKCON_X11_DISPLAY_DEVICE=/dev/tty9 % ck-list-sessions Session2: unix-user = '500' realname = 'Fryderyk Dziarmagowski' seat = 'Seat1' session-type = '' active = FALSE x11-display = '' x11-display-device = '' display-device = '/dev/tty2' remote-host-name = '' is-local = TRUE on-since = '2011-01-04T17:04:56.791272Z' login-session-id = '5' idle-since-hint = '2011-01-04T17:05:31.004602Z' after startx: Session3: unix-user = '500' realname = 'Fryderyk Dziarmagowski' seat = 'Seat1' session-type = '' active = TRUE x11-display = ':0' x11-display-device = '/dev/tty10' display-device = '/dev/tty2' remote-host-name = '' is-local = TRUE on-since = '2011-01-04T17:05:02.294675Z' login-session-id = '5' # tail -1 /var/log/debug Jan 4 18:04:56 aquarius login: pam_ck_connector (login:session):registered uid=500 on tty='/dev/tty2' with ConsoleKit -- Fryderyk Dziarmagowski _______________________________________________ pld-devel-en mailing list pld-devel-en@lists.pld-linux.org http://lists.pld-linux.org/mailman/listinfo/pld-devel-en