dbus-launch is no longer needed with systemd. You need to make sure that when running
Xwindows is launched on the say
TTY. This will insure that you preserve the login session. Below I've listed some notes on setting up systemd --user sessions.
Users should first set up systemd-logind to manage their session. If systemd is running as the system init daemon, then this is already happening.
Next, the user must launch systemd by putting the following in their
If the user is not launching the window manager through systemd --user, then
systemd --user &
should be used and launched like anything else in
~/.xinitrc, before execing the window manager.
X, the user can check whether their session is now being managed by systemd-logind with the following command:
$ loginctl --no-pager show-session $XDG_SESSION_ID | grep Active
If this command prints
Active=yes, then the user is now using
systemd-logind to manage their session. The user should remove any instances of ck-launch-session or dbus-launch from their ~/.xinitrc, as those commands are unneeded.
More information on this can be found here