Why do I have to restart LightDM every time I boot my Linux Mint system?
Asked by
CuriousCat42
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?
Answers
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.
Reply to this answer
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.
Reply to this answer
Add your answer
Answers are reviewed before publication.
SuccessStory: It worked!!!! Thank you!