Ubuntu asking for password again and again I am also having the same problem . When I enter my password while booting up, it shows screen with system loadings for a split second and takes me back to password entry screen
Ubuntu asking for password again and again
35.2k Views Asked by mohitmonu AtThere are 5 best solutions below

I had the same problem on Ubuntu 16.04LTS 64bit. My nvidia driver was the reason of it. I dont't know the details. However removing nvidia-340 package fixed the trouble (apt-get remove nvidia-340).

I have Ubuntu 19.10 and changing the PATH variable in /etc/environment caused asking the password again and again when I wanted to restart my machine. I used another environment variable in my PATH variable and Ubuntu didn't like it.
So as Arthur wrote I pressed Ctrl + F2 when it asked the password, logged in, realized the problem with echo $PATH
, edited the PATH variable with nano /etc/environment
, replaced the other variable in the PATH with its value, restarted my machine, and it works now.

I faced the same issue on my laptop and solved it by following below steps:
- Press CTRLAltF1 and It will open the console.
- Enter your username and press Enter.
- Enter your username password and press Enter.
- Run command:
mv .Xauthority .Xauthority.bak
- Run command:
exit
- Press CTRLAltF7 for graphical mode.
- Try to login by entering your password.

Ctrl + Alt + F1
did not work in my case of Ubuntu 18.04 in VirtualBox, but Ctrl + F2 did take me to the command line.
My issues did not end there however, I simply could not issue any command (resulted in error "Command ... not included in the PATH environment variable") until export PATH=/usr/bin:/bin
.
But then, to my dismay, none of the procedures listed here helped.
What worked is the answer by Prometheus and Chaos at https://askubuntu.com/questions/249363/my-ubuntu-system-is-asking-login-again-and-again-when-i-even-entered-the-correct
When the password entry screen appears on the display manager screen press
Ctrl + Alt + F1
. After that, you will get to the console. There enter login and then password.go through live USB, when you start clicked to restore the system - it also helps