Stock installation via latest Kicksecure 18 ISO onto laptop hardware.
Randomly after selecting one of the Kicksecure boot options I end up on this login screen:
(Unable to embed image or pastebin apparently)
You will have to take my word that it is a graphical login screen, black with a white login box and text in the centre of the screen (not terminal) asking for username.
Only a reboot and reattempt of the same boot procedure results in the expected outcome (booting and logging into Kicksecure as per usually.
The issue occurs unpredictably every now and again - usually after I have forgotten about it it will crop up again.
Though likely unrelated to the cause, the issue occurs on different hardware such as X230, T440p, T430.
Fresh installations of re-downloaded ISO has not mitigated it.
The same debugging steps would apply. Copying-and-pasting here for convenience:
Can you boot into sysmaint mode, and run sudo journalctl -u greetd.service? If there isn’t any personal information in the logs (there very likely is not), it would be best to share them in their entirety.
Many of the messages there that look like errors probably aren’t or aren’t important, such as:
requirements "uid eq 0" not met by user "sysmaint"
Greeter daemon was skipped because of an unmet condition check (ConditionPathExists=!/run/rads/rads-block-display-manager-startup.status)
XDG_RUNTIME_DIR is unset
Other messages would be worthwhile to look for. (Failed to create session: Resource deadlock avoided and error: check_children: greeter exited without creating a session may also be normal, but I’m not 100% sure.)
Edit: Also, what virtualizer are you using? I haven’t seen this bug before in VirtualBox or KVM, I’m currently trying to reproduce it in VirtualBox but without success.
I can’t recall - I’ll test it out when I get back to a computer. One of my installs is itself a full USB install but I have come across the issue on the regular install to internal drive as well.
Do you mean for me to see if I am tripping the untrusted usb security feature?
I have gone through all of the different boot modes whilst plugging in an assortment of usb devices (flash drives, keyboards, mice etc) as well as plugging in some more after login.
It hasn’t triggered the issue (just the expected usbGuard security pop-ups).
Nope, no external keyboard. Just a USB hard drive plugged.
I have noticed that if there’s no USB hard drive plugged even after few hours of screen lockedi, it can be unlocked normally.
So, it seems that the USB hard drive going idle is the cause of the problem. If I am not mistaken in the latest released version of kicksecure 18 yesterday, now extrenal hard drives auto unmount is disabled, maybe this will have a beneficial effect here. To be rested…
Very weird. I have an external hard drive that I can probably use to test on my end. USBGuard shouldn’t be interfering if the keyboard is just a laptop built-in one (even if it uses USB internally, USBGuard should accept it because it was present at bootup). I can’t imagine why swaylock (the screenlocker we use) would care about an external USB drive being attached though.