
Configurable socket paths exist mainly to facilitate multiple parallel seatd instances. However, the only valid use-case for running multiple instances of seatd is testing during development, which can just as well be done by changing SEATD_DEFAULTPATH at compile-time for test builds. Remove the command-line argument in seatd for runtime configuration of socket path, hardcode the socket path in seatd-launch, and change seatd unlink/chmod/chown code to not run when started by seatd-launch. This means that seatd-launch will now fail to start seatd if another seatd instance is already running. The unlink code still runs when seatd is started normally to assist in system crash recovery, but this may be removed later if we deem it unnecessary.
52 lines
1.1 KiB
Markdown
52 lines
1.1 KiB
Markdown
seatd(1)
|
|
|
|
# NAME
|
|
|
|
seatd - A seat management daemon
|
|
|
|
# SYNOPSIS
|
|
|
|
*seatd* [options]
|
|
|
|
# OPTIONS
|
|
|
|
*-h*
|
|
Show help message and quit.
|
|
|
|
*-n*
|
|
FD to notify readiness on. A single newline will be written and the fd
|
|
closed when seatd is ready to serve requests. This is compatible with
|
|
s6's notification protocol.
|
|
|
|
*-u <user>*
|
|
User to own the seatd socket.
|
|
|
|
*-g <group>*
|
|
Group to own the seatd socket.
|
|
|
|
*-l <loglevel>*
|
|
Log-level to use. Must be one of debug, info, error or silent. Defaults
|
|
to error.
|
|
|
|
*-v*
|
|
Show the version number and quit.
|
|
|
|
# DESCRIPTION
|
|
|
|
seatd provides central seat management, mediating access to shared resources
|
|
such as displays and input devices in a multi-session, multi-seat environment.
|
|
|
|
seatd operates over a UNIX domain socket, with *libseat* providing the
|
|
client-side of the protocol.
|
|
|
|
The location of the socket for seatd is set at compile-time.
|
|
|
|
# SEE ALSO
|
|
|
|
The libseat library, *<libseat.h>*, *seatd-launch*(1)
|
|
|
|
# AUTHORS
|
|
|
|
Maintained by Kenny Levinsen <contact@kl.wtf>, who is assisted by other
|
|
open-source contributors. For more information about seatd development, see
|
|
https://sr.ht/~kennylevinsen/seatd.
|