<SOLVED> Unable to Login / Return to Login Screen

Questions about Grub, UEFI,the liveCD and the installer
Forum rules
Before you post please read how to get help
gregory_opera
Level 1
Level 1
Posts: 26
Joined: Tue Aug 13, 2019 4:56 pm
Contact:

<SOLVED> Unable to Login / Return to Login Screen

Post by gregory_opera » Sun Sep 08, 2019 6:54 am

My computer was running fine, except for the fact that it was whinging about low disk space because I temporarily copied a folder from an external disk to the internal disk (apparently said folder was a little larger than I was expecting - about 1TB!), then rebooted my computer for an unrelated reason...

Now, when I try to login, I briefly see a black screen, and then am returned to the login screen.

Any ideas?
Last edited by gregory_opera on Mon Sep 09, 2019 6:52 am, edited 1 time in total.
--

"All our dreams can come true - if we have the courage to pursue them."

Walt Disney. °o°

User avatar
Sir Charles
Level 7
Level 7
Posts: 1897
Joined: Thu Jan 04, 2018 1:00 pm

Re: Unable to Login / Return to Login Screen

Post by Sir Charles » Sun Sep 08, 2019 3:10 pm

If you have your Linux Mint installation media, boot up your computer from it. Open the file manager and locate your LM partition and do some cleaning.
I suppose that's one of the ironies of life, doing the wrong thing at the right moment -C.C.

gregory_opera
Level 1
Level 1
Posts: 26
Joined: Tue Aug 13, 2019 4:56 pm
Contact:

Re: Unable to Login / Return to Login Screen

Post by gregory_opera » Sun Sep 08, 2019 4:27 pm

Great minds think alike - this is the first thing I tried!

But how do I make my home folder readable / writeable? If I mount my internal disk when using the “live” installation (after entering the encryption password of course), I can “see” my internal disk just fine - but under my “Home” folder, (/home/gregoryopera), I can only see two files (“Access-Your-Private-Data.desktop” and “README.txt”), the former of which I cannot open.

Specifically, when I try the “Access-Your-Private-Data.desktop” link, I am told:
Untrusted application launcher
The application launcher “Access-Your-Private-Data.desktop” has not been marked as trusted (executable). If you do not know the source of the file, launching it may be unsafe.
Launch Anyway | Mark as Trusted | Cancel


Neither option (in the dialog box above) seems to do anything.
--

"All our dreams can come true - if we have the courage to pursue them."

Walt Disney. °o°

User avatar
Spearmint2
Level 16
Level 16
Posts: 6312
Joined: Sat May 04, 2013 1:41 pm
Location: Maryland, USA

Re: Unable to Login / Return to Login Screen

Post by Spearmint2 » Sun Sep 08, 2019 5:24 pm

Oh No! You encrypted your home folder. If Mint still uses ecrypts, you can wade through instructions on how to mount an encrypted partition.

Code: Select all

info ecryptfs
All things go better with Mint. Mint julep, mint jelly, mint gum, candy mints, pillow mints, peppermint, chocolate mints, spearmint,....

gregory_opera
Level 1
Level 1
Posts: 26
Joined: Tue Aug 13, 2019 4:56 pm
Contact:

Re: Unable to Login / Return to Login Screen

Post by gregory_opera » Sun Sep 08, 2019 5:43 pm

I had a look at that and tried a couple of commands... But I’m not too sure what I’m doing and actually ended-up making things “pear-shaped” (I lost access to all the “Home” holders of the “live” install, whilst still being unable to access the encrypted data!)(a reboot of the computer corrected this, as you would expect).

I also forgot to mention that when I try to “launch” this folder (as per the message above), it says:
Sorry, but you cannot execute commands from a remote site.
This is disabled due to security considerations.
--

"All our dreams can come true - if we have the courage to pursue them."

Walt Disney. °o°

User avatar
Spearmint2
Level 16
Level 16
Posts: 6312
Joined: Sat May 04, 2013 1:41 pm
Location: Maryland, USA

