[SOLVED] Can not log in anymore - MDM could not write to authorization file.

Questions about other topics - please check if your question fits better in another category before posting here
Forum rules
Before you post please read how to get help
Locked
InChrist
Level 4
Level 4
Posts: 208
Joined: Wed Apr 12, 2017 4:17 pm
Contact:

[SOLVED] Can not log in anymore - MDM could not write to authorization file.

Post by InChrist » Tue Sep 19, 2017 5:00 am

In order to wipe the free space on the hard disk I installed Nautilus and the Nautilus wipe extension. Then I started to wipe the available disk space.

As this tooks a while I worked in the browser. I was not able to save to the disk. “No free disk space” Although there is much disk space left. I guess it was reserved by the wipe program during the process. Also I could not use Nemo during this time or the system monitor ...
I wanted to stop the wiping as it was about half way, by clicking cancel. This did not work out. I tried to close Nautilus and several times the wipe program with the x window button. Then I just made a reboot.

Now I cannot log in anymore. This pops up:

MDM could not write to your authorization file. This could mean that you are out of disk space or that your home directory could not be opened for writing. In any case it is not possible to log in.

Very happy about competent and clear help.
Last edited by InChrist on Sat Sep 23, 2017 7:40 am, edited 1 time in total.
I would be happy to receive competent clear help.
HP-ProBook-470-G3
Kernel: 4.13.0-39-generic x86_64 (64 bit gcc: 5.4.0)
Desktop: Cinnamon 3.6.7 (Gtk 3.18.9-1ubuntu3.3) dm: lightdm
Distro: Linux Mint 18.3 Sylvia
(inxi -Szxx from 180425)

minitux
Level 5
Level 5
Posts: 860
Joined: Tue Sep 12, 2017 10:05 am

Re: Can not log in anymore - MDM could not write to authorization file.

Post by minitux » Tue Sep 19, 2017 5:14 am

try togin in tty (if you can) when you at the login screen
Ctrl+Alt+F1 and try to log with your username and password then try to give the owner of your /home to your user

Code: Select all

sudo chown -R username:username /home/username
and reboot

Code: Select all

sudo reboot
if it does not work, but you can log in tty, you can try creating a new user from tty

InChrist
Level 4
Level 4
Posts: 208
Joined: Wed Apr 12, 2017 4:17 pm
Contact:

Re: Can not log in anymore - MDM could not write to authorization file.

Post by InChrist » Tue Sep 19, 2017 6:02 am

Thank you

What is tty?

What are they commands doing? Well i guess i understand this one.
I would be happy to receive competent clear help.
HP-ProBook-470-G3
Kernel: 4.13.0-39-generic x86_64 (64 bit gcc: 5.4.0)
Desktop: Cinnamon 3.6.7 (Gtk 3.18.9-1ubuntu3.3) dm: lightdm
Distro: Linux Mint 18.3 Sylvia
(inxi -Szxx from 180425)

minitux
Level 5
Level 5
Posts: 860
Joined: Tue Sep 12, 2017 10:05 am

Re: Can not log in anymore - MDM could not write to authorization file.

Post by minitux » Tue Sep 19, 2017 6:14 am

tty is textual login
Ctrl+Alt+F1

you will see the terminal asking you to enter your user name and password, inspecting them and see if the terminal goes to the prompt and enter the command.
At "username" enter the real name that you use to log in to access

User avatar
Pjotr
Level 20
Level 20
Posts: 10976
Joined: Mon Mar 07, 2011 10:18 am
Location: The Netherlands (Holland)
Contact:

Re: Can not log in anymore - MDM could not write to authorization file.

Post by Pjotr » Tue Sep 19, 2017 8:01 am

The problem is probably not related to permissions, but to lack of free space. Because of a "secure delete" application (nautilus-wipe) that has gone crazy. The reboot interruption of the running nautilus-wipe process was in all likelihood the last straw.

From the Grub menu, boot into Recovery mode and try to free up enough space so that you can log in normally again. Then try to locate the debris of nautilus-wipe and, well, wipe it.

Apparently nautilus-wipe is as nasty as BleachBit.... :shock:
I detest such wrecking balls. Their usefulness is doubtful, and their damage capacity is huge. One wonders how stuff like that could ever make its way into the official repo's.
Tip: 10 things to do after installing Linux Mint 19 Tara
Keep your Linux Mint healthy: Avoid these 10 fatal mistakes
Twitter: twitter.com/easylinuxtips
All in all, horse sense simply makes sense.

InChrist
Level 4
Level 4
Posts: 208
Joined: Wed Apr 12, 2017 4:17 pm
Contact:

Re: Can not log in anymore - MDM could not write to authorization file.

Post by InChrist » Tue Sep 19, 2017 9:33 am

Detected Pjotr answer after this:

Ok I did what Minitux suggested. Directly after pressing ctr alt F1 this came: Pics 2, 3, 4
https://klausneu.ocloud.de/index.php/s/t3G5MY12R1dAEs0
Pic 1 is from before when I tried to login as normal.

How to bring it to run again?
Or save the data in home?
Or no way, set up a new LM, yippie 18.2 with a usb-stick?
But as the last backup was some time ago I would be happy to safe the data and as a new system costs me time to adapt it, it would be great to bring everything in perfect order again.

Pjotr, how to start grub? Did you see the pictures I have got? After stifling with the power button af few seconds and boot again some of these pics come again?

Suggestions?
I would be happy to receive competent clear help.
HP-ProBook-470-G3
Kernel: 4.13.0-39-generic x86_64 (64 bit gcc: 5.4.0)
Desktop: Cinnamon 3.6.7 (Gtk 3.18.9-1ubuntu3.3) dm: lightdm
Distro: Linux Mint 18.3 Sylvia
(inxi -Szxx from 180425)

