Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 24 Apr 2021 02:33:19 +0000
From:      bugzilla-noreply@freebsd.org
To:        x11@FreeBSD.org
Subject:   maintainer-feedback requested: [Bug 255355] graphics/wayland: document XDG_RUNTIME_DIR
Message-ID:  <bug-255355-7141-9Z5TTpSLih@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-255355-7141@https.bugs.freebsd.org/bugzilla/>
References:  <bug-255355-7141@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
Bugzilla Automation <bugzilla@FreeBSD.org> has asked freebsd-x11 (Nobody)
<x11@FreeBSD.org> for maintainer-feedback:
Bug 255355: graphics/wayland: document XDG_RUNTIME_DIR
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D255355



--- Description ---
XDG_RUNTIME_DIR purpose is explained in
https://specifications.freedesktop.org/basedir-spec/basedir-spec-latest.htm=
l It
holds unix(4) sockets for Wayland, DBus (user session), Emacs (server), uim,
etc. ConsoleKit2 defines it by default but minimalistic setups (e.g., libse=
at
or X11-nested session) don't. login.conf(5) provides a way to set environme=
nt
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 h=
ave
missed something.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-255355-7141-9Z5TTpSLih>