Project

General

Profile

Bug #1832

[sway]: does not start if XDG_RUNTIME_DIR is unset (OpenRC)

concatime - over 2 years ago - . Updated over 2 years ago.

Status:
open
Priority:
bug
Assignee:
-
% Done:

0%


Description

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.
Thank you.

History

#1

Updated by bill-auger over 2 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

from: https://specifications.freedesktop.org/basedir-spec/basedir-spec-latest.html

If $XDG_RUNTIME_DIR is not set applications should fall back to a replacement directory
with similar capabilities and print a warning message.

Also available in: Atom PDF