This question already has an answer here:
- Ubuntu gets stuck in a login loop 31 answers
I had Ubuntu 12.04 LTS installed as dual boot on a MacMini PPC 1.25 GHz.
I ran upgrade/update, but after reboot I am stuck in a login loop with user and guest. The terminal login is successful.
sudo chown -R user:user /home/user
returns no such files found.