canonical / lightdm

Display Manager
GNU General Public License v3.0
824 stars 138 forks source link

Error getting user list from org.freedesktop.Accounts #236

Open EinstokFair opened 2 years ago

EinstokFair commented 2 years ago

Diagnostics messages should be improved.

Some hyperlinks should be added into messages, leading to the documentation on how to fix the problems. How to disable quering that user list from org.freedesktop.Accounts ? Why one need it at all? Why and when it is necessary?

$ systemctl status display-manager

● lightdm.service - Light Display Manager Loaded: loaded (8;;file://localhost/lib/systemd/system/lightdm.service^G/lib/systemd/system/lightdm.service8;;^G; enabled; vendor preset: disabled) Active: active (running) since Sun 2022-02-20 17:48:33 MSK; 2 days ago Docs: 8;;man:lightdm(1)^Gman:lightdm(1)8;;^G Main PID: 980 (lightdm) Tasks: 16 (limit: 19147) Memory: 179.2M CPU: 38min 53.571s CGroup: /system.slice/lightdm.service ├─ 980 /usr/sbin/lightdm └─4827 /usr/libexec/Xorg :0 -seat seat0 -auth /var/run/lightdm/root/:0 -nolisten tcp vt7 -novtswitch

фев 20 17:48:08 localhost systemd[1]: Starting Light Display Manager... фев 20 17:48:33 localhost lightdm[980]: Error getting user list from org.freedesktop.Accounts: GDBus.Error:org.freedesktop.DBus.Error.TimedOut: Failed > фев 20 17:48:33 localhost systemd[1]: Started Light Display Manager. фев 20 17:49:02 localhost lightdm[1016]: Error getting user list from org.freedesktop.Accounts: Timeout was reached фев 20 17:49:02 localhost lightdm[1016]: pam_unix(lightdm-autologin:session): session opened for user user(uid=1000) by (uid=0) фев 20 18:02:04 localhost lightdm[4869]: Error getting user list from org.freedesktop.Accounts: GDBus.Error:org.freedesktop.DBus.Error.TimedOut: Failed> фев 20 18:02:04 localhost lightdm[4869]: pam_unix(lightdm-greeter:session): session opened for user root(uid=0) by (uid=0) фев 20 18:03:09 localhost lightdm[5047]: Error getting user list from org.freedesktop.Accounts: Timeout was reached фев 20 18:03:09 localhost lightdm[5047]: pam_unix(lightdm:session): session opened for user user(uid=1000) by (uid=0)

nyx191 commented 1 year ago

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 twice at every login. Yes, thats annoying, I don't need that D-Bus service.