TL;DR: no such luck here. lightdm seems to work better. On Wed, Jul 04, 2012 at 08:23:06PM +0200, Emanuele Aina wrote: > tag 680264 patch > thanks > > Stacking a pam_ck_connector.so with x11 support after enabling session > auditing with pam_loginuid.so and before the one in common-session > (which has the nox11 flag set) fixes the issue.
I'd just like to report that this patch does not work for me. I tried getting a nodm user to be able to mount a USB storage device through udisks (on Wheezy). nodm's user fails to work. Lightdm seems to work well. I also tried copying lightdm's autologin pam file to nodm, but no luck there. > > -- > Emanuele > diff --git a/debian/nodm.pam b/debian/nodm.pam > index 77ad6f6..6f68f35 100644 > --- a/debian/nodm.pam > +++ b/debian/nodm.pam > @@ -18,7 +18,13 @@ session required pam_env.so readenv=1 > envfile=/etc/default/locale > # # (Replaces the use of /etc/limits in old login) > session required pam_limits.so > > -# Standard Un*x account and session > +# Standard Un*x account > @include common-account > @include common-password > + > +# Enable ConsoleKit integration > +session optional pam_loginuid.so > +session optional pam_ck_connector.so > + > +# Standard Un*x session > @include common-session And here is lightdm-autologin pam file: # egrep -v '^(#|$)' /etc/pam.d/lightdm-autologin auth requisite pam_nologin.so auth required pam_env.so readenv=1 auth required pam_env.so readenv=1 envfile=/etc/default/locale auth required pam_permit.so @include common-account session [success=ok ignore=ignore module_unknown=ignore default=bad] pam_selinux.so close session required pam_limits.so session required pam_loginuid.so @include common-session session [success=ok ignore=ignore module_unknown=ignore default=bad] pam_selinux.so open @include common-password I use systemd. Also: ii libpam-ck-conn 0.4.5-3.1 armhf ii libpam-systemd 44-11+deb7u4 armhf -- Tzafrir Cohen icq#16849755 jabber:tzafrir.co...@xorcom.com +972-50-7952406 mailto:tzafrir.co...@xorcom.com http://www.xorcom.com -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org