On 08/10/13 21:39, Samuel Thibault wrote:
> Simon McVittie, le Tue 08 Oct 2013 17:51:52 +0100, a écrit :
>> The other way to put processes in a D-Bus session is to start them
>> with DBUS_SESSION_BUS_ADDRESS in their environment, having first run a
>> dbus-daemon and told it to write its address into a pipe. dbus-run-session
>> does that in C. Here is an older shell-script implementation which you
>> might find a useful reference:
>>
>>     
>> http://cgit.freedesktop.org/telepathy/telepathy-glib/tree/tools/with-session-bus.sh?h=telepathy-glib-0.22
> 
> That will probably be easier to do it that way.

OK, if you do that (either in shell or C), I'll be able to remove both
dbus-launch and dbus-run-session from dbus-udeb. You might find this a
useful reference:

http://cgit.freedesktop.org/dbus/dbus/tree/tools/dbus-run-session.c

dbus-udeb is currently in NEW, but I've uploaded a copy here:
http://www.pseudorandom.co.uk/~smcv/20131009dbus/

Regards,
    S


-- 
To UNSUBSCRIBE, email to debian-boot-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/5255250a.2090...@debian.org

Reply via email to