Score:1

Ubuntu login loop, but have another user account

tl flag

I cannot login to my main user account. I have entered the password right. When I enter the password correctly, the ubuntu login window freezes for around 3 seconds and then just returns to the login screen. When I enter a password incorrectly, it instantly tells me the password is incorrect.

When I try pressing CTRL + ALT + 1,2,3, and log in, it will successfully login, but not allow me to enter commands and then will timeout at about 15 seconds and log me back out.

I went into recovery mode and I was able to log into my main user account there. While I was in there I created a new user. I logged into the new user successfully while out of recovery mode. I went back into recovery mode and added it to the sudoers list sudo adduser sudo.

TL;DR for above, CTRL + ALT 2 does not work, created a new accout with sudo privs via recovery options

Now that I can login with my new test user account and it is added to the sudoers list... I don't really know what else to now. I really want to be able to login to my main account, unless there is a very good way to ensure that I recopy 100% of my files on user account to the new user account.

NOTE: I leave my PC on at night (with sleep mode turned off) and I found it frozen, so I restarted it and then this happened

Note: not using nvida, using AMD gpu

Esther avatar
es flag
sounds like something is wrong with your user profile, did you change your ~/.profile or similar?
Kevin Smith avatar
tl flag
Nope, I leave my PC on and I found it frozen, so I restarted it and then this happened (Also I don't use sleep, so my ubuntu is awake all night) @Esther
Esther avatar
es flag
so it sounds like something got corrupted when you force-shutdown, I guess. Not sure what it could be, maybe someone else will know what info is needed. But that is important info to add to your question, you can [edit](https://askubuntu.com/posts/1438437/edit) it to add the info.
Kevin Smith avatar
tl flag
@Nmath I moved my .config file to another directory, and the problem still happens, but I also moved some other .bash_ files and then tested it again and it seems to be working. will update after done troubleshooting and getting the exact cause, hopefully the line number(s) and the relative content of the line number in one of these files
Score:-2
tl flag

I don't know how this happened... but I was importing/including .bash_profile inside of .bash_profile. I commented it out and it is working now. Like I said, I leave my PC on at night so this might have been in there for awhile 4-7 days and then I had a crash last night and I just noticed it.

recursion import

I sit in a Tesla and translated this thread with Ai:

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.