xorg-server: logind support requires --enable-udev, however works without udev running, is udev really needed?

Hans de Goede hdegoede at redhat.com
Wed Mar 20 11:32:14 UTC 2019


Hi,

On 19-03-19 22:01, Piotr Karbowski wrote:
> Hi,
> 
> Today I've been integrating a elogind, a drop-in replacement for
> systemd-logind and I came across a hard dependency of
> --enable-systemd-logind on --enable-config-udev.
> 
> configure: error: systemd-logind is only supported in combination with
> udev configuration.
> 
> However I was able to get Xorg working without suid with elogind while
> running mdev from busybox, I've been keeping user in `video` and `input`
> groups meaning that Xorg running as my user does have access to input
> devices.
> 
> My system does not run udev at all, however I kept it around as a stub
> to make xorg-server build with --enable-config-udev.
> 
> Can you please confirm that udev is really needed, or, if not, would it
> be possible to make --enable-systemd-logind buildable with
> --disable-config-udev?

I'm surprised that this works at all, but regardless using the logind
integration without the udev integration is definitely not something
which we want to support, sorry.

Regards,

Hans



More information about the xorg-devel mailing list