Results 1 to 3 of 3

Thread: "Failed to start light diplay manager" after an upgrade

  1. #1
    Join Date
    2022-Dec
    Location
    France
    Posts
    3

    "Failed to start light diplay manager" after an upgrade

    Kali Rolling Realease 2022.4
    Computer : Asus UX32V with Nvidia
    nvidia-detect : Nvidia GF117M (620M GPU)



    Hi,


    After an update (sudo apt full-upgrade) it's impossible to restart with GUI.
    I purged Nvidia drivers, reinstalled them, reconfigured lightDM...
    Nothing works.
    I searched on the internet some solutions....


    It's my everyday computer, so, I hope you can solve that bug!
    You are my only hope!


    FredJ

  2. #2
    Join Date
    2022-Dec
    Location
    France
    Posts
    3
    [SOLVED]

    My case :
    Kali 6
    $ lsb_release -a
    No LSB modules are available.
    Distributor ID: Kali
    Description: Kali GNU/Linux Rolling
    Release: 2022.4
    Codename: kali-rolling

    After upgrade (I don't remember before)
    Linux endor 6.0.0-kali6-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.0.12-1kali1 (2022-12-19) x86_64 GNU/Linux

    computer : asus UX32V with graphic card Intel + Nvidia

    Ca
    $ sudo apt upgrade; apt full-update
    ...
    and black screen
    reboot : black screen...

    reboot rescue mode
    $ sudo systemctl disable lightdm
    $ sudo reboot

    black screen
    ctrl alt F1 -> connection with TTY1

    I'm lucky, system is OK and I can connect to Internet

  3. #3
    Join Date
    2022-Dec
    Location
    France
    Posts
    3

    Post

    [SOLVED]

    The upgrade erased xfce and more... Why???

    My case :
    Kali 6 xfce desktop
    $ lsb_release -a
    No LSB modules are available.
    Distributor ID: Kali
    Description: Kali GNU/Linux Rolling
    Release: 2022.4
    Codename: kali-rolling

    After upgrade (I don't remember before)
    Linux endor 6.0.0-kali6-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.0.12-1kali1 (2022-12-19) x86_64 GNU/Linux

    computer : asus UX32V with graphic card Intel + Nvidia
    $ lspci | grep -E "VGA|3D"
    00:02.0 VGA compatible controller: Intel Corporation 3rd Gen Core processor Graphics Controller (rev 09)
    01:00.0 3D controller: NVIDIA Corporation GF117M [GeForce 610M/710M/810M/820M / GT 620M/625M/630M/720M] (rev a1)

    Diplay Manager : lightdm
    $ ls /etc/init.d/ | grep dm
    -rwxr-xr-x 1 root root 2610 3 f?vr. 2020 lightdm

    Cause of the crash :
    $ sudo apt update; apt full-upgrade
    ...
    and black screen
    reboot : black screen...


    Troubleshooting :
    reboot rescue mode
    $ sudo systemctl disable lightdm
    $ sudo reboot

    black screen
    ctrl alt F1 -> connection with TTY1

    I'm lucky, system is OK and I can connect to Internet (usefull for reinstall some paquages)


    With @steev from Kali bug tracker :
    $ sudo apt policy kali-desktop-xfce
    kali-desktop-xfce:
    Install? : (aucun)

    Candidat : 2023.1.1
    Table de version :
    2023.1.1 500
    500 https://http.kali.org/kali kali-rolling/main amd64 Packages
    500 https://http.kali.org/kali kali-rolling/main i386 Packages

    $ sudo apt policy libllvm15:i386
    libllvm15:i386:
    Install? : (aucun)

    Candidat : 1:15.0.6-3+b1
    Table de version :
    1:15.0.6-3+b1 500
    500 https://http.kali.org/kali kali-rolling/main i386 Packages

    => /!\ xfce is not present anymore!!!
    And it's not the known bug with libllvm.


    $ sudo apt install kali-desktop-xfce xserver-xorg-input-all xserver-xorg-video-all
    Many thanks @steev. I continue to troubleshoot.

    $ sudo apt reinstall lightdm lightdm-gtk-greeter
    --------
    IF :
    $ sudo cat /var/log/lightdm/lightdm.log | grep -i warning
    ...
    WARNING: Error getting user list from org.freedesktop.Accounts: GDBus.Errorrg.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.Accounts was not provided by any .service files
    ...
    THEN :
    $ sudo apt install accountsservice

    $ sudo cat /var/log/lightdm/lightdm.log | less
    ...
    [+0.05s] DEBUG: Acquired bus name org.freedesktop.DisplayManager
    [+0.05s] DEBUG: Registering seat with bus path /org/freedesktop/DisplayManager/Seat0
    [+0.05s] DEBUG: Loading users from org.freedesktop.Accounts
    ...
    No more errors \O/
    --------
    $ sudo apt remove xserver-xorg-video-intel
    $ sudo apt reinstall nvidia-legacy-390xx-driver
    $ sudo apt reinstall xserver-xorg-video-nvidia-legacy-390xx
    $ sudo apt install mesa-utils
    $ sudo apt install linux-headers-amd64

    $ sudo reboot
    black screen with blinking cursor
    ctrl alt F1 -> connection with TTY1


    $ sudo systemctl status lightdm
    Ok, lightdm is enable and started

    $ sudo lshw -C display | grep driver
    configuration: driver=nvidia latency=0
    configuration: depth=32 driver=i915 latency=0 resolution=1920,1200

    $ lsmod | grep nvidia
    nvidia_drm 53248 1
    nvidia_modeset 1060864 2 nvidia_drm
    nvidia 15892480 60 nvidia_modeset
    ipmi_msghandler 77824 2 ipmi_devintf,nvidia
    drm_kms_helper 204800 3 drm_display_helper,nvidia_drm,i915
    drm 606208 8 drm_kms_helper,drm_display_helper,drm_buddy,nvidia _drm,i915,ttm

    $ dmesg | grep nvidia
    [ 6.619579] nvidia: loading out-of-tree module taints kernel.
    [ 6.619595] nvidia: module license 'NVIDIA' taints kernel.
    [ 6.703091] nvidia-nvlink: Nvlink Core is being initialized, major device number 245
    [ 6.741733] nvidia-modeset: Loading NVIDIA Kernel Mode Setting Driver for UNIX platforms 390.157 Wed Oct 12 09:15:25 UTC 2022
    [ 6.775938] [drm] [nvidia-drm] [GPU ID 0x00000100] Loading driver
    [ 6.775945] [drm] Initialized nvidia-drm 0.0.0 20160202 for 0000:01:00.0 on minor 1

    Nvidia : OK

    $ sudo cat /var/log/lightdm/x-0.log
    ...
    (==) Using system config directory "/usr/share/X11/xorg.conf.d"
    ...

    $ sudo mv /etc/X11/xorg.conf /etc/X11/xorg.conf.backup --> New version of Xorg doesn't need this conf file. This conf file prevented Xorg from finding the right screen. Xorg uses multiple mini conf files in /usr/share/X11/xorg.conf.d, as it is written in the x-0.log

    $ sudo reboot

    \O/ login screen!!!
    May the force be with you!

Similar Threads

  1. Replies: 3
    Last Post: 2023-01-28, 18:29
  2. Failed to start light display manager
    By Pranav S M in forum TroubleShooting Archive
    Replies: 1
    Last Post: 2022-06-15, 19:50
  3. Replies: 2
    Last Post: 2016-11-01, 21:29

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •