Re: xorg-server: logind support requires --enable-udev, however works without udev running, is udev really needed?
Hi, On 20/03/2019 12.32, Hans de Goede wrote: > > 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. What do you mean by that? What the udev and logind does is to get user access to input devices and also to support SETMASTER/DROPMASTER when taking over framebuffer, right? Only the input part is handled by logind is being privileged entity that can be used to take over framebuffer -- nothing for udev to do. -- Piotr. pEpkey.asc Description: application/pgp-keys ___ xorg-devel@lists.x.org: X.Org development Archives: http://lists.x.org/archives/xorg-devel Info: https://lists.x.org/mailman/listinfo/xorg-devel
Re: xorg-server: logind support requires --enable-udev, however works without udev running, is udev really needed?
Hi, On 3/20/19 4:26 PM, Piotr Karbowski wrote: Hi, On 20/03/2019 12.32, Hans de Goede wrote: 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. What do you mean by that? What I mean by that is that the Xserver probe code is already suffering from a combinatorial explosion (https://en.wikipedia.org/wiki/Combinatorial_explosion) problem wrt all the different options, hardware configs and paths through the code. So I do not want to add yet another variable. You are free to use the logind integration without udev support and with a small *local* downstream patch you may even be able to completely build without udev support while using the logind integration. But this is not something which I believe we should support in the upstream xserver, so if it breaks you get to keep both pieces. Regards, Hans ___ xorg-devel@lists.x.org: X.Org development Archives: http://lists.x.org/archives/xorg-devel Info: https://lists.x.org/mailman/listinfo/xorg-devel
Re: xorg-server: logind support requires --enable-udev, however works without udev running, is udev really needed?
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 ___ xorg-devel@lists.x.org: X.Org development Archives: http://lists.x.org/archives/xorg-devel Info: https://lists.x.org/mailman/listinfo/xorg-devel
xorg-server: logind support requires --enable-udev, however works without udev running, is udev really needed?
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? -- Piotr. pEpkey.asc Description: application/pgp-keys ___ xorg-devel@lists.x.org: X.Org development Archives: http://lists.x.org/archives/xorg-devel Info: https://lists.x.org/mailman/listinfo/xorg-devel