Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No Systemd password hints are shown. #43

Open
IPlayZed opened this issue Nov 28, 2023 · 8 comments
Open

No Systemd password hints are shown. #43

IPlayZed opened this issue Nov 28, 2023 · 8 comments

Comments

@IPlayZed
Copy link

When using BGRT (the default Plymouth theme) the correct password prompts are shown.
For instance, it shows the message from Systemd specifying if I can use a LUKS2 password/passsphrase/TPM2 PIN/etc. It also shows the device it asks it for.

Most themes I have tested in the repo, there was only an "Enter password" prompt, so I do not know which method I should use and for which design.

Also, there is no keyboard layout and Caps Lock indicator shown.

It would be cool if these hints were carried over from Systemd, just like BGRT does for a better UX.

@manueldeljesus
Copy link

I came to ask more or less the same thing. Which one theme did ask for the password? None of the ones I tried did.

@IPlayZed
Copy link
Author

IPlayZed commented Dec 1, 2023

I came to ask more or less the same thing. Which one theme did ask for the password? None of the ones I tried did.

Ok, so I am not sure if you understood the issue properly. My problem is not that if it asks for it, but the way it does.

One instance would be the owl theme.

@manueldeljesus
Copy link

Hmmmm, ok. In my case the problem is that I see the animation going on but the system is asking for the LUKS password in the background, that is, I need to press ESC to see the message where the password is being required. My default theme shows a proper prompt and then changes back to the animation, so I wanted to get something similar with one of the themes on this repo.

I will try the owl theme and have a look to see if it works for me and how to adapt the themes I like to get that behavior, again, if it is the one I am looking for.

@IPlayZed
Copy link
Author

IPlayZed commented Dec 2, 2023

My guess is that it seems like themes handle user input and forwarding the init system's messages in a proper format. If that is the case, this is really annoying because most theme creators are not aware or do not care about more complex setups probably other than a basic LUKS passphrase input...

Of course that is their choice, but it compromises the user experience bc of customization :/

@manueldeljesus
Copy link

I have been revising the BRGT's files and I do not understand how it makes the password prompt appear. I have tried to modify the themes in this repo to look the same, that is removing the functions on the script file -since BRGT's does not seen to have it- but to no avail.

Even more, rereading your message, I have seen that you get a password prompt. I do not get to that point, I only get the animation but no password prompt unless I press ESC. Did you do something to get the password prompt to show on screen?

@IPlayZed
Copy link
Author

IPlayZed commented Dec 4, 2023

Not at all. Standard Plymouth binary from Pacman + mkinitcpio hook.

@manueldeljesus
Copy link

I have continued to investigate this issue and I have discovered that the theme that I am using abstract_ring seems to work properly when testing it with plymouth --show-splash and plymouth --ask-for-password. However, during the boot sequence, for some reason, the ask-for-password functionality is never activated.

@adi1090x Any idea of where to look for finding the reason for this behavior?

@IPlayZed
Copy link
Author

However, during the boot sequence, for some reason, the ask-for-password functionality is never activated.

Isn't this determined by how the initramfs is generated? Probably plymouth is called without those launch options.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants