Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I have 12.04 on my machine, and after a shut down and a restart I haven't been able to log into the GUI, after entering my password, it switches back to the GUI and does not accept it.

I've tried the following:

  • Ctrl+Alt+F1, login via tty1 - worked fine, so the password and user works
  • tried to remove the .Xauthority file - does not exist
  • tried to restart the lightdm - no change, still cannot log in
  • tried to install the gdm, but no apt-get command works, it fails to connect to the required web address
  • tried the sudo chown -R $user:$user /home command, still cannot log in

Do you have any suggestions what can I do?

share|improve this question
    
you mean login loop. –  Avinash Raj Jan 2 at 9:14
    
try this or this –  Avinash Raj Jan 2 at 9:18
    
None of them worked :( –  meszar.imola Jan 2 at 9:36
    
Please post the logs from /var/log/lightdm/. –  falconer Jan 2 at 11:28
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.