01.11.2014 o 08:31 Boram Park <[email protected]> wrote:

Dear Stephane

Can I ask you something about your below patch?

commit 32c04c79d76a4582669de4e39e8422ab5229e446
Author: Stephane Desneux <[email protected]>
Commit: Stephane Desneux <[email protected]>

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 <[email protected]>


I want to use DBUS_SESSION_BUS_ADDRESS in xserver side during launching xserver. But I can't guess DBUS_SESSION_BUS_ADDRESS will be set before xserver launches. Is there any package(process?) to set DBUS_SESSION_BUS_ADDRESS during booting of target device?

And, if there is it, is it possible that I can use DBUS_SESSION_BUS_ADDRESS in xserver side?

Since systemd v212 DBUS_SESSION_BUS_ADDRESS is set per user in [email protected]. As long as xserver is pulled by default.target in /usr/lib/systemd/user, it will have DBUS_SESSION_BUS_ADDRES set.

regards,
--
Maciej Wereski
Samsung R&D Institute Poland
Samsung Electronics
[email protected]
_______________________________________________
Dev mailing list
[email protected]
https://lists.tizen.org/listinfo/dev

Reply via email to