New Linux Mint Update resulted in login loop

Quick to answer questions about finding your way around Linux Mint as a new user.
Forum rules
There are no such things as "stupid" questions. However if you think your question is a bit stupid, then this is the right place for you to post it. Stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions use the other forums in the support section.
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Cosmo.
Level 24
Level 24
Posts: 22968
Joined: Sat Dec 06, 2014 7:34 am

Re: New Linux Mint Update resulted in login loop

Post by Cosmo. »

SMG wrote: Wed Sep 21, 2022 8:49 pm That's a good sign, but I'm not sure what Cosmo. was expecting, so we will wait for his feedback.
That is easy to answer. I wondered, why the login loop reappears. A full disk can get excluded in this case, so some files in user's home, which are critical for login in (.dmrc and others) might have wrong ownership. I wanted to get a confirmation or an exhausting for this suspicion.

Of course you are right, it looks good.

We are now not so far away from the point, where a Timeshift restore is needed. But there is one idea left:

Create a new account and set this for automatic login. Then reboot. Does it log in here?
Cosmo.
Level 24
Level 24
Posts: 22968
Joined: Sat Dec 06, 2014 7:34 am

Re: New Linux Mint Update resulted in login loop

Post by Cosmo. »

Another point, I am not sure, if this had been discussed here already. (At least by quick reading I did not find anything.)

Did you try to load in the grub menu to load the previous kernel? If not, do this.
You mentioned in the starting post a FF update and a kernel update. The FF update can get excluded here, so loading the previous kernel should solve the problem. If not, than anything else and not that update has the culprit.

P.S. In case, that my previous advice did help, you can omit this.
chhejr
Level 1
Level 1
Posts: 33
Joined: Sun Mar 17, 2019 12:29 am

Re: New Linux Mint Update resulted in login loop

Post by chhejr »

Cosmo. wrote: Thu Sep 22, 2022 4:26 am
SMG wrote: Wed Sep 21, 2022 8:49 pm That's a good sign, but I'm not sure what Cosmo. was expecting, so we will wait for his feedback.
That is easy to answer. I wondered, why the login loop reappears. A full disk can get excluded in this case, so some files in user's home, which are critical for login in (.dmrc and others) might have wrong ownership. I wanted to get a confirmation or an exhausting for this suspicion.

Of course you are right, it looks good.

We are now not so far away from the point, where a Timeshift restore is needed. But there is one idea left:

Create a new account and set this for automatic login. Then reboot. Does it log in here?
I created a new user and restarted the computer. When I try to login with the new user it works no problem. But when I try to login with my old user account it still produces the same login loop problem.
chhejr
Level 1
Level 1
Posts: 33
Joined: Sun Mar 17, 2019 12:29 am

Re: New Linux Mint Update resulted in login loop

Post by chhejr »

Cosmo. wrote: Thu Sep 22, 2022 4:31 am Another point, I am not sure, if this had been discussed here already. (At least by quick reading I did not find anything.)

Did you try to load in the grub menu to load the previous kernel? If not, do this.
You mentioned in the starting post a FF update and a kernel update. The FF update can get excluded here, so loading the previous kernel should solve the problem. If not, than anything else and not that update has the culprit.

P.S. In case, that my previous advice did help, you can omit this.
I haven't tried this yet. Should I proceed with this or would just deleting my old user account and just using the new user account from now on be the way to go? And if I should try to load the previous kernel, How do I do this precisely?
User avatar
SMG
Level 25
Level 25
Posts: 31812
Joined: Sun Jul 26, 2020 6:15 pm
Location: USA

Re: New Linux Mint Update resulted in login loop

Post by SMG »

chhejr wrote: Thu Sep 22, 2022 8:35 pmI haven't tried this yet. Should I proceed with this or would just deleting my old user account and just using the new user account from now on be the way to go? And if I should try to load the previous kernel, How do I do this precisely?
If you delete your old user account, you will lose all your bookmarks and software program settings associated with it. You might want to leave the old account there until you are happy you have everything set up on the new user account.

With regards to changing to a different kernel, I don't think that is the issue, but it is handy to know how to do it so I will give you the information.

To boot into an older kernel, bring up the grub menu, select the Advanced Options, and then select the desired kernel. (Usually, you will be selecting a kernel without (recovery mode) after it.) If you do not normally see the grub menu, repeatedly tap the escape key during boot to bring up the grub menu (for a UEFI boot computer like you have).

If that does not work, see this post for how to edit grub to get the menu to show.

Linux Mint automatically boots into the highest number installed kernel. Using the method I just described is one one to boot into a lower number kernel, however, if you are booting into an older kernel because there is a problem with the newer kernel, you will want to use Update Manager to remove the newer kernel so you do not have to do that for every boot cycle.
Image
A woman typing on a laptop with LM20.3 Cinnamon.
Cosmo.
Level 24
Level 24
Posts: 22968
Joined: Sat Dec 06, 2014 7:34 am

Re: New Linux Mint Update resulted in login loop

Post by Cosmo. »

chhejr wrote: Thu Sep 22, 2022 8:33 pm I created a new user and restarted the computer. When I try to login with the new user it works no problem.
Great, it means, that the problem is related to your account. It also means, that a Timeshift restore would (most likely) not have helped, because with default settings TS does not touch the accounts. And further more it means, that the cause for the login loop is on a place, where we did not yet look at - and at least I must at first think about, where this might be.

