Linux command
seatd 命令
文本
复制后可按需替换文件名、目录或参数。
常用示例
Start seatd
seatd
Start seatd
seatd -s [/path/to/socket.sock]
Start seatd
seatd -u [user] -g [group]
Start seatd
seatd -l debug
Start seatd
seatd -n [fd]
说明
seatd is a minimal seat management daemon that mediates access to shared resources such as displays and input devices in a multi-session, multi-seat environment. It provides an alternative to elogind for Wayland compositors, particularly those based on wlroots. The daemon operates over a UNIX domain socket, with libseat providing the client-side protocol. Unlike elogind, seatd focuses solely on seat management without additional session management features, making it lightweight and suitable for minimal setups. Seat management allows applications like Wayland compositors to access privileged devices (graphics cards, input devices) without requiring root privileges, improving security while maintaining functionality.
参数
- -h
- Display help information and exit.
- -v
- Display version number and exit.
- -n _fd_
- File descriptor to notify readiness on. A single newline will be written and the fd closed when seatd is ready to serve requests. Compatible with s6's notification protocol.
- -u _user_
- User to own the seatd socket.
- -g _group_
- Group to own the seatd socket.
- -s _path_
- Where to create the seatd socket. Defaults to `/run/seatd.sock`.
- -l _loglevel_
- Set logging verbosity. Valid levels are debug, info, error, or silent. Defaults to error.
FAQ
What is the seatd command used for?
seatd is a minimal seat management daemon that mediates access to shared resources such as displays and input devices in a multi-session, multi-seat environment. It provides an alternative to elogind for Wayland compositors, particularly those based on wlroots. The daemon operates over a UNIX domain socket, with libseat providing the client-side protocol. Unlike elogind, seatd focuses solely on seat management without additional session management features, making it lightweight and suitable for minimal setups. Seat management allows applications like Wayland compositors to access privileged devices (graphics cards, input devices) without requiring root privileges, improving security while maintaining functionality.
How do I run a basic seatd example?
Run `seatd` in a terminal, then adjust file names, paths, flags, or remote targets for your system.
What does -h do in seatd?
Display help information and exit.