Sign up ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free.

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 at 11:50

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new 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

1 Answer 1

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.