This result also means, that loading an older kernel will near to sure do not good. But on the other hand, if you do it as described by SMG, it also does nothing bad. So try it, it is a one-time-method, that means, with the next boot the current kernel will be loaded again. Perhaps we get a surprise.

Deleting your current account and continue to use the system with the new account is of course an option; it means, we will get in any case at the end a workable system. But perhaps we find another way.

In the case that we do not find an alternative, we will guide you to preserve your user data, inclusive browser bookmarks, e-mails (if you use e.g. Thunderbird) and whatever there might be. But I would like to find the real culprit, just out of my own curiosity. Be noted, that this might take perhaps a little bit more time. So tell us, if you have the needed patience or not.

But in any case: Do not delete your current account at now.
What you should do: Backup your complete home (inclusive all hidden folders) to an external drive!. You can do this either from the old account (after having it set again to let you log in) or from the live system.
motoryzen
Level 10
Level 10
Posts: 3474
Joined: Sun Dec 08, 2019 12:25 am

Re: New Linux Mint Update resulted in login loop

Post by motoryzen »

Given the wise recommend to back up the home folder..I believe there is a one line rsync command that does that easily and well enough.

I found it on EzeeLinux.com via a YouTuber named Joe Collins.

I say this because the last few times I tried backing up my home folder via just left click drag aka copy n paste...it gave me a few errors and it didn't back up the entire home folder (LM 20.3 cinnamon here)

Unless someone here beats me to it, I'll happily provide that exact command when I get home from work later this afternoon to make that process easier for ya.
Mint 21.2 Cinnamon 5.8.4
asrock x570 taichi ...bios p5.00
ryzen 5900x
128GB Kingston Fury @ 3600mhz
Corsair mp600 pro xt NVME ssd 4TB
three 4TB ssds
dual 1TB ssds
Two 16TB Toshiba hdd's
24GB amd 7900xtx vid card
Viewsonic Elite UHD 32" 144hz monitor
Cosmo.
Level 24
Level 24
Posts: 22968
Joined: Sat Dec 06, 2014 7:34 am

Re: New Linux Mint Update resulted in login loop

Post by Cosmo. »

motoryzen wrote: Fri Sep 23, 2022 8:42 am I say this because the last few times I tried backing up my home folder via just left click drag aka copy n paste...it gave me a few errors and it didn't back up the entire home folder (LM 20.3 cinnamon here)
This does not bring us here any further. If you want your problem getting discussed, create an own thread for it.
motoryzen
Level 10
Level 10
Posts: 3474
Joined: Sun Dec 08, 2019 12:25 am

Re: New Linux Mint Update resulted in login loop

Post by motoryzen »

Cosmo. wrote: Fri Sep 23, 2022 1:22 pm
motoryzen wrote: Fri Sep 23, 2022 8:42 am I say this because the last few times I tried backing up my home folder via just left click drag aka copy n paste...it gave me a few errors and it didn't back up the entire home folder (LM 20.3 cinnamon here)
This does not bring us here any further. If you want your problem getting discussed, create an own thread for it.
What are you talking about? The idea of backing up the home directory was mentioned..

I simply mentioned a good method of doing exactly that.

I didn't say anything about needing help with a problem of mine.
Mint 21.2 Cinnamon 5.8.4
asrock x570 taichi ...bios p5.00
ryzen 5900x
128GB Kingston Fury @ 3600mhz
Corsair mp600 pro xt NVME ssd 4TB
three 4TB ssds
dual 1TB ssds
Two 16TB Toshiba hdd's
24GB amd 7900xtx vid card
Viewsonic Elite UHD 32" 144hz monitor
motoryzen
Level 10
Level 10
Posts: 3474
Joined: Sun Dec 08, 2019 12:25 am

Re: New Linux Mint Update resulted in login loop

Post by motoryzen »

In the case that we do not find an alternative, we will guide you to preserve your user data, inclusive browser bookmarks, e-mails (if you use e.g. Thunderbird) and whatever there might be

I simply made a short explanation to back up my reasoning behind using rsync versus simple copy and paste. (Shrugs)it's not like it was unproductive wall of text.
Mint 21.2 Cinnamon 5.8.4
asrock x570 taichi ...bios p5.00
ryzen 5900x
128GB Kingston Fury @ 3600mhz
Corsair mp600 pro xt NVME ssd 4TB
three 4TB ssds
dual 1TB ssds
Two 16TB Toshiba hdd's
24GB amd 7900xtx vid card
Viewsonic Elite UHD 32" 144hz monitor
User avatar
SMG
Level 25
Level 25
Posts: 31812
Joined: Sun Jul 26, 2020 6:15 pm
Location: USA

Re: New Linux Mint Update resulted in login loop

Post by SMG »

Moderator note: beeman's issue, which is different from the one in this topic, has been made into a new topic as per the forum rules New Linux Mint Update Bricked My Laptop.

Please do not add your issues to someone else's topic. It makes it hard for those helping when there are multiple problems from multiple people in a topic.
Image
A woman typing on a laptop with LM20.3 Cinnamon.
Locked

Return to “Beginner Questions”