The setup in which my issue occurs:
GPU: NVIDIA GeForce GTX 1050.
Ubuntu: 16.04 LTS.
After installing NVIDIA's drivers (NVIDIA-Linux-x86_64-375.20) everything works just fine. However, out of the blue, every 7~10 days, I will get a login loop that forces me to purge drivers, stop lightdm, re-install, and reboot. This works every single time, so the issue has a solution but it keeps happening every other week.
So far the only measure I have adopted is including nomodeset to my Grub. I thought this would fix the issue but since I included it the problem occurred twice (so that means I included nomodeset like a month ago).
The fact that the issue happens periodically makes me think that it is related to some process that also occurs every other week. I might be wrong, but I just wanted to check with the community as I am a Linux aficionado and not an expert in any way.
Any lead/idea/suggestion will be very appreciated. Thanks!