[Bug 273237] devel/dbus: /var/local/lib/dbus/machine-id not created

From: <bugzilla-noreply_at_freebsd.org>
Date: Thu, 28 Dec 2023 03:10:43 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=273237

--- Comment #8 from Jan Beich <jbeich@FreeBSD.org> ---
It's just one of possible a workarounds. Another one is dbus-run-session but it
must cover the whole GUI session for all related apps to inherit the same
DBUS_SESSION_BUS_ADDRESS e.g.,

 # X11 simple
 $ echo exec dbus-run-session twm >~/.xinitrc
 $ startx
or
 # X11 DE (needs both system and session bus)
 $ service dbus onestart
 $ echo exec dbus-run-session startplasma-x11 >~/.xinitrc
 $ ck-launch-session startx
or
 # Wayland simple
 $ dbus-run-session sway
or
 # Wayland DE (needs both system and session bus)
 $ service dbus onestart
 $ ck-launch-session dbus-run-session startplasma-wayland

Note, if DBus is undesired set DBUS_SESSION_BUS_ADDRESS="disabled:" similar to
Chromium default since
https://chromium.googlesource.com/chromium/src/+/8511820ec8280caacbd4f81f3ecd13b6c61681b0%5E%21/

-- 
You are receiving this mail because:
You are the assignee for the bug.