BSD Ports

sysutils/seatd 0.9.3_1 FreeBSD

Minimal seat management daemon and universal library

System
FreeBSD
Repository
FreeBSD ports
Maintainer
[email protected]
Last update
Commit
fbf6427b03
License
MIT
Categories
sysutils
Package size
37.2 KiB, 96.7 KiB installed

Description

seatd is a seat management daemon, that does everything it needs to do. Nothing more, nothing less. Depends only on libc.

libseat is a seat management library allowing applications to use whatever seat management is available.

Supports:

  • seatd
  • (e)logind
  • embedded seatd for standalone operation

Each backend can be compile-time included and is runtime auto-detected or manually selected with the `LIBSEAT_BACKEND` environment variable.

Which backend is in use is transparent to the application, providing a simple common interface.

In the other systems

SystemPortVersion
FreeBSDsysutils/seatd0.9.3_1
OpenBSDsysutils/seatd0.9.3p0
NetBSDsysutils/seatd0.9.3
DragonFlysysutils/seatd0.9.1
MidnightBSDsysutils/seatd0.9.1

Install

Binary package:

pkg install seatd

From the ports tree:

cd /usr/ports/sysutils/seatd/ && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	seatd>0:sysutils/seatd

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest0.9.3_10.9.3_10.7.00.9.10.9.3_1
FreeBSD:14:quarterly0.9.3_10.9.3_1n/a0.9.10.9.3_1
FreeBSD:15:latest0.9.3_10.9.3_1n/a0.9.10.9.1
FreeBSD:15:quarterly0.9.3_10.9.3_1n/an/an/a
FreeBSD:16:latest0.9.3_10.9.3_1n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

The Makefile names none itself; they come from USES and USE_*.

The full lists below include those, and their dependencies in turn.

Build dependencies 12
Run dependencies 1
Required by 75

Configuration

Options name: sysutils_seatd

OptionDefaultDescription
BASUonConsoleKit2 support via basu (experimental)
MANPAGESonBuild and/or install manual pages
USES
compiler:c11 cpe meson pkgconfig
Service scripts
seatd

Message after installing

libseat is used to get DRM master and input devices for non-root users.
On Wayland this is only necessary when starting a compositor under KMS
console (e.g., /dev/ttyv0 backed by /dev/dri/card0). Nested sessions like
"Wayland on X11" or "Wayland on Wayland" don't need extra configuration.

By default libseat tries to find the first working backend. To override
set LIBSEAT_BACKEND via environ(7). Available backends and try order:

* "seatd" - seatd-launch(1) or seatd rc.d(8) service
* "consolekit2" - ck-launch-session(1) or pam_ck_connector(8)

"seatd" backend requires membership in "video" group to be allowed to
use setuid bit in seatd-launch(1) or connect to seatd(1) socket.

  # pw groupmod video -m <user>
  $ exit # log out to refresh group permissions

For example, to start a wlroots-based compositor replace "sway" with
your compositor (e.g., "hikari", "wayfire", "labwc", "river") then run

  $ seatd-launch sway

Alternatively, configure and run seatd(1) as system service

  # sysrc seatd_enable=YES
  # service seatd start
  $ sway

To use ConsoleKit2 run

  # pkg install consolekit2 basu
  # sysrc -x seatd_enable
  # service seatd stop
  # sysrc dbus_enable=YES
  # service dbus start
  $ ck-launch-session sway

where "ck-launch-session" can be dropped after

  # echo "session optional pam_ck_connector.so" >>/etc/pam.d/system
  $ exit # log out to re-trigger PAM

Known issues:
- Garbage on console due to missing K_OFF, see
  https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=272095

Files

distinfo 4
FileSizeSHA256
seatd-0.9.3.tar.gz42086302564d54d8e28191fadfd734f2675ecb0c9e0615a58011b89ef15dfa4dbaa96
9d1f83e28254.patch1688f4816374f9074c1cbb416f89096ed473f0866b76cfb05496d5ca617ced20478e
4bcdc8197215.patch1371bb7a21112a428b76e6f0cf3b42ee417d48b0689f6104e503e540c7a33f4bb9be
5f31d8eebea1.patch23322aa2fe83d42688540c270201272ed92f1ca7d7664cf62184c7a8bd0bf10b58f7b
Master sites 1
  • https://git.sr.ht/~kennylevinsen/seatd/archive/${DISTVERSIONFULL}${EXTRACT_SUFX}?dummy=/

Commit history 1

DateCommitCreditsLog message
fbf6427b03 Jesper Schmitz Mouridsen sysutils/seatd: backport FreeBSD fixes
Improves stability and unbreaks SDDM support. PR: 296360