[SOLVED] Error getting user list from org.freedesktop.Accounts

Required Information

DietPi version | cat /boot/dietpi/.version
G_DIETPI_VERSION_CORE=8
G_DIETPI_VERSION_SUB=16
G_DIETPI_VERSION_RC=2
G_GITBRANCH=‘master’
G_GITOWNER=‘MichaIng’
Distro version | echo $G_DISTRO_NAME $G_RASPBIAN
bullseye 0
Kernel version | uname -a
Linux DietPi 6.1.21-v8+ #1642 SMP PREEMPT Mon Apr 3 17:24:16 BST 2023 aarch64 GNU/Linux
SBC model | echo $G_HW_MODEL_NAME or (EG: RPi3)
RPi 3 Model B+ (aarch64)
Power supply used | (EG: 5V 1A RAVpower)
5V 3A
SD card used | (EG: SanDisk ultra)
SanDisk 32GBDietPi v8.16.2 : 15:46 - Thu 04/13/23
Device model : RPi 3 Model B+ (aarch64)

In a brand new install, after installing LXDE ahd Chromium, I decided to uninstall it via dietpi-launcher: LXDE, X.Org and Chromium

After reboot, I noticed syslog keeps on recording the same error message non-stop:


Apr 26 15:22:16 DietPi systemd[1]: lightdm.service: Consumed 2.119s CPU time.
Apr 26 15:22:16 DietPi systemd[1]: Starting Light Display Manager...
Apr 26 15:22:16 DietPi lightdm[59756]: 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
Apr 26 15:22:17 DietPi wpa_supplicant[329]: RRM: Ignoring radio measurement request: Not RRM network
Apr 26 15:22:19 DietPi systemd[1]: lightdm.service: Main process exited, code=killed, status=11/SEGV
Apr 26 15:22:19 DietPi systemd[1]: lightdm.service: Failed with result 'signal'.
Apr 26 15:22:19 DietPi systemd[1]: Failed to start Light Display Manager.
Apr 26 15:22:19 DietPi systemd[1]: lightdm.service: Consumed 2.385s CPU time.
Apr 26 15:22:19 DietPi systemd[1]: lightdm.service: Scheduled restart job, restart counter is at 7541.
Apr 26 15:22:19 DietPi systemd[1]: Stopped Light Display Manager.
Apr 26 15:22:19 DietPi systemd[1]: lightdm.service: Consumed 2.385s CPU time.

Additionally, I noticed the following about the service:

dietpi@DietPi:~$ sudo systemctl status lightdm.service
● lightdm.service - Light Display Manager
     Loaded: loaded (/lib/systemd/system/lightdm.service; enabled; vendor preset: enabled)
     Active: activating (start) since Wed 2023-04-26 15:18:02 CEST; 1s ago
       Docs: man:lightdm(1)
   Main PID: 58982 (lightdm)
      Tasks: 4 (limit: 1024)
        CPU: 958ms
     CGroup: /system.slice/lightdm.service
             └─58982 /usr/sbin/lightdm

Apr 26 15:18:02 DietPi systemd[1]: Starting Light Display Manager...
Apr 26 15:18:02 DietPi lightdm[58982]: 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

So, is that the expected behaviour after uninstall? Would it be ok just to stop that service in case I might want to reinstall LXDE some day?

Thank you in advance,

You are still running desktop as autostart option? Otherwise I wonder why lightdm.service should be started still :thinking:

That was it. Setting Autostart to Manual login (default) put and end to the error message in syslog Thank you!