[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


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 at FreeBSD.org
          Reporter: jbeich at FreeBSD.org
             Flags: maintainer-feedback?(x11 at FreeBSD.org)
          Assignee: x11 at 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.


More information about the freebsd-x11 mailing list