I installed the latest updates for 18.04 then restarted to apply the updates. When I tried to login it would just return to the login page again. I tried the instructions from this video


and from this post

Ubuntu gets stuck in a login loop

So when i do ctrl+alt+f3, login, run 'ls -la' then run 'sudo chown username:username .Xauthority' it just says 'chown: cannot access '.Xauthority' : no such file or directory'

I dont know what to do next.

  • when you ran ls -la did you see .Xauthority on the list? If the list was too long and you can't scroll back use ls -la .X* instead. – WinEunuuchs2Unix Aug 13 '18 at 0:40

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Browse other questions tagged or ask your own question.