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.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.