My computer running Ubuntu 18.04 is stuck in a login loop. I am using lightdm as my display manager, but trying to switch to gdm3 didn't fix the problem (I was still stuck in a login loop).
I have tried to follow the fixes found here to fix it, but after running
ls -la there is no
.Xauthority file in my home directory. I think this is related to my login loop problem, but I am not sure how to create a new
Update: I switched to
gdm3 and can now login with Unity for a few seconds. The desktop loads but after a minute I am in a login loop again.