[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#725811: debian-installer: graphical installer: run debconf under dbus-run-session(1)



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


Reply to: