View Issue Details

IDProjectCategoryView StatusLast Update
0008429Kali LinuxGeneral Bugpublic2023-08-29 12:23
Reporterphysics1024 Assigned Tosteev  
Status resolvedResolutionfixed 
Product Version2023.2 
Fixed in Version2023.3 
Summary0008429: arm64 ver upgrade problem -- run apt upgrade leads to Lightdm or GUI crash

The version is arm64 for raspberry Pi 4 (4GBver). Using mirror by Tsinghua University ( After I tried to run 'apt upgrade' and wait for its done and reboot, the system booted to tty1 while the runlevel was 5. That trying to run 'startx' is successful meant that the Xfce desktop and x server were working. However, all atempts to launch Lightdm were failed. When I input 'sudo lightdm --test-mode -debug', the log pointed that the lightdm had an contradiction with dbus. Reinstallation of Lightdm or dbus or xorg proved useless.
Here's some of the log:
[+0.00s] DEBUG: Logging to /var/log/lightdm/lightdm.log [+0.00s] DEBUG: Starting Light Display Manager 1.32.0, UID=0 PID=1007 [+0.00s] DEBUG: Loading configuration dirs from /usr/share/lightdm/lightdm.conf.d [+0.00s] DEBUG: Loading configuration from /usr/share/lightdm/lightdm.conf.d/01_debian.conf [+0.00s] DEBUG: Loading configuration dirs from /usr/local/share/lightdm/lightdm.conf.d [+0.00s] DEBUG: Loading configuration dirs from /etc/xdg/lightdm/lightdm.conf.d [+0.00s] DEBUG: Loading configuration from /etc/lightdm/lightdm.conf [+0.00s] DEBUG: Registered seat module local [+0.00s] DEBUG: Registered seat module xremote [+0.00s] DEBUG: Using D-Bus name org.freedesktop.DisplayManager [+0.01s] DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) [+0.01s] DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? [+0.01s] DEBUG: Monitoring logind for seats [+0.01s] DEBUG: Acquired bus name org.freedesktop.DisplayManager [+0.02s] DEBUG: Loading users from org.freedesktop.Accounts [+0.02s] DEBUG: User /org/freedesktop/Accounts/User1000 added Failed to use bus name org.freedesktop.DisplayManager, do you have appropriate permissions?

Steps To Reproduce

Just upgrade the system.

Additional Information

I don't konw whether the apt mirro or xorg or lightdm leads to this, so 3 logs are provided.




2023-08-18 10:01

reporter   ~0018346

I don't konw where are the problems, so 3 logs are provided.
Any requests on logs are welcomed.



2023-08-18 10:17

reporter   ~0018347

Sadly the website doesn't allow me to post the logs...
I uploaded them on my Google drive.,,



2023-08-19 06:12

reporter   ~0018348

It seems that only update lightdm will cause this problem. Maybe a lightdm package bug. Lightdm will launch before the dbus come to work.



2023-08-29 12:23

manager   ~0018416

This is unfortunately due to a default changing upstream between 1.26 (old version) and 1.32. The kali 2023.3 release should have the fix, but if you don't want to start over from scratch you can edit the /etc/lightdm/lightdm.conf file and find the line that starts with


and change it to be


(remove the # so that it's no longer a comment, and change the setting from true to false)

Issue History

Date Modified Username Field Change
2023-08-18 09:58 physics1024 New Issue
2023-08-18 10:01 physics1024 Note Added: 0018346
2023-08-18 10:17 physics1024 Note Added: 0018347
2023-08-19 06:12 physics1024 Note Added: 0018348
2023-08-29 12:23 steev Assigned To => steev
2023-08-29 12:23 steev Status new => resolved
2023-08-29 12:23 steev Resolution open => fixed
2023-08-29 12:23 steev Fixed in Version => 2023.3
2023-08-29 12:23 steev Note Added: 0018416