在 Thu, 13 Oct 2011 17:33:22 +0800, Colin Guthrie <mag...@colin.guthr.ie>寫道:

Well that is the problem. That combination works for me (or did when I
last tested it a while ago). It'll be a pam issue in some capacity. Make
sure you have the systemd registration in the relevant pam.d file used
(I presume /etc/pam.d/kdm these days?) Here, it has both the
pam_loginuid.so and the system-auth include which are both needed.

Make sure your system-auth has:
-session    optional      pam_systemd.so

in it.

Col

Okay, it works now. Adding -session optional pam_system.so into system-auth

works.

Reply via email to