SOLVED Mint won't boot even after entering good passwd

Questions about Grub, UEFI,the liveCD and the installer
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
User avatar
sadhu
Level 5
Level 5
Posts: 862
Joined: Fri Nov 22, 2013 9:48 am
Location: Sri Lanka
Contact:

SOLVED Mint won't boot even after entering good passwd

Post by sadhu »

In a brand-new install of LM18.3 I did something to my /home/sadhu directory, I am not sure what. Now when I boot, the green mint logo comes up, then the login screen. But when I type my password, the screen blanks for a moment, as if cinnamon is starting, but the the login screen comes back.

If I deliberately type a incorrect password, I immediately get the bad password error message,

How to fix this? Is there any way perhaps to rebuild a generic home directory--without a total re-install?


Thanks,
Sadhu
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 2 times in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
sabbe sattā bhavantu sukhitattā. LM 21.2-64 Cinn 5.8.4
User avatar
Pierre
Level 21
Level 21
Posts: 13227
Joined: Fri Sep 05, 2008 5:33 am
Location: Perth, AU.

Re: Mint wo'nt boot even after entering good passwd

Post by Pierre »

try following this method:
https://community.linuxmint.com/tutorial/view/339
and see if you can reset the password,, to something else . . .

then log back in & test the new password.
Image
Please edit your original post title to include [SOLVED] - when your problem is solved!
and DO LOOK at those Unanswered Topics - - you may be able to answer some!.
User avatar
Flemur
Level 20
Level 20
Posts: 10096
Joined: Mon Aug 20, 2012 9:41 pm
Location: Potemkin Village

Re: Mint wo'nt boot even after entering good passwd

Post by Flemur »

sadhu wrote: Mon Apr 16, 2018 8:31 amHow to fix this? Is there any way perhaps to rebuild a generic home directory--without a total re-install?
After you boot into recovery/single/console mode (whatever it's called), try

Code: Select all

find $HOME ! -user $USER
if you don't own the files, take ownership of them, then see if you can login (w/GUI).

After that doesn't work, try

Code: Select all

sudo dpkg-reconfigure lightdm
then see if you can login w/GUI.

After that doesn't work, try making a new user and see if you can GUI login with the new user.
Please edit your original post title to include [SOLVED] if/when it is solved!
Your data and OS are backed up....right?
User avatar
sadhu
Level 5
Level 5
Posts: 862
Joined: Fri Nov 22, 2013 9:48 am
Location: Sri Lanka
Contact:

Re: Mint wo'nt boot even after entering good passwd

Post by sadhu »

Code: Select all

find $HOME ! -user $USER
sudo dpkg-reconfigure lightdm
useradd <newuser>
passwd <newpw>
sudo dpkg-reconfigure lightdm
All had no effect.

I finally logged into the old install of 18.2-->3 on sda7, then mounted the new 18.3 partition using nemo, then

Code: Select all

sudo mkdir /media/sadhu/lm183-sda1/home/sadhu
sudo rsync -av /home/sadhu/ /media/sadhu/lm183-sda1/home/sadhu
and now it seems to be working.

The upshot is ... "be darn careful when you fool around with the /home/<user> directory.

BTW when I was fooling around with the recovery process, I found it necessary to type 'e' in the grub prompt for the recovery option, then edit the boot line from "ro recovery" to "rw recovery", otherwise my changes were discarded -- Read-Only File system. The instructions on https://community.linuxmint.com/tutorial/view/339 didn't work for me.

Thanks everyone for your help.

-Sadhu
sabbe sattā bhavantu sukhitattā. LM 21.2-64 Cinn 5.8.4
Locked

Return to “Installation & Boot”