dde-seatd-launch1
Start a process with its own dde-seatd instance
Usage
dde-seatd-launch [options]
[--]
command
Options
-
-l <loglevel> -
Log-level to pass to dde-seatd. See dde-seatd(1) for information about available log-levels.
-
-h -
Show help message and quit.
-
-v -
Show the version number and quit.
Overview
dde-seatd-launch starts a dde-seatd instance with a dedicated socket path, waits for it to be ready, and starts the specified command with SEATD_SOCK set appropriately. Once the specified command terminates, the dde-seatd instance is also terminated.
dde-seatd requires root privileges to perform its tasks. This can be achieved through SUID of dde-seatd-launch or by running dde-seatd-launch as root. dde-seatd-launch will drop privileges from the effective user to the real user before running the specified command. If the real user is root, this is simply a noop. You should only run dde-seatd-launch as root if you intend for the specified command to run as root as well.
dde-seatd-launch serves a similar purpose to the libseat "builtin" backend, but is superior to it for two reasons:
1.
|
The specified command never runs as root |
|---|---|
2.
|
The standard dde-seatd executable and DDE libseat-compatible backend is used |
Exit status
dde-seatd-launch exits with the status of its child. When the child terminates on a signal N, dde-seatd-launch exits with the status 128 + N.
If dde-seatd-launch fails because of another error, it exits with a non-zero status.