On Thu, Dec 18, 2014 at 09:30:43AM +0100, Marko Cupać wrote:
> On Wed, 17 Dec 2014 17:33:36 +0100
> Alessandro DE LAURENZIS <[email protected]> wrote:
> 
> > Maybe useless to say, but you should add the "user session" d-bus part
> > too; in .xinitrc, something like:
> > 
> > # Start a session bus instance of dbus-daemon
> > if [ -x /usr/local/bin/dbus-launch -a -z "${DBUS_SESSION_BUS_ADDRESS}" ]; 
> > then
> >     eval `dbus-launch --sh-syntax --exit-with-session`
> > fi
> > 
> > (see /usr/local/share/doc/pkg-readmes/dbus-x.y.z, maybe not needed if
> > your login/session manager does that for you).
> 
> Alessandro,
> 
> are you sure I need both dbus sessions? As far as I understand, it is
> either system-wide dbus in pkg_scripts, or per-user, when one does not
> want to run system-wide service.

You need both, I believe.

On my system with XFCE running I see:

$ pgrep -fl dbus
6078 /usr/local/bin/dbus-daemon --fork --print-pid 5 --print-address 7 --session
10590 /usr/local/bin/dbus-launch --sh-syntax --exit-with-session xfce4-session
20502 /usr/local/bin/dbus-daemon --system

Reply via email to