0

I used this script to restore my files and installed packages (home folder not encrypted) after upgrading to Ubuntu 16.04 64 bit. But when I tried to log in as a user, graphically, it just took me back to the log in screen. I can log on as a user via command-line from the log in screen.

As the solution to can't log into ubuntu after rsync restore of home folder, says to remove the ~/.Xauthority file from the home folder and create a new one, this didn't work for me.

  • Could you try going to tty1 and logging in? Then could you give the output of that? – Simon Quigley Apr 18 '16 at 20:28
1

When you backup and restore, the permissions need to be identical, otherwise, you will not be able to log in. You could probably boot into recovery mode and do a recursive chown on your home directory. This should probably fix it.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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