This question already has an answer here:

I am entering the correct password in Ubuntu, but the screen just blinks and again shows me the same login screen. Guest session works properly. What should I do?

marked as duplicate by karel, Pilot6, Eric Carvalho, Zanna, Ravexina Apr 22 '17 at 16:17

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

  • Is there a incorrect password message? If no, Type alt+ctrl+F1. You will go to linux console. Try typing your password there. Let us know if you are still unable to login. – Jay Jun 17 '15 at 11:46
  • Check this problem and the solution: askubuntu.com/questions/145333/… – Jay Jun 17 '15 at 11:49
  • - caps lock? - incorrect keyboard. Did you use a char different than 0-9, a-z, A-Z? – Rinzwind Jun 17 '15 at 14:37
  • 4
    Since the original title was "..not aacpting..." I have to ask: Does your keyboard "a" key stutter; and is there an "a" in your password? – waltinator Jun 17 '15 at 23:46
  • After rename the .XAuthority, If it doesn't worked yet, if your password is number, try to enter it by using numpad instead of top keyboard horizontal number keys. – Andiana Jul 31 '17 at 7:17

This doesn't always work, but going into the Linux console mentioned by Jay (ctrl+alt+F1), and moving/deleting .Xauthority in your home directory (example: /home/arpan/.Xauthority) may help.

I've had this problem on my own computer, and it fixed it. However, this same problem arose on another computer, and this did not resolve the problem.


It is not so obvious that the wrong password was entered. Today, I had the same problem with Ubuntu 16.04 (on VirtualBox on a Windows 10 host) after the screen was locked automatically. Entering the password in the graphical interface kept giving me the message the password was wrong. Logging in via the console worked just fine, just as well as logging in from the host machine over ssh with the same username. Hence, the password was not the problem.

I solved the problem by restarting the device with the shutdown command from the console (can be done over SSH as well if necessary and if a SSH server is running on your machine).

Not the answer you're looking for? Browse other questions tagged or ask your own question.