login problem Peppermint 8 (SOLVED)

Hi Mark, I’m using the guest account on the live usb as follows:peppermint@peppermint ~ $ sudo fdisk -l
Disk /dev/loop0: 1.2 GiB, 1257021440 bytes, 2455120 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes

Disk /dev/sda: 931.5 GiB, 1000204886016 bytes, 1953525168 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disklabel type: gpt
Disk identifier: 8AA8B3A0-E90C-44E7-AB21-454AB275186C

Device Start End Sectors Size Type
/dev/sda1 2048 206847 204800 100M EFI System
/dev/sda2 206848 239615 32768 16M Microsoft reserved
/dev/sda3 239616 1040195157 1039955542 495.9G Microsoft basic data
/dev/sda4 1951426560 1953523711 2097152 1G Windows recovery environment
/dev/sda5 1040195584 1943199743 903004160 430.6G Linux filesystem
/dev/sda6 1943199744 1951426559 8226816 3.9G Linux swap

Partition table entries are not in disk order.

Disk /dev/sdb: 3.8 GiB, 4025810432 bytes, 7862911 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x37d71b0e

Device Boot Start End Sectors Size Id Type
/dev/sdb1 * 2048 7862910 7860863 3.8G c W95 FAT32 (LBA)

Disk /dev/zram0: 967.8 MiB, 1014775808 bytes, 247748 sectors
Units: sectors of 1 * 4096 = 4096 bytes
Sector size (logical/physical): 4096 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes

Disk /dev/zram1: 967.8 MiB, 1014775808 bytes, 247748 sectors
Units: sectors of 1 * 4096 = 4096 bytes
Sector size (logical/physical): 4096 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
peppermint@peppermint ~ $ sudo blkid
/dev/sda1: LABEL=“ESP” UUID=“9E99-E13D” TYPE=“vfat” PARTLABEL=“EFI system partition” PARTUUID=“b59d2b94-1a6a-466a-968f-dfe8b4f0022b”
/dev/sda3: LABEL=“Acer” UUID=“CC3A9AE93A9ACFB6” TYPE=“ntfs” PARTLABEL=“Basic data partition” PARTUUID=“6681c8ed-a1ff-4afd-9549-995cc2dd6047”
/dev/sda4: LABEL=“Recovery” UUID=“5CFE9C78FE9C4BE0” TYPE=“ntfs” PARTLABEL=“Basic data partition” PARTUUID=“2a7e8473-7add-4c43-87e3-8c0fea9bd331”
/dev/sda5: UUID=“848da0b4-b8f8-466b-87e7-6998405403f7” TYPE=“ext4” PARTUUID=“c6fd4848-4307-4f95-bde4-156a2462bab2”
/dev/sdb1: LABEL=“PEPPERMINT” UUID=“6C8F-1F63” TYPE=“vfat” PARTUUID=“37d71b0e-01”
/dev/loop0: TYPE=“squashfs”
/dev/sda6: UUID=“6a3249c5-efc2-4c7c-8201-6d9fac9f5857” TYPE=“swap” PARTUUID=“ecb31f2f-5be0-4eef-8157-0a380950aa1e”
/dev/zram0: UUID=“52ae6c77-dae4-4411-85ed-393b931c9f55” TYPE=“swap”
/dev/zram1: UUID=“d67a7ce2-cd35-4496-a4d7-5a62a2510cf1” TYPE=“swap”
/dev/sda2: PARTLABEL=“Microsoft reserved partition” PARTUUID=“023226f8-e179-485f-b47f-5e779174c147”
peppermint@peppermint ~ $

At the login screen hit Ctrl+Alt+F2

lgin in text mode

then run:

sudo service lightdm restart

were any errors reported ?

If running that dumped you back at the login screen … hit Ctrl+Alt+F2 again … now can you see any errors ?

Hi Mark, thanks for your help in this. I ran sudo service lightdm restart and ended up with this:(PLEASE NOTE no live peppermint USB in) I tried it with the live USB in but could only get incorrect login,after trying with the USB in.

Peppermint Eight normanliddle-Aspire-ES1-571 tty
normanliddle Aspire-ES1-571 login normanliddle
Password:
Last login: Thu May 10 13:47:06 BST 2018 on tty2
Welcome to Peppermint 8 Eight (GNU/Linux 4.13. 0-8- generic x86_64)

ps how do I exit the text login correctly? Yours Norman

0 packages can be updated.
0 updates are security updates.

Signature not found in user keyring
Perhaps try the interactive ‘encryptpf -mount-private’
normanliddle@normanliddle-Aspire-ES1-571~$

Ps how do I get out of the text login Mark? exit does’t work? Yours Norman

Have you tried doing what it said

encryptpf -mount-private

though if you encrypted your home directory, I don’t think I’m going to be able to help you recover its contents.

Hi Mark, thanks for your reply. I shall with reluctance give up on this. Tried the ecryptfs-mount-private command and found that i could mount it using
the original PASSWORD regarding the login phrase.I think it would be prudent to reinstall peppermint 8 and not encrypt the home directory which appears
to be what I have done (in error). A synopsis of installing peppermint 8 would be appreciated from this point.
I Know nothing about partitions according to windows disk management Peppermint is installed on disk 0 partition 5 which =430.59 GB. Although
I never went near windows when installing Peppermint 8 from the live USB. Any comments or advice would be appreciated. Yours Norman.
PS is it possible to just run the live USB as I did originally? to reinstall?

Hi Mark, just remembered, using the ecrypt mount private with the old password I can mount the /home etc directory?if this is of any use
don’t know what commands to use from that prompt. Would still like to reinstall Peppermint 8 if that’s the way to go? Yours Norman.

If you’re able to mount the /home partition, try this

boot to the login screen

hit Ctrl+Alt+F2 to drop to a text console

do whatever you need to do to mount the home partition

then run:

sudo service lightdm restart

did that get you logged in ?

if so, set your password back to be the same as the one you’re using to mount the encrypted /home:

sudo passwd <username>

where is your actual username

You cracked it again Mark. Followed your commands MAGIC. I shall not be playing with passwords and encrypted drives in the future.
Yours sincerely, Norman

Great news Norman :slight_smile:

Thanks again Mark, I forget, do you class this query/problem as solved or do I?
Yours, Norman.

It’s your topic my mate, you have to do it :wink:

Edit the FIRST post in this topic and change:-

Subject: login problem Peppermint 8 (SOLVED)