[Pkg-utopia-maintainers] Bug#597937: consolekit
Martin Dickopp
martin at zero-based.org
Sun Jun 26 11:21:04 UTC 2011
Hi,
I use xfce4 4.8.0.2, xdm 1:1.1.10-3, and consolekit 0.4.5-1. What I
observe is that the session is local, but not active:
Session2:
unix-user = '1000'
realname = 'Martin Dickopp'
seat = 'Seat2'
session-type = ''
active = FALSE
x11-display = ':0'
x11-display-device = ''
display-device = ''
remote-host-name = ''
is-local = TRUE
on-since = '2011-06-26T10:56:05.101604Z'
login-session-id = '2'
My /etc/pam.d/xdm file:
auth requisite pam_nologin.so
auth required pam_group.so
auth required pam_env.so
auth required pam_env.so envfile=/etc/default/locale
session required pam_limits.so
session optional pam_mail.so dir=~/Maildir nopen
session optional pam_loginuid.so
session optional pam_ck_connector.so
@include common-auth
@include common-account
@include common-session
@include common-password
auth optional pam_gnome_keyring.so
session optional pam_gnome_keyring.so auto_start
The issue seems to be related to the fact that x11-display-device is
empty. If I force pam_ck_connector to set it by setting the environment
variable CKCON_X11_DISPLAY_DEVICE=/dev/tty7 manually, all is well:
Session3:
unix-user = '1000'
realname = 'Martin Dickopp'
seat = 'Seat1'
session-type = ''
active = TRUE
x11-display = ':0'
x11-display-device = '/dev/tty7'
display-device = ''
remote-host-name = ''
is-local = TRUE
on-since = '2011-06-26T11:17:36.448291Z'
login-session-id = '3'
This setup (without the pam_loginuid.so line and without having to set
CKCON_X11_DISPLAY_DEVICE) used to work fine with the squeeze versions of
xfce4, xdm, and consolekit. Sorry, I don't remember which package update
broke it.
Martin
More information about the Pkg-utopia-maintainers
mailing list