You are not logged in.
Hello All,
I have what I consider to be a functional lightdm install, that is I can login and it loads my window manager. However it does fail to load user@975.service.
× user@975.service - User Manager for UID 975
Loaded: loaded (/usr/lib/systemd/system/user@.service; static)
Drop-In: /usr/lib/systemd/system/user@.service.d
└─10-login-barrier.conf
Active: failed (Result: exit-code) since Tue 2023-06-13 14:59:24 EDT; 18min ago
Docs: man:user@.service(5)
Process: 4866 ExecStart=/usr/lib/systemd/systemd --user (code=exited, status=224/PAM)
Main PID: 4866 (code=exited, status=224/PAM)
CPU: 5ms
Jun 13 14:59:24 host systemd[1]: Starting User Manager for UID 975...
Jun 13 14:59:24 host (systemd)[4866]: pam_access(systemd-user:account): access denied for user `lightdm' from `systemd-user'
Jun 13 14:59:24 host (systemd)[4866]: pam_systemd_home(systemd-user:account): systemd-homed is not available: Unit dbus-org.freedesktop.home1.service not found.
Jun 13 14:59:24 host (systemd)[4866]: PAM failed: Permission denied
Jun 13 14:59:24 host (systemd)[4866]: user@975.service: Failed to set up PAM session: Operation not permitted
Jun 13 14:59:24 host (systemd)[4866]: user@975.service: Failed at step PAM spawning /usr/lib/systemd/systemd: Operation not permitted
Jun 13 14:59:24 host systemd[1]: user@975.service: Main process exited, code=exited, status=224/PAM
Jun 13 14:59:24 host systemd[1]: user@975.service: Failed with result 'exit-code'.
Jun 13 14:59:24 host systemd[1]: Failed to start User Manager for UID 975.This appears to be related to the following line in /etc/pam.d/lightdm-greeter
session optional pam_systemd.soThat is without this pam option enabled I don't get the error with user@975.service. However I don't fully understand pam, so I haven't tried anything other than commenting it out and running it with a -session prefix.
I was hopeful on the following links, but https://bbs.archlinux.org/viewtopic.php?id=252999 and https://bbs.archlinux.org/viewtopic.php?id=249570 both suggest that this error is related to an expired user account for lightdm. I have tried the suggested fix, which is to set a null expiry date for the server which doesn't remedy the error.
Anyone have any ideas?
Thanks in advance,
Chris
Offline
Please ignore this.
I had too restrictive access for /etc/security/access.conf and no provision for user lightdm. Now that I have an entry for lightdm in access.conf, the user@975.service works properly.
Sorry for the spam.
Chris
Offline