Seatd: Difference between revisions

From Alpine Linux
m (fixed broken link)
m (rephrased sentence)
Line 5: Line 5:
== Installation ==
== Installation ==


{{Cmd|apk add {{Pkg|seatd}}       # install seatd
Install the {{Pkg|seatd}} package and add the {{ic|seatd}} service to auto-start using [[OpenRC]]: {{Cmd|<nowiki># apk add seatd
rc-update add seatd # configure it to auto-start
# rc-update add seatd
service seatd start # start it now
# service seatd start </nowiki>}}
adduser $USER seat # allow current user to access seatd
 
}}
To add the currently logged in user to {{ic|seat}} group issue the command: {{Cmd|$ doas adduser $USER seat}}


If you are already logged in as a <code>$USER</code>, you will need to relogin.
If you are already logged in as a <code>$USER</code>, you will need to relogin.


* [[polkit]] can be used for authentication with [[Polkit#Polkit and seatd|seatd]].
[[Polkit#Polkit and seatd|Polkit]] can be configured and used for authentication with seatd.


== Configuration ==
== Configuration ==

Revision as of 17:04, 3 May 2025

Seatd is a seat management daemon, that does everything it needs to do. Nothing more, nothing less. Depends only on libc. Seat management takes care of mediating access to shared devices (graphics, input), without requiring the applications needing access to be root.

When using elogind, seatd is not required and viceversa. Don't add both to auto-start.

Installation

Install the seatd package and add the seatd service to auto-start using OpenRC:

# apk add seatd # rc-update add seatd # service seatd start

To add the currently logged in user to seat group issue the command:

$ doas adduser $USER seat

If you are already logged in as a $USER, you will need to relogin.

Polkit can be configured and used for authentication with seatd.

Configuration

Ensure that XDG_RUNTIME_DIR is set before starting your Wayland compositor.

See also