Index | Thread | Search

From:
Landry Breuil <landry@openbsd.org>
Subject:
Re: [new/wip] wayland/regreet, a gtk4 greeter
To:
ports@openbsd.org
Date:
Mon, 10 Nov 2025 19:29:04 +0100

Download raw body.

Thread
Le Mon, Nov 10, 2025 at 01:28:43PM +0100, Landry Breuil a écrit :
> Le Sun, Nov 02, 2025 at 02:50:05PM +0100, Landry Breuil a écrit :
> > hi,
> > 
> > going with greetd, ReGreet is a Gtk+4/Rust frontend (cf
> > https://github.com/rharish101/ReGreet), i haven't actually tested it
> > with greetd (yet) but regreet --demo shows its window. putting the
> > statefile in /var/run/greetd sortof defeats the purpose of the
> > statefile, but that's a quick hack.
> 
> new version of the port, i've disabled the lookup for xsession/*desktop,
> since in my testing it failed to start an x session. So that should
> restrict it to wayland sessions for now, which are wayfire and labwc,
> but one can always type his own command (eg startxfce4 --wayland works
> for me when started from regreet)

new improved version, with:
- setting proper shutdown/reboot commands to avoid doas, works by
  putting _greetd in _shutdown group
- @sample /var/regreet (and use it in the patch) so that the logfile and
  the statefile persist properly across greetd restarts
- pkg/MESSAGE added to mention post-install steps

works fine here, tested with xfce, be it with X11 or wayland sessions.

as gtk4 apps are currently broken on wayland, it needs
https://marc.info/?l=openbsd-tech&m=176201832402858&w=2 if one wants to
runtime-test it.

Landry