Score:1

Login Loop and strange PWD

ni flag

I'm getting the infinite log in loop on Ubuntu for just one of my user accounts - I've tried all of the recommended solutions (modifying .Xauthority, /temp/ and using lightdm)

Strangely when I ctrl+shift+f3 and login to the problem account - my working directory is "/" rather than "/home/username/"

Incase it is relevant, my the permissions for the problem account are dr-------- 31 usrnm usrnm ...

Does anybody know how I can fix or troubleshoot?

Thanks for any help!

muru avatar
us flag
That should be at least `rwx` for your user.
Charlie griffin avatar
ni flag
You got it in one thanks very much! I ran ```sudo chmod a+rwx /home/usrnm/``` and can now log in!
muru avatar
us flag
Does this answer your question? [Can't log in my ubuntu laptop, login loop](https://askubuntu.com/questions/585627/cant-log-in-my-ubuntu-laptop-login-loop)
Charlie griffin avatar
ni flag
Hi, I had tried this solution and failed because "~" was directing to "~" - now that I understand the problem it was on the right lines
Lorenz Keel avatar
gr flag
@Charlie griffin, please, don't put SOLVED in the title, but write an answer with the solution you found.
Score:2
ni flag

(Solution with thanks to muru)

The problem was with the permissions for /home/usrnm/. I fixed it by logging into the problem account by Ctrl+Shift+F3 and then running sudo chmod a+rwx /home/usrnm/

hr flag
More usual permissions would be `u=rwx,go=rx` or octal `755` (you don't really want **all* to be able to write to your home dir)
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.