SOLVED Mint won't boot even after entering good passwd

Questions about Grub, UEFI,the liveCD and the installer
Forum rules
Before you post please read how to get help
Post Reply
sadhu
Level 4
Level 4
Posts: 488
Joined: Fri Nov 22, 2013 9:48 am
Contact:

SOLVED Mint won't boot even after entering good passwd

Post by sadhu » Mon Apr 16, 2018 8:31 am

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 sadhu on Tue Apr 17, 2018 8:26 am, edited 1 time in total.
sabbe sattā bhavantu sukhitattā. LN 18.3-64 Cinn 3.4.6, Mobo: ASUSTeK STRIX B250G GAMING v, Dual core Pntm G4560, Intel Gfx. Laptop:Dell Inspiron 15-3000, Core i3, 4G RAM Intel Gfx

User avatar
Pierre
Level 17
Level 17
Posts: 7133
Joined: Fri Sep 05, 2008 5:33 am
Location: Perth, AU.

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

Post by Pierre » Mon Apr 16, 2018 8:58 am

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 15
Level 15
Posts: 5914
Joined: Mon Aug 20, 2012 9:41 pm
Location: Potemkin Village

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

Post by Flemur » Mon Apr 16, 2018 9:26 am

sadhu wrote:
Mon Apr 16, 2018 8:31 am
How 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?
Mint 18.3 Xfce/fluxbox/pulse-less
Xubuntu 17.10/fluxbox/pulse-less

sadhu
Level 4
Level 4
Posts: 488
Joined: Fri Nov 22, 2013 9:48 am
Contact:

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

Post by sadhu » Tue Apr 17, 2018 8:25 am

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ā. LN 18.3-64 Cinn 3.4.6, Mobo: ASUSTeK STRIX B250G GAMING v, Dual core Pntm G4560, Intel Gfx. Laptop:Dell Inspiron 15-3000, Core i3, 4G RAM Intel Gfx

Post Reply

Return to “Installation & Boot”