[systemd-devel] systemd --user and kdbus

Kay Sievers kay at vrfy.org
Thu Jan 16 04:03:18 PST 2014


On Sat, Jan 11, 2014 at 7:04 PM, Kay Sievers <kay at vrfy.org> wrote:
> We got systemd git working to be able to run a full GNOME (Fedora 20)
> user session with kdbus now. Instead of dbus-daemon running and
> activating applications, they are directly started by the systemd
> --user instance now.
>
> Here is the output of "ps":
>   http://people.freedesktop.org/~kay/kdbus-user.txt
>
> The automatically activated proxies will go away as soon as glib, and
> possibly libdbus-1, are ported to connect natively to kdbus instead of
> the unix socket,
>
> The X login session needs to export $DISPLAY to systemd --user.
> Something like this should take care of that:
> ---
> $ cat /etc/X11/xinit/xinitrc.d/systemd-user.sh
> #!/bin/sh
>
> systemctl --user set-environment "DISPLAY=$DISPLAY"
> ---

This got simpler with systemd git now, as:
  systemctl --user import-environment DISPLAY

Kay


More information about the systemd-devel mailing list