For a week or two now I’ve been getting Configuration file "/home/$ME/.config/sddm-greeterrc" not writable. when booting. Clicking OK lets it continue as normal where I can then select my session and log in, etc, but it’s annoying nonetheless.
I’ve something similar happen before. Back then it was var/lib/sddm/.config/sddm-greeterrc that wasn’t writable as root had taken ownership of /var/lib/sddm and its contents if I remember correctly. In this case /var/lib/sddm and its contents are all owned by sddm and I have verified that /var/lib/sddm/.config/sddm-greeterrc does exist and is writable.
I find it strange that it’s looking for a file that I thought lived elsewhere, but I’ve tried creating sddm-greeterrc in .config anyway; changing its owner to sddm and ensuring it has read and write permissions. The issue remains.
Does anyone know what might have caused this?
Many thanks.
Package sddm does not have any files under the /var tree.
Looks like sddm does special operations into /var/lib/sddm. The package itself contains nothing for the /var tree.
Here sddm works without issues. So there probably is something different on your system. Can you share the journal about a failed sddm in boot? If you can use TTY right after the failure, the command would be
After logging in use a terminal command
Edit: I didn’t have wgetpaste-eos installed but running sudo journalctl -b -0 | eos-sendlog -v still just gives
==> https://0x0.st: failed
warning: sending data to https://0x0.st failed with code 3.
==> wgetpaste: failed
warning: sending data to wgetpaste failed with code 1.
==> http://ix.io: OK
I have an rpi4 also running EOS with Plasma (it doesn’t have the problem) and interestingly, I cannot even cd into /var/lib/sddm/.config/ without being su on that. I’m not sure if that’s normal or not.
Either way, sddm-greeterrc doens’t exist on that device.
I can’t find any reference to that file - no man pages, no config settings, nothing - except for errors reports exactly like yours. And this is going back 5+ years.
I just tried deleting it and nothing changed.
I’ve seen similar errors across many forums while researching this but they all seem to have the file in /var/lib/sddm/.config.
It’s especially strange that mine is looking for it in the home directory’s .config instead for some reason.
My random guess is that it’s some sort of flag file for something, but I don’t know why it would be in /var/lib/.config, much less the home directory.
/var/lib/sddm actually makes the most sense: it’s the home directory of the sddm user. I still don’t understand why there’s no docs on this file, or how/why it’s even created.
This looks like a bug, maybe at sddm-greeter. Unless you modified ítsia behavior.
Sddm behaves like a normal user, but íts should be able to write in íts own home, but not in real user’s.
I would suggest checking and posting upstream (sddm).
Solved it.
I had XDG_CONFIG_HOME defined in /etc/environment, which had been fine for ages so I’m still not sure what changed, but defining it in a file in ~/.config/environment.d/ instead solves the problem.