ConsoleKit-0.4.3 doesn't work for PLD, was: Re: Network-Manager nm-applet-0.8.2 is broken.

Fryderyk Dziarmagowski freetz at gmx.net
Tue Jan 4 18:25:09 CET 2011


On Mon, 3 Jan 2011 14:20:22 +0100
Jacek Konieczny <jajcus at jajcus.net> wrote:

> On Mon, Jan 03, 2011 at 12:54:43PM +0000, Przemo Firszt wrote:
> > We have already have it:
> > [przemo at 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


More information about the pld-devel-en mailing list