maintainer-feedback requested: [Bug 255355] graphics/wayland: document XDG_RUNTIME_DIR
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Sat Apr 24 02:33:19 UTC 2021
Bugzilla Automation <bugzilla at FreeBSD.org> has asked freebsd-x11 (Nobody)
<x11 at FreeBSD.org> for maintainer-feedback:
Bug 255355: graphics/wayland: document XDG_RUNTIME_DIR
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=255355
--- Description ---
XDG_RUNTIME_DIR purpose is explained in
https://specifications.freedesktop.org/basedir-spec/basedir-spec-latest.html It
holds unix(4) sockets for Wayland, DBus (user session), Emacs (server), uim,
etc. ConsoleKit2 defines it by default but minimalistic setups (e.g., libseat
or X11-nested session) don't. login.conf(5) provides a way to set environment
variables regardless of user shell. Unfortunately, the directory needs to be
created as some consumers will fail otherwise.
Inspired by: https://hub.darcs.net/raichoo/hikari#setting-up-xdg_runtime_dir
Fixes: "error: XDG_RUNTIME_DIR not set in the environment."
Disclaimer: Mainly affects fresh FreeBSD installs and new users, so I may have
missed something.
More information about the freebsd-x11
mailing list