Hi,

Ubuntu doesn't install dbus-user-session package by default. But it has dbus-x11 installed by default. When I try "systemctl --user show-environment" it only shows few env variables. However "initctl --user list-env" shows them all properly.

$ ps -p1 | grep systemd > /dev/null && echo systemd || echo upstart
systemd

$ systemd --v
systemd 229

$ systemctl --user show-environment
HOME=/home/pcuser
LANG=en_IN
LANGUAGE=en_IN:en
LOGNAME=pcuser
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
SHELL=/bin/bash
USER=pcuser
XDG_RUNTIME_DIR=/run/user/1000

All I need is "DBUS_SESSION_BUS_ADDRESS", "DISPLAY" and "XAUTHORITY". Even without dbus-user-session, it should import all environment variables as it is executing "dbus-update-activation-environment --verbose --systemd --all" from xsession.d script. Is it not? Then why is it not importing all the variables?

Please clarify.
Thanks.
_______________________________________________
Pkg-systemd-maintainers mailing list
Pkg-systemd-maintainers@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-systemd-maintainers

Reply via email to