Make sure you are comfortable with editing in a TTY (with a LiveCD). My modifications could (in worst case) lock you out of your own system. However my modification will, as far as I know, not do that. But be prepared!
Done with the disclaimer, moving on...
First, let's install what we need:
Code:
aptitude -yR install libpam-ck-connector
Inspecting your PAM, I see that it's using additional files. So:
Code:
@include common-session-noninteractive
Hence:
/etc/pam.d/common-session-noninteractive
Code:
< snip >
# and here are more per-package modules (the "Additional" block)
session required pam_unix.so
# end of pam-auth-update config
Change it to:
Code:
< snip >
# and here are more per-package modules (the "Additional" block)
session required pam_unix.so
session optional pam_loginuid.so
session optional pam_ck_connector.so nox11
# end of pam-auth-update config
If any of the bold lines is already there. No problem, just leave it there and add the additional line who is missing. If they are both already there let me know. However, make sure you do loginuid first and then pam_ck_connector.
EDIT1: Sidenote: Why is lxdm using the non-interactive version?
Bookmarks