add a small script in /etc/profile.d/dbus.sh to export DBUS_SESSION_BUS_ADDRESS 71/29271/1 accepted/tizen/common/20141027.101220 accepted/tizen/ivi/20141119.110949 submit/tizen_common/20141024.170851 submit/tizen_ivi/20141119.052506 submit/tizen_ivi/20141119.333333 submit/tizen_ivi/20141119.444444 submit/tizen_mobile/20141120.000000
authorStephane Desneux <stephane.desneux@open.eurogiciel.org>
Thu, 23 Oct 2014 11:21:39 +0000 (13:21 +0200)
committerStephane Desneux <stephane.desneux@open.eurogiciel.org>
Thu, 23 Oct 2014 14:45:39 +0000 (16:45 +0200)
commit32c04c79d76a4582669de4e39e8422ab5229e446
tree9885375eb7a81487f8b3303c5c3fcc2862147dd6
parentfdc08790ec431834cfd8d0efb50522790b7d6b4c
add a small script in /etc/profile.d/dbus.sh to export DBUS_SESSION_BUS_ADDRESS

If the dbus session address is not defined, this small script will try to
pick the address from the environment of the systemd --user process for the current
user.

Typically, this allows to log on a target through ssh, then run su - <user> and
have the same environment as the shells inside the user session.

Change-Id: Id6133077bf9943c4203f7d993b8942dc1455bef5
Signed-off-by: Stephane Desneux <stephane.desneux@open.eurogiciel.org>
packaging/dbus.sh [new file with mode: 0644]
packaging/dbus.spec