Cannot log in with correct password after installing VirtualBox and Genymotion and editing /etc/profile
Open the terminal using CTRL + ALT + F1 (or whatever key works for you).
While in your home directory, type the command cat .xsession-errors
.
This will give you the error that is causing the login screen loop. In my case it was an error in the /etc/profile
that I had edited last night.
Related videos on Youtube
An SO User
Updated on September 18, 2022Comments
-
An SO User over 1 year
This is a rather bizarre problem that I am experiencing. My Ubuntu 14.10 does not let me log in despite proper password. Here is what happens:
I try to log into my machine by entering the password. The password gets accepted, my laptop screen blinks, and brings me back to the login screen.
After having tried this many times I tried Guest Session. When I click on login in guest session, the same story repeats itself.
The only thing different from yesterday (when I could properly log in) is that I installed virtual box and Genymotion for Android development. Also, I made a simple change to
/etc/profile
to havegenymotion
in my path.How do I solve this?
-
Socceroos about 9 yearsIf you have no easy way to copy/paste the output, the just do this:
sudo apt-get install pastebinit && tail -50 /var/log/syslog | pastebinit
-
Zanna about 7 yearsOP said nothing about nvidia drivers though
-
Anwar almost 7 yearsWhay was the error?
-
An SO User almost 7 years@Anwar it was some PATH related issue. I had a stray space in the path so it broke.