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
-
1My problem was that the hard drive was full 100% – Baha Aug 16 '20 at 09:46
-
I've solve this issue by following way : Check here... https://askubuntu.com/a/1318368/1185282 – Ketan Ramani Feb 22 '21 at 12:28
-
Press ctrl+alt+f1 then once you log in to command line try to create a file or folder to see if the problem is not lack of disk space. – nassim May 18 '21 at 15:15
-
@Bahax how did you resolve the issue if the HDD was full? – ankush jamthikar May 12 '22 at 09:39
-
@ankushjamthikar, sorry I don't remember this issue at all, but from the top of my head maybe you can use a live CD or USB to delete some stuff? – Baha May 12 '22 at 11:59
5 Answers
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.
sudo chmod -R u+w /home/user
cd /home/user
sudo rm -f .Xauthority .ICEauthority
go through live USB, when you start clicked to restore the system - it also helps

- 407
- 4
- 9
-
1thanks, man! I've moved both .Xauthority and .ICEauthority to backup, and worked like a charm. – Eugene May 03 '18 at 10:02
-
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

- 1,441
- 1
- 13
- 17
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.

- 4,279
- 4
- 36
- 53
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.

- 5,100
- 13
- 43
- 62

- 71
- 4
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).

- 29
- 2