0

I have Ubuntu 14.04 installed in my PC. It was working just fine but now, at the time of login, when I enter my password, Screen goes blank and again the login page is displayed. However if password is incorrect, message is prompted. What could be done in this case?

Prachi
  • 87
  • 1
  • 8

1 Answers1

1

When this happens to me, it is usually because I have added an error into my ~/.bashrc.

For me the solution usually goes like this:

  1. Hit Ctrl-Alt-F1 to get to console

  2. Log in there

  3. Open the file ~/.xsession-errors in your favourite editor:

    nano ~/.xsession-errors
    
  4. Go to the bottom and see what was the last error that made the login fail.

  5. Now edit ~/.bashrc or whatever file is causing the error, and fix it.

  6. Ctrl-Alt-F7 or F8 to get back to the graphical login screen, and try to log in again!

joeytwiddle
  • 1,957