Re: Unable to Login / Return to Login Screen

Post by Spearmint2 » Sun Sep 08, 2019 6:00 pm

You may need to send a PM to xenopeek, since few know how to do this.

Also can read this file using a browser. I'll read through also, see if anything wonderful comes up.

file:///usr/share/doc/ecryptfs-utils/ecryptfs-faq.html

UPDATE; Confusing as hell. I sent a PM to xenopeek with link to this thread. If he doesn't know, he will know who can help.
All things go better with Mint. Mint julep, mint jelly, mint gum, candy mints, pillow mints, peppermint, chocolate mints, spearmint,....

gregory_opera
Level 1
Level 1
Posts: 26
Joined: Tue Aug 13, 2019 4:56 pm
Contact:

Re: Unable to Login / Return to Login Screen

Post by gregory_opera » Sun Sep 08, 2019 6:11 pm

Thanks bud.
--

"All our dreams can come true - if we have the courage to pursue them."

Walt Disney. °o°

User avatar
Spearmint2
Level 16
Level 16
Posts: 6312
Joined: Sat May 04, 2013 1:41 pm
Location: Maryland, USA

Re: Unable to Login / Return to Login Screen

Post by Spearmint2 » Sun Sep 08, 2019 6:31 pm

Hopefully you remembered the passphrase, even better if stored a copy of the key. If those aren't available, you may be up creek without paddle.
All things go better with Mint. Mint julep, mint jelly, mint gum, candy mints, pillow mints, peppermint, chocolate mints, spearmint,....

gregory_opera
Level 1
Level 1
Posts: 26
Joined: Tue Aug 13, 2019 4:56 pm
Contact:

Re: Unable to Login / Return to Login Screen

Post by gregory_opera » Sun Sep 08, 2019 8:11 pm

I know the passphrase (i.e. the password I normally use to login)... Just got into the damn thing.

So much hassle over such a trivial issue... lol
--

"All our dreams can come true - if we have the courage to pursue them."

Walt Disney. °o°

User avatar
Spearmint2
Level 16
Level 16
Posts: 6312
Joined: Sat May 04, 2013 1:41 pm
Location: Maryland, USA

Re: Unable to Login / Return to Login Screen

Post by Spearmint2 » Sun Sep 08, 2019 8:18 pm

gregory_opera wrote:
Sun Sep 08, 2019 8:11 pm
I know the passphrase (i.e. the password I normally use to login)... Just got into the damn thing.

So much hassle over such a trivial issue... lol
What worked for you? The section in EXAMPLE of the info ecryptfs?
All things go better with Mint. Mint julep, mint jelly, mint gum, candy mints, pillow mints, peppermint, chocolate mints, spearmint,....

gregory_opera
Level 1
Level 1
Posts: 26
Joined: Tue Aug 13, 2019 4:56 pm
Contact:

Re: Unable to Login / Return to Login Screen

Post by gregory_opera » Sun Sep 08, 2019 8:38 pm

From the example (not my computer!):

Code: Select all

The  following  command  will  layover mount eCryptfs on /secret with a
       passphrase contained in a  file  stored  on  secure  media  mounted  at
       /mnt/usb/.

       mount                  -t                  ecryptfs                  -o
       key=passphrase:passphrase_passwd_file=/mnt/usb/file.txt /secret /secret

       Where file.txt contains the contents "passphrase_passwd=[passphrase]".
I don't really understand what this is telling me to do...
What I do know, is that my internal disk is at: /media/mint/527a9136-7427-4e7f-8c4b-38a57f8c7e8c.

Disks / GNOME DIsks indicates that there are four partitions on this disk (when viewed from within a "live" installation):
  • /dev/sda1 - EFI System (partition type), FAT (32-bit version)(contents), 537MB
  • /dev/sda2 - Linux Filesystem (partition type), EXT4 (version 1.0)(contents)(swapfile?), 768MB
  • /dev/sda3 - Linux Filesystem (partition type), LUKS Encryption (version 1)(contents), 2TB
  • /dev/mapper/luks-a52d90e7-fa6a-4f86-a987-2f18acf5c5de - <no partition type>, LVM2 Physical Volume (LVM2 001)(contents), 2TB
