I just rebooted on my 20.04 Ubuntu (that I have been using since 2 months now) so nothing really new or changed and as far as I know also no updates either.
But after this reboot I can't (stay) logged in. I try to login with the correct password.. it logs in. And the immediately goes back to the login screen. I tried a wrong password.. and then it says something was wrong (ofcourse the password) also when I want to reboot again. It actually says I am still logged in. Never the less I can't get to the desktop.
Anyone that has any experience with anything like this? I tried all the keys on the keyboard. None is stuck either. Is there a logout shortcut key I can specially look at?
Also is there a possibility to login / boot into a basic option into a terminal by passing the issue? As for now I really can't do anything to check or solve the issue.
Kind regards
@heynnema & Prakhar:
Thanks for your replies. Indeed I have found that the issue is a common one. I tried both your solutions.. but it doesn't work. Both .Xauthority and ICEauthority are in name of me (user) and not root.
Also I did not use sudo to access a GUI. It's been a while since I rebooted the machine but I don't recall doing that at all. Also I googled some options and tried all this
https://www.google.com/amp/s/www.maketecheasier.com/fix-ubuntu-login-loop/%3famp.
None of it worked for me..
I now indeed installed lightDM. Following huux :answer' Login loop with fresh 19.10 install
I can now log in but I get an 2nd error on login about a colour profile.that I can seem to get past except by pressing cancel..
At least nog i have a change to Google a more permanent solution and still work on.