[sway]: does not start if XDG_RUNTIME_DIR is unset (OpenRC)
This is actually the same issue as in https://github.com/voidlinux/void-packages/issues/9812
Elogind is supposed to define this variable (man pam_elogind), but it's not.
I tried installing `elogind` and `elogind-openrc` (+rc-update add elogind), in vain.
NOTE: I don't want to manually manage the `/run/user/UID` folder.
Updated by bill-auger over 5 years ago
- Subject changed from Sway does not start if XDG_RUNTIME_DIR is unset (OpenRC) to [sway]: does not start if XDG_RUNTIME_DIR is unset (OpenRC)
strictly speaking, this would be a bug in the upstream program - the spec makes it clear that this var is optional and any consumer of it should be prepared to fallback to some other directory
If $XDG_RUNTIME_DIR is not set applications should fall back to a replacement directory with similar capabilities and print a warning message.