[systemd-devel] Access session bus from service application

deepan muthusamy deepan.m2903 at gmail.com
Tue Aug 14 16:00:35 UTC 2018


Thank you for the clarification.

On Tue, 14 Aug 2018, 3:22 pm Mantas Mikulėnas, <grawity at gmail.com> wrote:

> On Tue, Aug 14, 2018 at 11:49 AM deepan muthusamy <deepan.m2903 at gmail.com>
> wrote:
>
>> I have to start all my applications through systemd. But when I am trying
>> to start even A2, A3, A4 also i am facing same problem.
>>
>
> Sounds like you *don't have* a session bus at all, then?
>
> If 100% of your applications start via systemd .services, then you should
> start the bus via systemd .service as well. (For example, create a
> "dbus-session.service"; make sure to specify a static --address. Ideally
> create a matching .socket unit as well.)
>
> Once the session bus is running, your other programs/services need to be
> told about its address (via environment variables).
>
> --
> Mantas Mikulėnas
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/systemd-devel/attachments/20180814/cd88ce5c/attachment.html>


More information about the systemd-devel mailing list