Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 833928

Summary: x11-misc/lightdm: Error getting user list from org.freedesktop.Accounts
Product: Gentoo Linux Reporter: Einstok Fair <einfair>
Component: Current packagesAssignee: Marek Szuba <marecki>
Status: RESOLVED FIXED    
Severity: normal CC: jstein
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://github.com/canonical/lightdm/issues/236
Whiteboard:
Package list:
Runtime testing required: ---

Description Einstok Fair 2022-02-23 06:12:55 UTC
lightdm ebuild should have USE-flag to disable unused or absent component.

$ 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)

# emerge -pv lightdm

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   R    ] x11-misc/lightdm-1.30.0-r2::gentoo  USE="gnome gtk introspection -audit -non_root -qt5 -vala" 0 KiB

Total: 1 package (1 reinstall), Size of downloads: 0 KiB


https://dev.to/nabbisen/fix-lightdm-error-the-name-org-freedesktop-accounts-was-not-provided-by-any-service-files-512b

D-Bus interface for user account query and manipulation

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=960329

Error getting user list from org.freedesktop.Accounts: Timeout was reached

Installing accountsservice removes the error message
accountsservice is suggested by lightdm.


Reproducible: Always
Comment 1 Einstok Fair 2022-02-23 06:23:09 UTC
I also created a bug in lightdm bugtracker - https://github.com/canonical/lightdm/issues/236
Comment 2 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2022-02-25 09:58:50 UTC
Unfortunately it seems like Canonical abandoned lightdm entirely. There are several issues in the GitHub repo that I consider important but development of lightdm has been stalled for quite a while already.
I fear that this will not improve anytime soon.
Comment 3 Einstok Fair 2022-02-25 20:32:48 UTC
What is recommended to use instead of it for Mate ?
Comment 4 Joonas Niilola gentoo-dev 2022-02-26 07:42:12 UTC
Looks like lightdm was tied with unity, and when Ubuntu switched to Gnome they're probably investing to gdm right now.

(In reply to Einstok Fair from comment #3)
> What is recommended to use instead of it for Mate ?

Choose any of your liking. xdm, lxdm, gtkgreet, gdm...
Comment 5 Marek Szuba archtester gentoo-dev 2023-03-01 21:49:00 UTC
No idea when exactly this changed (it definitely wasn't me) but current lightdm ebuild depend on sys-apps/accountsservice if USE=gnome is set, as the bug description suggests it has been.