plymouth-themes icon indicating copy to clipboard operation
plymouth-themes copied to clipboard

sd-encrypt password prompt not showing up

Open Davincible opened this issue 3 years ago • 10 comments

sd-encrypt password prompt doesn't show up. Have to press escape to get the regualar startup prompt. It does work with plymouth-encrypt.

As it does work with other themes, (tried manjaro), the issue must be in this theme set specifically

Davincible avatar Feb 13 '21 17:02 Davincible

This is not a theme issue. Are you using sd-plymouth?

dustydecapod avatar Aug 15 '21 08:08 dustydecapod

Yup HOOKS=(base systemd autodetect sd-plymouth modconf block keyboard sd-vconsole sd-encrypt lvm2 filesystems fsck)

Davincible avatar Aug 15 '21 16:08 Davincible

@Davincible I have setup mkinitcpio hooks as this:

HOOKS=(base systemd sd-plymouth autodetect modconf block keyboard sd-vconsole sd-encrypt filesystems fsck)

with the default bgrt (spinner derivate) theme. What theme did you use? Does is prompt you for your password when using for example spinner or bgrt.?

EDIT: I think I have to agree on this issue. I've tried using circle-alt, pixels and dna from this repository and none of them prompted me for my password other than in the terminal.

dschemp avatar Dec 15 '21 20:12 dschemp

@dschemp Can't remember which one I used. Using some completely other, basic theme now

Davincible avatar Jan 02 '22 19:01 Davincible

I also confirm this issue, although using GRUB instead of systemd-boot.

Default plymouth themes works as expected, they all ask for the password, but the repository ones just run endlessly while the classic text password prompt is accessible only pressing escape.

Perhaps a script issue? I've tried to find the defaults' source but found nothing.

rickie95 avatar Mar 22 '22 17:03 rickie95

I can confirm that I have exactly the same issues as @rickie95 . Using any of the themes here I was never prompted for the password. I have to press escape and fallback to TTY to enter the password. With the classic BGRT theme it works perfectly.

jocelynthode avatar Mar 23 '22 08:03 jocelynthode

same here, at least with the themes i tried (some from pack 4)

SteveGremory avatar Mar 24 '22 12:03 SteveGremory

I had the same issue on Manjaro with KDE and the colorful_loop theme from pack_1. I am using the plymouth-git package from the AUR.

The problem was, that the initramfs did not include /usr/lib/plymouth/label.so and no font to use.

Fix

Only works for plymouth-git or plymouth from the AUR. Install the optional dependency ttf-dejavu with your preferred package manager, e.g.:

sudo pacman -S ttf-dejavu

Now the label.so lib and the ttf-dejavu font should be added to the initramfs by the plymouth or the sd-plymouth hook.

dejor avatar Jun 19 '22 17:06 dejor

I had the same issue on Manjaro with KDE and the colorful_loop theme from pack_1. I am using the plymouth-git package from the AUR.

The problem was, that the initramfs did not include /usr/lib/plymouth/label.so and no font to use.

Fix

Only works for plymouth-git or plymouth from the AUR. Install the optional dependency ttf-dejavu with your preferred package manager, e.g.:

sudo pacman -S ttf-dejavu

Now the label.so lib and the ttf-dejavu font should be added to the initramfs by the plymouth or the sd-plymouth hook.

Thanks it works for me. Also after installing the ttf-dejavu package you have to rebuild the theme.

plymouth-set-default-theme -R your-theme

sp4rq-dev avatar Jun 19 '22 22:06 sp4rq-dev

I also confirm this fix, works like a charm now. @dejor, would you like to create a PR with a modified README mentioning this dependency?

rickie95 avatar Jun 20 '22 10:06 rickie95