Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 17 Dec 2020 00:30:08 +0100
From:      Jan Beich <jbeich@FreeBSD.org>
To:        Tomasz CEDRO <tomek@cedro.info>
Cc:        freebsd-x11@freebsd.org, FreeBSD Questions Mailing List <freebsd-questions@freebsd.org>, freebsd-enlightenment@freebsd.org
Subject:   Re: E on FreeBSD: FreeBSD E Wayland LoginD
Message-ID:  <im91-72in-wny@FreeBSD.org>
In-Reply-To: <CAM8r67Dwj7r9D466JDG79mgn_ZPGJU_kWpsyG0HM7G1nOBSvPw@mail.gmail.com> (Tomasz CEDRO's message of "Wed, 16 Dec 2020 23:31:14 %2B0100")
References:  <CAM8r67Dwj7r9D466JDG79mgn_ZPGJU_kWpsyG0HM7G1nOBSvPw@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Tomasz CEDRO <tomek@cedro.info> writes:

> Hello world :-)
>
> I have managed to finally build the EFL and E with Wayland + DRM
> support [1]. However it has problem to start as it turns out Wayland
> implementation of all compositors is probably based on (ekhm) SystemD
> and at least needs LoginD as most of the Compositors do.
>
> Is there any chance that LoginD could run on FreeBSD? Do we have
> anything better instead?

Something better, see https://git.sr.ht/~kennylevinsen/seatd
It's already in ports/, supported by all wlroots compositors.

  # sway package uses setuid by default due to POLA and simplicity but
  # if seatd is running only 1 non-root process is spawned

  $ pkg install sway
  $ service seatd onestart
  $ chmod u-s $(which sway)
  $ sway

If you really need dbus-like API, see https://github.com/emersion/basu/pull/15
It's used by sway-tray, mako and in future *maybe* xdg-desktop-portal-wlr.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?im91-72in-wny>