community/greetd-agreety: conflicts with built-in login by default
There is not a lot of information in Alpine wiki about greetd, but it seems to be the recommended way of using the system with elogind / desktop environments, and agreety
is the only greeter mentioned in the wiki.
Installing greetd
, greetd-agreety
and enabling greetd
service (with doas rc-update add greetd
) on a clean Alpine system (plus elogind
plus polkit
) results in tty1
being used both by the default login prompt and agreety
. Meaning that user gets two overlapping login prompts, and every keypress seems to only be sent to one or another, in seemingly random order, making it impossible to log in on tty1
where agreety
is running (logging in on other TTYs with the default login prompt, bypassing greetd and elogind, works).
One workaround that allows user to use agreety
after all is to manually edit /etc/inittab
and comment out line enabling getty on tty1.
I'm not sure if that's the right workaround though.
I think it would be nice if wiki would mention how to use agreety
, or, even better, if installing greetd
, greetd-agreety
and enabling greetd
service would somehow sort this out without any additional interventions.