User avatar
Pjotr
Level 20
Level 20
Posts: 10976
Joined: Mon Mar 07, 2011 10:18 am
Location: The Netherlands (Holland)
Contact:

Re: Can not log in anymore - MDM could not write to authorization file.

Post by Pjotr » Tue Sep 19, 2017 2:25 pm

From the looks of it, the problem has become worse. The most practical solution is probably this:

- Boot from the Mint DVD / USB into a live session ("ausprobieren");

- In the live session, mount the hard disk partition containing /home;

- Save all documents and such, that you wish to keep, onto a USB memory stick or onto an external USB hard disk;

- Re-install Linux Mint. And from now on, avoid all wiping/cleaning applications....
Tip: 10 things to do after installing Linux Mint 19 Tara
Keep your Linux Mint healthy: Avoid these 10 fatal mistakes
Twitter: twitter.com/easylinuxtips
All in all, horse sense simply makes sense.

InChrist
Level 4
Level 4
Posts: 208
Joined: Wed Apr 12, 2017 4:17 pm
Contact:

Re: Can not log in anymore - MDM could not write to authorization file.

Post by InChrist » Wed Sep 20, 2017 7:39 am

Hi Pjotr

Thank you. According to your advice:

I was able to start Linux Live, mount the hard drive, see the contents.
When opening a writer-file it is read only. Clicking edit and changing in the text, closing the file, asked if I want to save, yes, the path is shown: media/mint/43lj2jl4l3j2l3j-like-this-more-than-20-characters/home/myuser/documents/, I use another file name, save.
“error saving the document notes” /media/path-like-above/new-file-name.odt does not exist. Why?
When saving the same file name: “... insufficient user rights” Why?
I can save to home/mint/documents.

Plugging in the external disks (ext4) with my backuped files where I wanted to save my files now.
You have no permission to view the contents. Also I can not create a folder ..
Also with USB-sticks (ext4) with my files.
I can read and write to USB-stick (ntfs, fat) with other content than from my hard disk.
Why?

I guess I buy a new external hard disk where I then can copy all files to as my other media right now to not have the capacity to take all of it.
I would be happy to receive competent clear help.
HP-ProBook-470-G3
Kernel: 4.13.0-39-generic x86_64 (64 bit gcc: 5.4.0)
Desktop: Cinnamon 3.6.7 (Gtk 3.18.9-1ubuntu3.3) dm: lightdm
Distro: Linux Mint 18.3 Sylvia
(inxi -Szxx from 180425)

InChrist
Level 4
Level 4
Posts: 208
Joined: Wed Apr 12, 2017 4:17 pm
Contact:

Re: Can not log in anymore - MDM could not write to authorization file.

Post by InChrist » Wed Sep 20, 2017 11:59 am

I found a stick big enough for all data. Ext4. But I had no permissions to view or write. I formatted it on the live system now it is fine.

Copying to it worked in general.
Except: A few folders and files: Error opening file: Permission denied
I can open the same file from an external drive on another linux-computer.

But:
After copying from the hard disk to stick, I tried to see it on another linux computer:
I can only read not write. How to change this?

I guess I need to change rights on the hard disk? How in this case?
I started to read about permissions ... in Linux in the meanwhile but am happy about help to get the files from the harddisk fast to go on working with them.
I would be happy to receive competent clear help.
HP-ProBook-470-G3
Kernel: 4.13.0-39-generic x86_64 (64 bit gcc: 5.4.0)
Desktop: Cinnamon 3.6.7 (Gtk 3.18.9-1ubuntu3.3) dm: lightdm
Distro: Linux Mint 18.3 Sylvia
(inxi -Szxx from 180425)

zaqcroyd
Level 2
Level 2
Posts: 93
Joined: Sun Aug 20, 2017 5:11 pm

Re: Can not log in anymore - MDM could not write to authorization file.

Post by zaqcroyd » Fri Sep 22, 2017 11:39 pm

The files you copied onto the backup USB stick may belong to the wrong user (were you root on the LiveUSB when you made the copy and did you remember to preserve the user/group information and permissions?)

On your other Linux computer, what user were you logged in as when you tried to read the files? If you can become root on the other computer (or have permissions to use sudo in the terminal), you will be able to access everything on the backup USB and can at least verify that you managed to make a copy of everything you care about.

InChrist
Level 4
Level 4
Posts: 208
Joined: Wed Apr 12, 2017 4:17 pm
Contact:

Re: Can not log in anymore - MDM could not write to authorization file.

Post by InChrist » Sat Sep 23, 2017 6:34 am

I do not know exactly but this might be the problem.

I made my permissions problem a special post.
viewtopic.php?f=18&t=254289#p1369227
I would be happy to receive competent clear help.
HP-ProBook-470-G3
Kernel: 4.13.0-39-generic x86_64 (64 bit gcc: 5.4.0)
Desktop: Cinnamon 3.6.7 (Gtk 3.18.9-1ubuntu3.3) dm: lightdm
Distro: Linux Mint 18.3 Sylvia
(inxi -Szxx from 180425)


User avatar
karlchen
Level 19
Level 19
Posts: 9429
Joined: Sat Dec 31, 2011 7:21 am
Location: Germany

Re: [SOLVED] Can not log in anymore - MDM could not write to authorization file.

Post by karlchen » Tue Oct 16, 2018 1:47 pm

<mod> Thanks for the video where the presenter solves the issue. - No idea why he takes 4 min. to do so. But he solves it. </Mod>
Image
Linux Mint 18.1 64-bit Cinnamon Desktop, Total Commander 9.21a 64-bit
Ubuntu 18.04.1 32-bit Mate Desktop, Total Commander 9.21a 32-bit
Windows? - 1 window in every room

Locked

Return to “Other topics”