Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

This question already has an answer here:

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.

The command:

sudo chown -R user:user /home/user  

returns no such files found.

share|improve this question

marked as duplicate by karel, Eric Carvalho, Pilot6, David Foerster, Paranoid Panda Oct 18 '15 at 11:50

This question was marked as an exact duplicate of an existing question.

what is the output of ls /home – Maythux Mar 4 '14 at 4:49
username lost+found – user254521 Mar 4 '14 at 5:13
Ur login user is user or username? – Maythux Mar 4 '14 at 5:14
login user:user – user254521 Mar 4 '14 at 5:19
Do you have a user called username? – Maythux Mar 4 '14 at 5:21

First attempt to the problem is :

sudo dpkg-reconfigure lightdm

it might resolve your problem ..

Sure shot solution that works is

 sudo apt-get install --reinstall lightdm lightdm-gtk-greeter

Reply if that helps


Edit: Also reply if this doesn't help instead of down-voting.

share|improve this answer

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