https://blue-build.org/ logo
Plasma Login Manager Locale Error
# questions
c
Fedora Kinoite 44 & 45 fails to boot into the Plasma Login Manager. Accessing the tty to get the journal logs is show in the attached image. I tried to set the locale back to
en_GB.utf-8
and then reboot but no change https://cdn.discordapp.com/attachments/1570787060321886239/1570787060812615872/702993335-edcf089d-0dfa-4285-bc03-f83003565134.jpg?ex=6af85cf3&is=6af70b73&hm=4a403a13d2fcdfbd495fa7557062e93d84ae63aacd08f1675d0294f4a92a8b3a&
@gmpinder just following up from the closed GitHub thread
Is there a script snippet I need to run during the build to ensure the locale is set correctly or is the locale only for running systems and not anything to do with build-time
Building the image works fine
And installing newer image versions also results in the same error, yet my pinned older image version works fine
g
I'm not very versed in how locale works, however your best bet would be to try removing packages until it works. You could do a binary search pattern where you comment out half of your modules, build, boot, and test. Still fails, uncomment that half and comment out the other half and repeat the test loop. Then keep halving that until you find the module that's screwing it up
That's basically what I had to do to find that r2modman was breaking my build
Granted the build failing at chunkah meant the test loop was faster
c
That's a good shout, I'll try that. I also remove some of the packages that come by default with the base kionite image so I'll try adding them back too
Looks like this issue also appeared on bazzite? https://github.com/ublue-os/bazzite-dx/issues/203
[This post](https://discuss.kde.org/t/qt-spams-logs-about-c-locale-being-ansi-x3-4-1968/37761/6) suggests grepping my configs for
ANSI_X3.4-1968
g
Yeah seems like a good avenue
b
@CarrotManMatt found this from a while back. https://bugzilla.redhat.com/show_bug.cgi?id=2440208
Oh yeah, that one from Bazzite is pretty old too.
c
b
Did you just rebase to 44/45 from 43?
c
Nope, I've been on F44 working perfectly fine for a while
The running image that I am currently booted on (and messaging you on is 44.20261024.0 (2026-10-25T11:02:54Z)
b
That's weird. Everyone here says that this happened after rebasing, but that means it's probably not the exact same issue, maybe just a similar one.
Copy code
sudo grep plasma /etc/shadow /etc/gshadow
journalctl -b | grep unix_chkpwd
Does that give you any output?
c
Running from my working October booted image:
Copy code
/etc/shadow:plasmalogin:!*:::::::
/etc/gshadow:plasmalogin:!*::
Copy code
Nov 12 23:06:12 matt-desktop unix_chkpwd[1736]: could not obtain user info (plasma-setup)
Nov 13 13:31:41 matt-desktop audit[52421]: AUDIT1100 pid=52421 uid=1000 auid=1000 ses=3 subj=unconfined_u:unconfined_r:chkpwd_t:s0-s0:c0.c1023 msg='op=PAM:unix_chkpwd acct="matt" exe="/usr/bin/unix_chkpwd" hostname=? addr=? terminal=? res=success'
Do I need to run these from the tty of the non-working image too? (Many many thanks for trying to help me troubleshoot in real time)
b
Yeah, but I might have found the problem, so do it again on the broken image, but you don't have a plasma-setup file, so maybe it's trying to do the plasma setup session?
Actually saying that out loud sounds really stupid though, that shouldn't cause a utf problem.
c
Just rebooting now, moved chatting to mobile
I admit I'm lost as to what a "plasma-setup file or "the plasma setup session" is
I'm grateful you know what's going on though!
b
GNOME has had one for a while, but plasma started doing it on Fedora starting in 44, I think it's one of the reasons they wanted the plasmalogin manager to exist at all so it can integrate with systemd better. It's the thing that comes up when you boot into a new system (with no existing user account) so you can set up your new user.
c
I think I understand. I installed from my ISO ages ago with the fedora installer that let me create a user account before first boot
b
After consulting the Claude, it thinks I'm on the right track and the utf errors are not what's causing the failure, it's probably plasma-setup.
c
From my non-working image
Copy code
/etc/shadow:plasmalogin:!*:::::::
/etc/gshadow:plasmalogin:!*::
Copy code
Nov 13 13:57:31 matt-desktop unix_chkpwd[1783]: could not obtain user info (plasma-setup)
So that 2nd command is definitely different output from running in my working image, not sure whether that's good or bad though
b
Aight, I've never done this before, but according to Claude this should fix it:
Copy code
for u in plasmalogin plasma-setup; do
  sudo grep -q "^$u:" /etc/shadow || printf '%s:!*:::::::\n' "$u" | sudo tee -a /etc/shadow
  getent group "$u" >/dev/null && { sudo grep -q "^$u:" /etc/gshadow || printf '%s:!::\n' "$u" | sudo tee -a /etc/gshadow; }
done
I've never had a plasma-setup file missing before, so I wasn't 100% sure what to do. I'm confident this is at least not destructive, it's just writing into some files that currently don't exist anyway.
c
Ah shit I gotta go to an appointment. Why nowwwww
I'll have to pop that command in once I'm back
Thank you so so much again for getting me somewhere a bit closer maybe
b
If it don't work then I'm just as lost as you again. Hope it does though.
@CarrotManMatt it brokey?
c
I'm so sorry, I appreciate ur interest and assistance so much, but imma be away from PC until Monday afternoon now🫣
@Birdie I ran the command you/claude suggested and got back the following:
Copy code
plasma-setup:!*:::::::
plasma-setup:!::
gonna reboot now and see whether I get success🤞🏻
Sighhhh. still no luck
ughhhhh
I noticed that it was missing an asterisk in the
/etc/gshadow
for
plasma-setup
so tried adding that and rebooted and stilllll no luck
I just wanna update my PC so bad
b
Okay, so reading about this more, plasma setup creates an empty file after the account creation under
/etc/plasma-setup-done
I'm not at my PC to try this, but it looks like it's just an empty file, so try
Copy code
sudo touch /etc/plasma-setup-done
Then reboot.
If all else fails, install sddm, enable it and see if that works. At least we'll know this is for sure plasmalogin and not some other issue then.
c
Ohhhh ok, well from the booted previous working image it looks like that file doesnt exist. So I'll create it and let u know
Hmm peculiar that booting to the new image wiped the created file🤔🤔
Gonna remake it from the tty, then reboot without changing image
Now even with the file staying after reboot, no such luck
Will reinstall sddm into my image then boot to that and see if it works
b
That's weird behavior in general actually. I'm pretty sure /etc is supposed to be mutable between image upgrades.
c
Booting back into the old working image did retain the file as expected though
I have installed
sddm
,
sddm-kcm
&
sddm-wayland-plasma
using the dnf module in my recipe, along with enabling
sddm.service
and disabling
plasmalogin.service
&
plasma-setup.service
using the systemd bluebuild module. I'll reboot and see what happens
b
I feel like I'm gonna be mad either way now. This is both a "Why is this working" and "Why is this not working" moment for me no matter what.
At least if it's plasma login that is in fact the problem, my excuse is, it's new, so idk how tf it's supposed to work.
c
So I installed sddm and switched to that image but then it still didn't boot!?!?
I ran
sudo systemctl disable plasmalogin.service
which was fine
But then when I ran
sudo systemctl enable --now sddm.service
it said the unit did not exist and running
which sddm
also gave
no sddm
So I went to check that I had deffo booted into the new image with it installed by running
rpm-ostree status
I swear I've had this issue before
b
It's that bs all over again.
c
So maybe plasma-login-manager ain't the issue? Or is this another problem compounding on top?
I'm worried about unpinning my only working image that might get lost
Although I suppose I can still access the tty so should be fine
b
I can understand that, but yeah, the problem now is that you didn't upgrade because it didn't have enough room. So who knows if sddm worked.
c
Ok I've unpinned and run the ostree cleanup, will try to boot into the plasma-login-manager version first, if that fails still then will try to boot into sddm
OMG we're working and on F45 finally!!!!!
Ran through the plasma-login-manager setup wizard and about to see if I can login
Have got to the desktop but it looks like kwin crashed?
Gonna revert my image build to not install SDDM then try to reboot and see what that fixes
b
Well, this is progress now, at least.
g
Probably a good idea to do a prune of `podman`/`buildah` if you've been building locally at all
c
Nope, just been installing from CI
Although I am still having weirdness with my nvidia drivers. not sure why netflix in browser is just displaying black screen
g
Could be an HDCP issue. I used to run into that when I worked in IT
c
And I'll need to remember in future each time that weird symptoms will show up (first locale errors, then plasma login manager not existing) all cos of having other images pinned taking up too much space somewhere...
g
Basically your card doesn't "trust" the display so it won't show protected content
c
"HDCP"... Cheers I'll do some research into that
But yh, I think i'll likely encounter this again if I ever pin an image and just need to remember that unpinning and rebooting should fix
ughhhh so sorry for wasting so much of both of ur time and thank u infinitely for sticking by and helping out @User
g
@Birdie seemed to help the most here
c
💚💚💚💚💚💚
b
It's all good dude. I'll never figure out how to fix these issues either if I never see what works.
a
message has been deleted