View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0008130 | Kali Linux | [All Projects] Kali Package Bug | public | 2022-12-31 16:37 | 2023-01-04 15:49 |
Reporter | FredJ | Assigned To | |||
Priority | urgent | Severity | block | Reproducibility | unable to reproduce |
Status | new | Resolution | open | ||
Product Version | 2022.4 | ||||
Target Version | Fixed in Version | ||||
Summary | 0008130: "Failed to start light display manager" and black screen after update | ||||
Description | 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 | ||||
|
Frozen black screen on start ctrl + alt + suppr -> nothing switch off button restart rescue mode # systemctl disable lightdm # reboot boot ok on CLI $ dmesg | grep nvidia [ 6.619945] nvidia: loading out-of-tree module taints kernel. [ 6.619961] nvidia: module license 'NVIDIA' taints kernel. [ 6.709726] nvidia-nvlink: Nvlink Core is being initialized, major device number 245 [ 6.754131] nvidia-modeset: Loading NVIDIA Kernel Mode Setting Driver for UNIX platforms 390.157 Wed Oct 12 09:15:25 UTC 2022 [ 6.795766] [drm] [nvidia-drm] [GPU ID 0x00000100] Loading driver [ 6.795771] [drm] Initialized nvidia-drm 0.0.0 20160202 for 0000:01:00.0 on minor 1 [67826.953903] nvidia 0000:01:00.0: Enabling HDA controller $ lsmod | grep nvidia nvidia_drm 53248 0 nvidia_modeset 1060864 1 nvidia_drm nvidia 15892480 1 nvidia_modeset ipmi_msghandler 77824 2 ipmi_devintf,nvidia drm_kms_helper 204800 3 drm_display_helper,nvidia_drm,i915 drm 606208 7 drm_kms_helper,drm_display_helper,drm_buddy,nvidia_drm,i915,ttm |
|
display x-session-manager : x-session-manager - mode automatique link best version is /usr/bin/startxfce4 le lien pointe actuellement sur /usr/bin/startxfce4 link x-session-manager is /usr/bin/x-session-manager slave x-session-manager.1.gz is /usr/share/man/man1/x-session-manager.1.gz /usr/bin/startxfce4 - priorité 50 lien secondaire x-session-manager.1.gz : /usr/share/man/man1/startxfce4.1.gz /usr/bin/xfce4-session - priorité 40 lien secondaire x-session-manager.1.gz : /usr/share/man/man1/xfce4-session.1.gz |
|
In /var/log/lightdm/lightdm.log : WARNING: 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 => $ sudo apt install accountsservice installation OK. $ sudo systemctl enable lightdm $ sudo reboot failed to start, black screen and system frozen instead of login screen. switch off restart rescue mode, disable lightdm and reboot reboot ok with TTY... |
|
What does `apt policy kali-desktop-xfce` show please? |
|
$ 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 [+0.05s] DEBUG: User /org/freedesktop/Accounts/User1000 added [+0.27s] DEBUG: User /org/freedesktop/Accounts/User1001 added .... No more freedesktop error. |
|
@steev $ 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 |
|
Okay, can you show me `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 |
|
@steev |
|
Okay, it's not the issue I was thinking of - inside of /var/log/lightdm there is also an x-0-log.log (or something along these lines) - what is in there? |
|
And to be clear, were you using the default Xfce desktop before or were you using gnome or kde? |
|
@steev I used the dafault Xfce desktop. $ cat x-0.log X.Org X Server 1.21.1.4 X Protocol Version 11, Revision 0 Current Operating System: Linux endor 6.0.0-kali6-amd64 0000001 SMP PREEMPT_DYNAMIC Debian 6.0.12-1kali1 (2022-12-19) x86_64 Kernel command line: BOOT_IMAGE=/boot/vmlinuz-6.0.0-kali6-amd64 root=UUID=4ac33889-2330-4e29-a545-fbc5a3db4820 ro quiet splash xorg-server 2:21.1.4-3 (https://www.debian.org/support) Current version of pixman: 0.42.2 Before reporting problems, check http://wiki.x.org to make sure that you have the latest version. Markers: (--) probed, (**) from config file, (==) default setting, (++) from command line, (!!) notice, (II) informational, (WW) warning, (EE) error, (NI) not implemented, (??) unknown. (==) Log file: "/var/log/Xorg.0.log", Time: Mon Jan 2 15:22:32 2023 (==) Using config file: "/etc/X11/xorg.conf" (==) Using system config directory "/usr/share/X11/xorg.conf.d" (II) Server terminated successfully (0). Closing log file. |
|
Okay, so a couple of things here - you don't have Xfce installed anymore (the (aucun) showing for kali-desktop-xfce ) - you will want to install that, but you might not have the input drivers anymore either - can you show me what sudo apt install kali-desktop-xfce xserver-xorg-input-all xserver-xorg-video-all shows? |
|
Lecture des listes de paquets… Construction de l'arbre des dépendances… Lecture des informations d'état… Les paquets supplémentaires suivants seront installés : atril atril-common docbook-xml gnome-system-tools gstreamer1.0-gl gstreamer1.0-plugins-bad kali-hidpi-mode libatrildocument3 libatrilview3 libdca0 libdvdnav4 libfaad2 libfluidsynth3 libfreeaptx0 libgssdp-1.6-0 libgstreamer-gl1.0-0 libgstreamer-plugins-bad1.0-0 libgupnp-1.6-0 libgupnp-igd-1.0-4 libgxps2 libinstpatch-1.0-2 libjavascriptcoregtk-4.0-18 libjavascriptcoregtk-4.1-0 libkate1 libldacbt-enc2 libltc11 libmanette-0.2-0 libmjpegutils-2.1-0 libmodplug1 libmpcdec6 libmpeg2encpp-2.1-0 libmplex2-2.1-0 libnice10 liboobs-1-5 libopenconnect5 libopenh264-7 libopenni2-0 libpskc0 libsoundtouch1 libspectre1 libsrtp2-1 libstoken1 libtomcrypt1 libtss2-tctildr0 libvo-aacenc0 libvo-amrwbenc0 libwebkit2gtk-4.0-37 libwebkit2gtk-4.1-0 libwildmidi2 libwpe-1.0-1 libwpebackend-fdo-1.0-1 libxatracker2 libxmlsec1-openssl libxvmc1 libyelp0 libzbar0 network-manager-openconnect network-manager-openconnect-gnome openconnect sgml-data system-tools-backends timgm6mb-soundfont xdg-dbus-proxy xserver-xorg-input-libinput xserver-xorg-input-wacom xserver-xorg-video-amdgpu xserver-xorg-video-ati xserver-xorg-video-fbdev xserver-xorg-video-intel xserver-xorg-video-nouveau xserver-xorg-video-radeon xserver-xorg-video-vesa xserver-xorg-video-vmware yelp yelp-xsl zenity zenity-common Paquets suggérés : caja docbook docbook-dsssl docbook-xsl docbook-defguide frei0r-plugins libdvdcss2 libwildmidi-config perlsgml w3-recs opensp fluid-soundfont-gm xinput xserver-xorg-video-r128 xserver-xorg-video-mach64 Paquets recommandés : xserver-xorg-video-qxl Les NOUVEAUX paquets suivants seront installés : atril atril-common docbook-xml gnome-system-tools gstreamer1.0-gl gstreamer1.0-plugins-bad kali-desktop-xfce kali-hidpi-mode libatrildocument3 libatrilview3 libdca0 libdvdnav4 libfaad2 libfluidsynth3 libfreeaptx0 libgssdp-1.6-0 libgstreamer-gl1.0-0 libgstreamer-plugins-bad1.0-0 libgupnp-1.6-0 libgupnp-igd-1.0-4 libgxps2 libinstpatch-1.0-2 libjavascriptcoregtk-4.0-18 libjavascriptcoregtk-4.1-0 libkate1 libldacbt-enc2 libltc11 libmanette-0.2-0 libmjpegutils-2.1-0 libmodplug1 libmpcdec6 libmpeg2encpp-2.1-0 libmplex2-2.1-0 libnice10 liboobs-1-5 libopenconnect5 libopenh264-7 libopenni2-0 libpskc0 libsoundtouch1 libspectre1 libsrtp2-1 libstoken1 libtomcrypt1 libtss2-tctildr0 libvo-aacenc0 libvo-amrwbenc0 libwebkit2gtk-4.0-37 libwebkit2gtk-4.1-0 libwildmidi2 libwpe-1.0-1 libwpebackend-fdo-1.0-1 libxatracker2 libxmlsec1-openssl libxvmc1 libyelp0 libzbar0 network-manager-openconnect network-manager-openconnect-gnome openconnect sgml-data system-tools-backends timgm6mb-soundfont xdg-dbus-proxy xserver-xorg-input-all xserver-xorg-input-libinput xserver-xorg-input-wacom xserver-xorg-video-all xserver-xorg-video-amdgpu xserver-xorg-video-ati xserver-xorg-video-fbdev xserver-xorg-video-intel xserver-xorg-video-nouveau xserver-xorg-video-radeon xserver-xorg-video-vesa xserver-xorg-video-vmware yelp yelp-xsl zenity zenity-common 0 mis à jour, 80 nouvellement installés, 0 à enlever et 5 non mis à jour. Il est nécessaire de prendre 84,8 Mo dans les archives. Après cette opération, 290 Mo d'espace disque supplémentaires seront utilisés. Souhaitez-vous continuer ? [O/n] Annulation. |
|
Okay, please run that command and then try restarting lightdm |
|
@steev I really don't know what happened. I installed 2 years ago a kali Xfce, and I never had any problem since, until this upgrade 2 days ago... |
|
It's definitely odd - it has the same hallmarks as a recent issue with llvm being out of step and causing the desktop to be removed if people installed it, but in your case, you don't have the llvm version installed that has the breakage. |
|
Also, fwiw, you don't have to @ me, I get the replies regardless |
|
@steev What i done : $ sudo apt install kali-desktop-xfce xserver-xorg-input-all xserver-xorg-video-all $ sudo systemctl enable lightdm $ sudo reboot => [FAILED] Failed to start Light Display Manager But the system is not frozen. I can "ctrl alt F1" to open a session. |
|
oups, sorry..... |
|
Okay - can you show the xorg log again? Also maybe check if /var/log/Xorg.0.log has today's date/time (for you!) and if so, check that one too, not just /var/log/lightdm/x-0-log.log |
|
x-0.log : X.Org X Server 1.21.1.4 X Protocol Version 11, Revision 0 Current Operating System: Linux endor 6.0.0-kali6-amd64 0000001 SMP PREEMPT_DYNAMIC Debian 6.0.12-1kali1 (2022-12-19) x86_64 Kernel command line: BOOT_IMAGE=/boot/vmlinuz-6.0.0-kali6-amd64 root=UUID=4ac33889-2330-4e29-a545-fbc5a3db4820 ro quiet splash xorg-server 2:21.1.4-3 (https://www.debian.org/support) Current version of pixman: 0.42.2 Before reporting problems, check http://wiki.x.org to make sure that you have the latest version. Markers: (--) probed, (**) from config file, (==) default setting, (++) from command line, (!!) notice, (II) informational, (WW) warning, (EE) error, (NI) not implemented, (??) unknown. (==) Log file: "/var/log/Xorg.0.log", Time: Mon Jan 2 17:10:48 2023 (==) Using config file: "/etc/X11/xorg.conf" (==) Using system config directory "/usr/share/X11/xorg.conf.d" (EE) Fatal server error: (EE) no screens found(EE) (EE) Please consult the The X.Org Foundation support at http://wiki.x.org for help. (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information. (EE) (EE) Server terminated with error (1). Closing log file. |
|
The last lines of /var/log/Xorg.0.log (without date...???) [ 10.974] (II) systemd-logind: logind integration requires -keeptty and -keeptty was not provided, disabling logind integration [ 10.977] (II) xfree86: Adding drm device (/dev/dri/card1) [ 10.977] (II) Platform probe for /sys/devices/pci0000:00/0000:00:01.0/0000:01:00.0/drm/card1 [ 10.977] (II) xfree86: Adding drm device (/dev/dri/card0) [ 10.978] (II) Platform probe for /sys/devices/pci0000:00/0000:00:02.0/drm/card0 [ 10.984] (--) PCI:*([email protected]:2:0) 8086:0166:1043:1507 rev 9, Mem @ 0xf7400000/4194304, 0xd0000000/268435456, I/O @ 0x0000f000/64, BIOS @ 0x????????/131072 [ 10.984] (--) PCI: ([email protected]:0:0) 10de:1140:1043:1507 rev 161, Mem @ 0xf6000000/16777216, 0xe0000000/268435456, 0xf0000000/33554432, I/O @ 0x0000e000/128, BIOS @ 0x????????/524288 [ 10.984] (II) LoadModule: "glx" [ 10.984] (II) Loading /usr/lib/xorg/modules/linux/libglx.so [ 10.990] (II) Module glx: vendor="NVIDIA Corporation" [ 10.990] compiled for 4.0.2, module version = 1.0.0 [ 10.990] Module class: X.Org Server Extension [ 10.990] (II) NVIDIA GLX Module 390.157 Wed Oct 12 09:19:15 UTC 2022 [ 10.990] (II) LoadModule: "nvidia" [ 10.990] (II) Loading /usr/lib/xorg/modules/drivers/nvidia_drv.so [ 10.990] (II) Module nvidia: vendor="NVIDIA Corporation" [ 10.990] compiled for 4.0.2, module version = 1.0.0 [ 10.990] Module class: X.Org Video Driver [ 10.990] (II) NVIDIA dlloader X Driver 390.157 Wed Oct 12 09:21:41 UTC 2022 [ 10.990] (II) NVIDIA Unified Driver for all Supported NVIDIA GPUs [ 10.991] (EE) No devices detected. [ 10.991] (EE) Fatal server error: [ 10.991] (EE) no screens found(EE) [ 10.991] (EE) Please consult the The X.Org Foundation support at http://wiki.x.org for help. [ 10.991] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information. [ 10.991] (EE) [ 11.032] (EE) Server terminated with error (1). Closing log file. |
|
But it has been modified today : $ ls -rw-r--r-- 1 root root 5021 2 janv. 17:10 Xorg.0.log |
|
At this point it seems like it's on the Nvidia driver and I can't actually help there as I don't have one to look at what things should look like when correct, but you should be able to troubleshoot this further from this point :) |
|
OK, thank you for being there. And happy new year! |
|
[SOLVED] How can I change this thread? My problem is solved. Thanks, |
Date Modified | Username | Field | Change |
---|---|---|---|
2022-12-31 16:37 | FredJ | New Issue | |
2023-01-02 11:25 | FredJ | Note Added: 0017316 | |
2023-01-02 14:02 | FredJ | Note Added: 0017317 | |
2023-01-02 15:09 | FredJ | Note Added: 0017318 | |
2023-01-02 15:10 | steev | Note Added: 0017319 | |
2023-01-02 15:24 | FredJ | Note Added: 0017320 | |
2023-01-02 15:28 | FredJ | Note Added: 0017321 | |
2023-01-02 15:29 | steev | Note Added: 0017322 | |
2023-01-02 15:33 | FredJ | Note Added: 0017323 | |
2023-01-02 15:34 | FredJ | Note Added: 0017324 | |
2023-01-02 15:34 | steev | Note Added: 0017325 | |
2023-01-02 15:39 | steev | Note Added: 0017326 | |
2023-01-02 15:44 | FredJ | Note Added: 0017327 | |
2023-01-02 15:54 | steev | Note Added: 0017328 | |
2023-01-02 16:03 | FredJ | Note Added: 0017329 | |
2023-01-02 16:13 | steev | Note Added: 0017330 | |
2023-01-02 16:13 | FredJ | Note Added: 0017331 | |
2023-01-02 16:19 | steev | Note Added: 0017332 | |
2023-01-02 16:20 | steev | Note Added: 0017333 | |
2023-01-02 16:22 | FredJ | Note Added: 0017334 | |
2023-01-02 16:22 | FredJ | Note Added: 0017335 | |
2023-01-02 16:24 | steev | Note Added: 0017336 | |
2023-01-02 16:34 | FredJ | Note Added: 0017337 | |
2023-01-02 16:34 | FredJ | Note Added: 0017338 | |
2023-01-02 16:37 | FredJ | Note Added: 0017339 | |
2023-01-02 16:52 | steev | Note Added: 0017340 | |
2023-01-02 16:56 | FredJ | Note Added: 0017341 | |
2023-01-04 15:49 | FredJ | Note Added: 0017352 |