Solved dbus, to enable or to launch?

In the manual there are references to enabling dbus with dbus_enable="YES" in my rc.conf

I use i3, and my xinitrc has exec dbus-launch...etc

pkg info -D dbus doesn't give any instruction.

So is it necessary to enable and to launch dbus?
 
You need both. dbus_enable starts a system daemon. dbus-launch(1) talks to that system daemon and starts a session specific for that process.


When you use a DBus aware display manager like SDDM or SLiM, that session is automatically started by the display manager. But if you use startx (or use XDM) then you won't get that session, thus you need to start it yourself, which is what exec dbus-launch ... does.

Just try it, start i3 with and without that dbus-launch and in an xterm enter the ck-list-sessions command, see what the differences are.
 
6f7ca10af5774aa1b2d17f60c1803895.png

in the most practical way
 
Back
Top