[SOLVED] Sudden Login Loop on LM18.3

All Gurus once were Newbies
Forum rules
There are no such things as "stupid" questions. However if you think your question is a bit stupid, then this is the right place for you to post it. Please stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions prefer the other forums within the support section.
Before you post please read how to get help
Post Reply
tei
Level 1
Level 1
Posts: 2
Joined: Sat Sep 15, 2018 3:22 pm

[SOLVED] Sudden Login Loop on LM18.3

Post by tei »

Hello, today I've encountered sudden login problem - a login loop. After typing in the password it just comes back to the login screen. I didn't mess with the system, also didn't do anything out of the ordinary. I'm using Linux Mint 18.3 Cinnamon 64 bit., I've run startx and this is what I got:

[ 36.539386] encryptfs_write_metadata_to_contents: Error attempting to write header information to lower file; rc = [-28]
[ 36.539420] encryptfs_write_metadata: Error writing metadata out to lower file; rc = [-28]
[ 36.539440] Error writing headers; rc = [-28]
[ 36.540301] encryptfs_write_metadata_to_contents: Error attempting to write header information to lower file; rc = [-28]
[ 36.540331] encryptfs_write_metadata: Error writing metadata out to lower file; rc = [-28]
[ 36.540353] Error writing headers; rc = [-28]
xauth: error in locking authority file /home/username/.Xauthority
[ 36.541209] encryptfs_write_metadata_to_contents: Error attempting to write header information to lower file; rc = [-28]
[ 36.541242] encryptfs_write_metadata: Error writing metadata out to lower file; rc = [-28]
[ 36.541263] Error writing headers; rc = [-28]
[ 36.542095] encryptfs_write_metadata_to_contents: Error attempting to write header information to lower file; rc = [-28]
[ 36.542126] encryptfs_write_metadata: Error writing metadata out to lower file; rc = [-28]
[ 36.542146] Error writing headers; rc = [-28]
xauth: error in locking authority file /home/username/.Xauthority

(EE)
Fatal server error:
(EE) Could not write pid to lock file in /tmp/.tX1-lock
(EE)
(EE)
(EE)
xinit: giving up
xinit: unable to connect to X server: Connection refused
xinit: server error
[ 51.545105] encryptfs_write_metadata_to_contents: Error attempting to write header information to lower file; rc = [-28]
[ 51.545139] encryptfs_write_metadata: Error writing metadata out to lower file; rc = [-28]
[ 51.545159] Error writing headers; rc = [-28]
xauth: error in locking authority file /home/username/.Xauthority

Could someone help me, please? I never had any issues with my LM, only minor things which I could figure out myself.
Last edited by tei on Sun Sep 16, 2018 3:16 pm, edited 1 time in total.
AscLinux
Level 4
Level 4
Posts: 342
Joined: Sat Oct 29, 2016 3:32 pm

Re: Sudden Login Loop on LM18.3

Post by AscLinux »

Error -28 is "no space left on device". You may want to switch to the console and clean up a little. (OTOH, there is a chance this error may be bogus, something went wrong with decryption.)
tei
Level 1
Level 1
Posts: 2
Joined: Sat Sep 15, 2018 3:22 pm

Re: Sudden Login Loop on LM18.3

Post by tei »

Thank you so much, all fixed.
derjens
Level 1
Level 1
Posts: 3
Joined: Sat Jun 27, 2020 5:44 pm

Re: [SOLVED] Sudden Login Loop on LM18.3

Post by derjens »

Dear gurus,

today I ran into the exact same problem. Sequence of events:

- Firefox crashed and rendered the system unresponsive, I had to use the reset button :shock:
- System started normally, I logged on, but there seemed to by 0 bytes free memory on my harddisk
- I restarted the system to try and get rid of the obvious error
- Since then, I cannot log on, startx gives me the exact same results as given here

I read AscLinux's answer and tried to free some memory by deleting files from console, but df -h still gives me:
/dev/sda1 79G 75G 0 100% /

I don't understand, why 0 GB are available while only 75G of 79G are in use.

@AscLinux: What exactly could be wrong with encryption here and what can I do to solve the problem?

Cheers
derjens
Post Reply

Return to “Newbie Questions”