Also, if I manually open the "Access-Your-Private-Data.desktop" file with LibreOffice, it says:

Code: Select all

[Desktop Entry]
_Name=Access Your Private Data
_GenericName=Access Your Private Data
Exec=/usr/bin/ecryptfs-mount-private
Terminal=true
Type=Application
Categories=System;Security;
X-Ubuntu-Gettext-Domain=ecryptfs-utils
Can't remember if I mentioned it above or not, but I know my full-disk encryption password (i.e. that which you enter immediately after turning the computer on), and also my user password (i.e. that which protects one's individual computer account, and the respective - encrypted - Home folder)...
Last edited by gregory_opera on Sun Sep 08, 2019 9:28 pm, edited 1 time in total.
--

"All our dreams can come true - if we have the courage to pursue them."

Walt Disney. °o°

User avatar
Spearmint2
Level 16
Level 16
Posts: 6312
Joined: Sat May 04, 2013 1:41 pm
Location: Maryland, USA

Re: Unable to Login / Return to Login Screen

Post by Spearmint2 » Sun Sep 08, 2019 9:20 pm

OH, thought you had it fixed. Have to wait for xenopeek to complete this. You might be able to open that file in the / partition.

Code: Select all

cat /mnt/usb/file.txt
Also, for LUKS method, try this.

https://askubuntu.com/questions/835525/ ... ypted-file
Last edited by Spearmint2 on Sun Sep 08, 2019 9:26 pm, edited 1 time in total.
All things go better with Mint. Mint julep, mint jelly, mint gum, candy mints, pillow mints, peppermint, chocolate mints, spearmint,....

gregory_opera
Level 1
Level 1
Posts: 26
Joined: Tue Aug 13, 2019 4:56 pm
Contact:

Re: Unable to Login / Return to Login Screen

Post by gregory_opera » Sun Sep 08, 2019 9:26 pm

gregory_opera wrote:
Sun Sep 08, 2019 8:11 pm
I know the passphrase (i.e. the password I normally use to login)... Just got into the damn thing.

So much hassle over such a trivial issue... lol
Oops.

That was supposed to read "Just gotta get into the damn thing."
--

"All our dreams can come true - if we have the courage to pursue them."

Walt Disney. °o°

User avatar
Spearmint2
Level 16
Level 16
Posts: 6312
Joined: Sat May 04, 2013 1:41 pm
Location: Maryland, USA

Re: Unable to Login / Return to Login Screen

Post by Spearmint2 » Sun Sep 08, 2019 9:28 pm

Spearmint2 wrote:
Sun Sep 08, 2019 9:20 pm
OH, thought you had it fixed. Have to wait for xenopeek to complete this. You might be able to open that file in the / partition.

Code: Select all

cat /mnt/usb/file.txt
Also, for LUKS method, try this.

https://askubuntu.com/questions/835525/ ... ypted-file

Code: Select all

info cryptsetup
All things go better with Mint. Mint julep, mint jelly, mint gum, candy mints, pillow mints, peppermint, chocolate mints, spearmint,....

gregory_opera
Level 1
Level 1
Posts: 26
Joined: Tue Aug 13, 2019 4:56 pm
Contact:

Re: Unable to Login / Return to Login Screen

Post by gregory_opera » Sun Sep 08, 2019 9:37 pm

From the Ask Ubuntu / Stack Exchange solution above, using:

Code: Select all

modprobe dm-crypt
Then:

Code: Select all

cryptsetup open --type luks /path/to/dump desired-name
Output:

Code: Select all

mint@mint:~$ cryptsetup open --type luks /media/mint/527a9136-7427-4e7f-8c4b-38a57f8c7e8c/home/gregoryopera encrypted stuff
Device /media/mint/527a9136-7427-4e7f-8c4b-38a57f8c7e8c/home/gregoryopera doesn't exist or access denied.
--

