Can’t log into ubuntu via graphical login screen after .profile update

Thursday, 8. November 2012

I have had a scenario today after updating the .profile file where I could not log back in to ubuntu via the normal graphical login screen.

It turn out that i left the extra double quote in the .profile file (“) which was causing the error

To correct the mistake you will have to log in via terminal by hitting Ctrl+Alt+F2

Then enter your username as well as the password and navigate to yoour .profile file to make amends.

Finally, Type: sudo reboot to reboot your machine and this time you will be able to log in normally via graphical login screen.

NOTE:
Same scenario may happen if you edit .bashrc file as well.

Crtl + ALT + F2

Leave a Reply

You must be logged in to post a comment.