New comment by ericonr on void-packages repository https://github.com/void-linux/void-packages/issues/20930#issuecomment-615619830 Comment: I think discussing this in matters of `XDG_RUNTIME_DIR` won't necessarily lead us anywhere. The most important point for this is the existence or not of setuid binaries. In order to not break users' setups, elogind could be a (direct or not) dependency of Sway, and then setuid could be removed from Sway's build script (or made a build option at least). The way it currently works, `cage` isn't setuid and requires elogind to run, and `wayfire` even includes an [`INSTALL.msg`](https://github.com/void-linux/void-packages/blob/master/srcpkgs/wayfire/INSTALL.msg) telling the user to install elogind. It doesn't make sense that these packages don't directly depend on elogind.