On 2/7/23 3:11 AM, David C. Rankin wrote:
All,
Lightdm has been working fine up until pacman update today. After the
update, lightdm fails with a garbled screen. The journal shows:
Feb 07 00:58:57 valkyrie systemd[1]: Starting Light Display Manager...
Feb 07 00:59:00 valkyrie systemd[1]: Started Light Display Manager.
Feb 07 00:59:00 valkyrie lightdm[782]: Error getting user list from
org.freedesktop.Accounts:
GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name
org.freedesktop.Accounts was not provided by any .service files
Feb 07 00:59:07 valkyrie systemd[1]: lightdm.service: Main process
exited, code=exited, status=1/FAILURE
Feb 07 00:59:07 valkyrie systemd[1]: lightdm.service: Failed with result
'exit-code'.
Feb 07 00:59:07 valkyrie systemd[1]: lightdm.service: Consumed 1.177s
CPU time.
Feb 07 00:59:07 valkyrie systemd[1]: lightdm.service: Scheduled restart
job, restart counter is at 1.
Feb 07 00:59:07 valkyrie systemd[1]: Stopped Light Display Manager.
Feb 07 00:59:07 valkyrie systemd[1]: lightdm.service: Consumed 1.177s
CPU time.
I run a similar setup. But logs look different on my end
Feb 06 10:16:02 titan systemd[1]: Starting Light Display Manager...
...
Feb 06 10:16:02 titan systemd[1]: Started Light Display Manager.
Feb 06 10:16:02 titan systemd[1]: Reached target User and Group Name
Lookups.
Feb 06 10:16:02 titan systemd[1]: Starting Accounts Service...
...
Feb 06 10:16:02 titan systemd[1]: Started Accounts Service.
...
Feb 06 10:16:03 titan lightdm[733]: pam_unix(lightdm-greeter:session):
session opened for user lightdm(uid=975) by (uid=0)
The issue seems to be that "Accounts Service". When I look at what's
running on my machine with the keyword "account" I see this:
# ps aux | grep -i account
root 666 0.0 0.0 237396 236 ? Ssl Feb06 0:00
/usr/lib/accounts-daemon
# pacman -Qo /usr/lib/accounts-daemon
/usr/lib/accounts-daemon is owned by accountsservice 22.08.8-2
Perhaps that "accountsservice" package somehow got uninstalled on your
machine? A quick search turned up this page, which would seem to also
suggest that:
https://dev.to/nabbisen/fix-lightdm-error-the-name-org-freedesktop-accounts-was-not-provided-by-any-service-files-512b
HTH,
DR