Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 11 Nov 2021 00:06:11 +0000
From:      bugzilla-noreply@freebsd.org
To:        chromium@FreeBSD.org
Subject:   [Bug 259700] www/chromium (plasma5 global menu) does not work OOTB
Message-ID:  <bug-259700-28929-Ptxkf76muF@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-259700-28929@https.bugs.freebsd.org/bugzilla/>
References:  <bug-259700-28929@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D259700

--- Comment #1 from Jan Beich <jbeich@FreeBSD.org> ---
See https://bugs.chromium.org/p/chromium/issues/detail?id=3D715658

Better start DBus user/session bus manually after login. On Linux this usua=
lly
done transparently by (e)logind. On FreeBSD you can do something like this:

$ cat >>/etc/profile
# WARNING: zsh doesn't read this file by default, so use /etc/zprofile inst=
ead
# XDG_RUNTIME_DIR is preferred but usually requires pam_xdg or consolekit2
(pam_ck_connector or ck_launch_session)
if [ -n "$XDG_RUNTIME_DIR" ]; then
    if ! pgrep -qf -U ${USER:-$(id -u)} dbus.\*--session; then
        dbus-daemon --session --fork --address=3Dunix:runtime=3Dyes 2>/dev/=
null
        # Only necessary for some apps that fail to find default session bus
(e.g., Emacs, Chrome)
        # https://gitlab.freedesktop.org/dbus/dbus/-/commit/e3f117e7610b
        export DBUS_SESSION_BUS_ADDRESS=3Dunix:path=3D$XDG_RUNTIME_DIR/bus
    fi
else
    eval $(dbus-launch --sh-syntax --exit-with-session 2>/dev/null)
fi

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-259700-28929-Ptxkf76muF>