Why do I have to restart LightDM every time I boot my Linux Mint system?

0
41
Asked By CuriousCat42 On

I'm using Linux Mint Debian Edition, and every time I start my laptop, I have to go into tty mode and type 'systemctl restart lightdm.service' to get my desktop environment up and running. This isn't a huge hassle, but it's definitely annoying since it should just work. I have NVIDIA drivers installed (model 580), and I suspect they might be causing the issue. I've tried enabling the service with 'systemctl enable lightdm.service', but that didn't help. I even reinstalled LightDM, and it still doesn't fix the problem. Has anyone else dealt with this?

2 Answers

Answered By HelpfulNerd On

This seems like a race condition with the NVIDIA driver and LightDM. Try adding the following lines to '/etc/initramfs-tools/modules':

```
nvidia
nvidia_modeset
nvidia_uvm
nvidia_drm
```

Then, rebuild the initramfs using 'sudo update-initramfs -uk all'. This should load the GPU driver earlier, which might resolve the issue with LightDM starting up correctly.

SuccessStory -

It worked!!!! Thank you!

Answered By TechSavvy101 On

Have you checked the status of LightDM when the issue occurs? You can run 'systemctl status lightdm' to see what's going on. It's possible that if there's a different login manager set as default, it might not be using LightDM correctly, even if you've enabled it for boot.

Related Questions

LEAVE A REPLY

Please enter your comment!
Please enter your name here

This site uses Akismet to reduce spam. Learn how your comment data is processed.