On 12/18/2014 01:52 AM, Stefan Sperling wrote:
> 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
>

I see the exact same thing as you show above, but did nothing to start it 
twice, so
assume XFCE4 is doing that for me.

There is language in /etc/xdg/xfce4/xinitrc to check for a properly operating
dbus and launch one if needed.




-- 
Those who do not understand Unix are condemned to reinvent it, poorly.

Reply via email to