Date: Sat, 24 Apr 2021 02:33:19 +0000 From: bugzilla-noreply@freebsd.org To: x11@FreeBSD.org Subject: [Bug 255355] graphics/wayland: document XDG_RUNTIME_DIR Message-ID: <bug-255355-7141@https.bugs.freebsd.org/bugzilla/>
index | next in thread | raw e-mail
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=255355 Bug ID: 255355 Summary: graphics/wayland: document XDG_RUNTIME_DIR Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Keywords: patch Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: x11@FreeBSD.org Reporter: jbeich@FreeBSD.org Flags: maintainer-feedback?(x11@FreeBSD.org) Assignee: x11@FreeBSD.org Created attachment 224392 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=224392&action=edit v1 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. -- You are receiving this mail because: You are the assignee for the bug.home | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-255355-7141>
