I keep getting a login loop (e.g. trying to login just redirects back to the login screen despite correct password.) This started occurring after trying to install Nvidia drivers using a .run.
During this installation, everything seemed to be okay except an error that pre-installation files could not be installed although I did not worry about this.
I have tried many things to try to rectify the situation after reading several other posts on here and other forums but none of this seemed to have worked. I have tried: removing and purging all Nvidia files and reinstalling Ubuntu desktop, reinstalling lightdm, changing permissions on .Xauthority, removing xorg.conf amongst other minor things but none of these have had any effect.
As I said, I'm aware of other posts on this but none of those solutions have worked. Any ideas?