Debian: Lightdm stopped working after kernel update

Message boards : Number crunching : Debian: Lightdm stopped working after kernel update
Message board moderation

To post messages, you must log in.

AuthorMessage
MarkJ Crowdfunding Project Donor*Special Project $75 donorSpecial Project $250 donor
Volunteer tester
Avatar

Send message
Joined: 17 Feb 08
Posts: 1139
Credit: 80,854,192
RAC: 5
Australia
Message 1930052 - Posted: 15 Apr 2018, 1:29:22 UTC
Last modified: 15 Apr 2018, 1:33:41 UTC

Last night I got an updated kernel from stretch-backports (4.15). I was running the 4.14 from there without any issues. On my boxes with Nvidia drivers they all refused to start up the desktop complaining about lighdm has stopped working. My intel-GPU machines were fine so it seems to be the combination of the Kernel + Nvidia drivers

After reinstalling one box I discovered an easier way assuming you can login to the machine by some other method (ssh).

After it reboots and the desktop gets stuck with the lightdm failure message, login via ssh to it. As root remove the nvidia-kernel-dkms and reinstall it:

apt remove nvidia-kernel-dkms -y
apt install -t stretch-backports nvidia-kernel-dkms linux-headers-amd64 -y
nvidia-xconfig

Reboot and lighdm should now work. You probably don't need to redo the nvidia-xconfig but that's what I normally do after a Nvidia driver update.
BOINC blog
ID: 1930052 · Report as offensive

Message boards : Number crunching : Debian: Lightdm stopped working after kernel update


 
©2024 University of California
 
SETI@home and Astropulse are funded by grants from the National Science Foundation, NASA, and donations from SETI@home volunteers. AstroPulse is funded in part by the NSF through grant AST-0307956.