hi,

so on the way to a fullblown 'wayland desktop', one of the missing bits
is a graphical login manager. so here's two (completely untested for
now) ports for https://git.sr.ht/~kennylevinsen/greetd and
https://git.sr.ht/~kennylevinsen/gtkgreet.

from my understanding of the upstream docs, greetd is the daemon doing
the auth (via security/openpam.. via pam-sys rust crate. yeah. no i wont
write a rust crate to wrap bsdauth via libffi), and gtkgreet is launched
by a wayland compositor to display the login window.

gtkgreet talks to greetd over IPC, and upon successful authentication
launches the selected wayland session. currently in the portstree there
are desktop files available for gnome, gnome-classic, plasma, wayfire
and sway in /usr/local/share/wayland-sessions/, soon xfce. There could
be one for labwc.

that's still wip since i havent actually tested it nor looked at writing
rc scripts/patching the default configs, but someone interested at
wayland desktops on OpenBSD can poke at it.

Landry

Attachment: greet.tgz
Description: application/tar-gz

Reply via email to