Score:0

Problem Login with Ubuntu 20.04.2 LTS

gb flag

I use Ubuntu 20.04.2 LTS and I can't login with the correct password anymore. I've tried the steps to delete the .Xauthority but the "sudo killall Xorg" step doesn't run. If I try to create the .Xauthority with the command "xauth generate :0 . trusted" it gets the error "xauth (argv) 1 unable to open display 0". Can someone help me?

user535733 avatar
cn flag
A link to "the steps" that you are following would be helpful. A login loop may have many possible causes, have you tried only the .Xauthority file?
guiverc avatar
cn flag
Unless you've made a change to your system (installed packages, which may include upgrades in the last session before this issue occurred), in my experience the main problem is lack of space in $HOME (ie. you're out of disk space, required for GUI logins). A text terminal login will still work to allow you to login, check and if that's your problem - rectify it. Your having jumped to other X11 issues implies you believe it's a change you made at fault? Giving us details of what change(s) you made in the last good session would be helpful.
guiverc avatar
cn flag
Does this answer your question? [Ubuntu gets stuck in a login loop](https://askubuntu.com/questions/223501/ubuntu-gets-stuck-in-a-login-loop)
silvio sanchez avatar
gb flag
Yes I installed Flask for Python...
silvio sanchez avatar
gb flag
I have no problem with disk space, it must have been installing Flask. Do you know how I can fix this?
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.