"All our dreams can come true - if we have the courage to pursue them."

Walt Disney. °o°

User avatar
Spearmint2
Level 16
Level 16
Posts: 6312
Joined: Sat May 04, 2013 1:41 pm
Location: Maryland, USA

Re: Unable to Login / Return to Login Screen

Post by Spearmint2 » Sun Sep 08, 2019 9:39 pm

try this;

Code: Select all

cryptsetup luksOpen /dev/sda3 luksDataPart
may need to add sudo at front of above if root access is needed.

Maybe you will get an option then to enter the password and phrase. If so, the next commands are;

Code: Select all

mkdir /sensitive_data
mount /dev/mapper/luksDataPart /sensitive_data
All things go better with Mint. Mint julep, mint jelly, mint gum, candy mints, pillow mints, peppermint, chocolate mints, spearmint,....

gregory_opera
Level 1
Level 1
Posts: 26
Joined: Tue Aug 13, 2019 4:56 pm
Contact:

Re: Unable to Login / Return to Login Screen

Post by gregory_opera » Sun Sep 08, 2019 11:35 pm

Output (using my correct login password):

Code: Select all

mint@mint:~$ sudo cryptsetup luksOpen /dev/sda3 luksDataPart
Enter passphrase for /dev/sda3: 
No key available with this passphrase.
I'm starting to think it might be easier deleting the large folder outright (thereby freeing-up approximately 1TB of storage space)... It'd be an awful shame if I was not able to save this to removable storage first, but not the end of the world.

I can login via Terminal (Ctrl + Alt + F3 on the login screen), I just wouldn't know what the respective Terminal commands are (I know what the large folder is called, and I am pretty sure I remember where I placed it)...
Last edited by gregory_opera on Sun Sep 08, 2019 11:46 pm, edited 1 time in total.
--

"All our dreams can come true - if we have the courage to pursue them."

Walt Disney. °o°

User avatar
Spearmint2
Level 16
Level 16
Posts: 6312
Joined: Sat May 04, 2013 1:41 pm
Location: Maryland, USA

Re: Unable to Login / Return to Login Screen

Post by Spearmint2 » Sun Sep 08, 2019 11:46 pm

Code: Select all

No key available with this passphrase.
That's not good. I think this will fail. Did you make a copy of the key?
All things go better with Mint. Mint julep, mint jelly, mint gum, candy mints, pillow mints, peppermint, chocolate mints, spearmint,....

gregory_opera
Level 1
Level 1
Posts: 26
Joined: Tue Aug 13, 2019 4:56 pm
Contact:

Re: Unable to Login / Return to Login Screen

Post by gregory_opera » Sun Sep 08, 2019 11:51 pm

I don't think so... It's a pretty fresh install, so I was still getting everything setup.

What process would I use if I was to try deleting this large folder, after logging-in via Terminal (as mentioned above)?

I know what the folder was called, and I'm pretty sure I remember where this particular folder was placed (under /Home or /Home/Downloads if I remember correctly)... Surely, if I delete this 1TB-ish folder, if should fix my issue?

I'm gonna be upset - but this particular data is probably the least-valuable data I have...
--

"All our dreams can come true - if we have the courage to pursue them."

Walt Disney. °o°

User avatar
Spearmint2
Level 16
Level 16
Posts: 6312
Joined: Sat May 04, 2013 1:41 pm
Location: Maryland, USA

Re: Unable to Login / Return to Login Screen

Post by Spearmint2 » Mon Sep 09, 2019 12:11 am

wherever you set it to be, otherwise in /home/youruser/downloads
You could use the LIVE DVD or USB and if the entire partition isn't encrypted, but files are encrypted in home, you could use the file manager to run a search on all files with private in their name.

I'm off to bed now, midnight here.
All things go better with Mint. Mint julep, mint jelly, mint gum, candy mints, pillow mints, peppermint, chocolate mints, spearmint,....

Post Reply

Return to “Installation & Boot”