Artix Linux Forum

Artix Linux => Applications & Software => Topic started by: awky on 06 January 2025, 14:03:42

Title: Is seatd wayland only?
Post by: awky on 06 January 2025, 14:03:42
hi,
Does seatd also work for x11.
I'm using dwm.

Am i missing out on any important features that elogind provides?
I only use dwm with mostly terminal based applications like vim, vifm.
Title: Re: Is seatd wayland only?
Post by: kiblaster on 07 January 2025, 08:43:23
https://docs.freebsd.org/en/books/handbook/wayland/
Quote
The seatd daemon helps manage access to shared system devices for non-root users in compositors; this includes graphics cards. For traditional X11 managers, seatd is not needed, such as both Plasma and GNOME, but for the Wayland compositors discussed here, it will need enabled on the system and be running before starting a compositor environment.
It seems that it is for wayland only.

If you are using dwm you do not need elogind.
I am using bspwm without it.
Title: Re: Is seatd wayland only?
Post by: kiblaster on 07 January 2025, 21:38:12
I was using seatd on x11 it turns out that it's almost pointless.
In fact it's useful only to fulfill init-logind requirement:
Code: [Select]
pacman -R seatd-dinit
checking dependencies...
error: failed to prepare transaction (could not satisfy dependencies)
:: removing seatd-dinit breaks dependency 'init-logind' required by artix-archlinux-support
:: removing seatd-dinit breaks dependency 'init-logind' required by base

I disabled the services but something starts it so I edited logind:
Code: [Select]
cat /etc/dinit.d/logind 
type       = internal
before     = login.target

I think that the developers should allow no elogind/seatd for example like in this case for dwm.
Title: Re: Is seatd wayland only?
Post by: matrixphil on 17 January 2025, 02:41:38
Seatd is primarily designed for Wayland, so it doesn't really support X11 natively. If you’re using DWM with terminal apps, you might not miss much from elogind, but it does offer some session management features that could be handy if you ever decide to expand your setup.