Author Topic: login problem Peppermint 8 (SOLVED)  (Read 2677 times)

0 Members and 1 Guest are viewing this topic.

Offline normanliddle

  • Jr. Member
  • **
  • Posts: 61
  • Karma: 0
  • I've just joined!
    • View Profile
    • Awards
Re: login problem Peppermint 8
« Reply #15 on: April 26, 2018, 01:30:48 pm »
Hi Mark, I have the normanliddle-Aspire-ES1-571 login:

Offline normanliddle

  • Jr. Member
  • **
  • Posts: 61
  • Karma: 0
  • I've just joined!
    • View Profile
    • Awards
Re: login problem Peppermint 8
« Reply #16 on: April 26, 2018, 01:48:16 pm »
Hi Mark, I have ended up with a prompt for normanliddle@normanliddle-Aspire=ES1-571~$. Above this it says signature not found in user keyring
Perhaps try the interactive 'encryptfs-mount-private'  Yours norman.
ps I have to go away tomorrow wild camping again for a fortnight if I cannot sort this out is it OK to contact you when I get back?

Offline Mark Greaves (PCNetSpec)

  • Administrator
  • Hero Member
  • *****
  • Posts: 17680
  • Karma: 457
  • Gender: Male
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
    • Awards
Re: login problem Peppermint 8
« Reply #17 on: April 26, 2018, 11:53:25 pm »
I seriously hope you didn't choose full disk encryption when you installed Peppermint (?)

When you get to this prompt
normanliddle-Aspire-ES1-571 login:
type in your username and hit enter.

Then when prompted for your password, type it in and hit enter.

You should now be at an "$" prompt .. run:
Code: [Select]
sudo service lightdm restart
and hit enter.

When prompted for your password, type it in and hit enter.

What happened ?



And sure, we can pick this up anytime you want.

I may be a little slow to respond though, super busy getting Peppermint 9 ready .. it's that time of year again.
« Last Edit: April 26, 2018, 11:56:14 pm by Mark Greaves (PCNetSpec) »
WARNING: You are logged into reality as 'root'
logging in as 'insane' is the only safe option.
pcnetspec.co.uk

Offline normanliddle

  • Jr. Member
  • **
  • Posts: 61
  • Karma: 0
  • I've just joined!
    • View Profile
    • Awards
Re: login problem Peppermint 8
« Reply #18 on: May 10, 2018, 01:36:16 pm »
Hi Mark, I'm back. Hope Peppermint 9 is going well for you. Followed your instructions re: sudo service lightdm restart. Prompt asked for login name,
then password, then password again. It appeared to reset itself but put me back to the little login window asking for login instead of asking me for a pa'ssword?   
I don't think I encrypted the drive but cannot remember? If I did i won't in future. Yours Norman.

Offline Mark Greaves (PCNetSpec)

  • Administrator
  • Hero Member
  • *****
  • Posts: 17680
  • Karma: 457
  • Gender: Male
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
    • Awards
Re: login problem Peppermint 8
« Reply #19 on: May 11, 2018, 07:29:20 pm »
Have you got a LiveUSB ?

If so, can you boot to it and post the output from:
Code: [Select]
sudo fdisk -l
and
Code: [Select]
sudo blkid
WARNING: You are logged into reality as 'root'
logging in as 'insane' is the only safe option.
pcnetspec.co.uk

Offline normanliddle

  • Jr. Member
  • **
  • Posts: 61
  • Karma: 0
  • I've just joined!
    • View Profile
    • Awards
Re: login problem Peppermint 8
« Reply #20 on: May 14, 2018, 01:53:11 pm »
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 ~ $

Offline Mark Greaves (PCNetSpec)

  • Administrator
  • Hero Member
  • *****
  • Posts: 17680
  • Karma: 457
  • Gender: Male
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
    • Awards
Re: login problem Peppermint 8
« Reply #21 on: May 15, 2018, 10:18:45 pm »
At the login screen hit Ctrl+Alt+F2

lgin in text mode

then run:
Code: [Select]
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 ?
WARNING: You are logged into reality as 'root'
logging in as 'insane' is the only safe option.
pcnetspec.co.uk

Offline normanliddle

  • Jr. Member
  • **
  • Posts: 61
  • Karma: 0
  • I've just joined!
    • View Profile
    • Awards
Re: login problem Peppermint 8
« Reply #22 on: May 16, 2018, 12:39:54 pm »
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)

* Documentation: https://help.ubuntu.com/

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

Offline Mark Greaves (PCNetSpec)

  • Administrator
  • Hero Member
  • *****
  • Posts: 17680
  • Karma: 457
  • Gender: Male
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
    • Awards
Re: login problem Peppermint 8
« Reply #23 on: May 16, 2018, 10:19:09 pm »
Have you tried doing what it said
Code: [Select]
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.
WARNING: You are logged into reality as 'root'
logging in as 'insane' is the only safe option.
pcnetspec.co.uk

Offline normanliddle

  • Jr. Member
  • **
  • Posts: 61
  • Karma: 0
  • I've just joined!
    • View Profile
    • Awards
Re: login problem Peppermint 8
« Reply #24 on: May 20, 2018, 11:30:25 am »
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?

Offline normanliddle

  • Jr. Member
  • **
  • Posts: 61
  • Karma: 0
  • I've just joined!
    • View Profile
    • Awards
Re: login problem Peppermint 8
« Reply #25 on: May 22, 2018, 09:37:41 am »
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.

Offline Mark Greaves (PCNetSpec)

  • Administrator
  • Hero Member
  • *****
  • Posts: 17680
  • Karma: 457
  • Gender: Male
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
    • Awards
Re: login problem Peppermint 8
« Reply #26 on: May 25, 2018, 12:54:27 pm »
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:
Code: [Select]
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:
Code: [Select]
sudo passwd <username>
where <username> is your actual username
WARNING: You are logged into reality as 'root'
logging in as 'insane' is the only safe option.
pcnetspec.co.uk

Offline normanliddle

  • Jr. Member
  • **
  • Posts: 61
  • Karma: 0
  • I've just joined!
    • View Profile
    • Awards
Re: login problem Peppermint 8
« Reply #27 on: June 06, 2018, 03:20:03 pm »
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

Offline Mark Greaves (PCNetSpec)

  • Administrator
  • Hero Member
  • *****
  • Posts: 17680
  • Karma: 457
  • Gender: Male
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
    • Awards
Re: login problem Peppermint 8
« Reply #28 on: June 06, 2018, 04:08:25 pm »
Great news Norman :)
WARNING: You are logged into reality as 'root'
logging in as 'insane' is the only safe option.
pcnetspec.co.uk

Offline normanliddle

  • Jr. Member
  • **
  • Posts: 61
  • Karma: 0
  • I've just joined!
    • View Profile
    • Awards
Re: login problem Peppermint 8
« Reply #29 on: June 06, 2018, 05:18:37 pm »
Thanks again Mark, I forget, do you class this query/problem as solved or do I?
Yours, Norman.

 


SimplePortal 2.3.3 © 2008-2010, SimplePortal