<div dir="ltr">Dear Thiago & Lawrence<div><br></div><div>So is there a way to configure system_bus_socket path on pre-compiling ? Like I want to put it into the same dir with dbus-daemon system_bus_socket as '/tmp/dbus'</div><div><br></div><div>Thanks,</div><div><br><br><div class="gmail_quote"><div dir="ltr">On Wed, Oct 3, 2018 at 9:00 PM <<a href="mailto:dbus-request@lists.freedesktop.org">dbus-request@lists.freedesktop.org</a>> wrote:</div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Message: 5<br>
Date: Tue, 02 Oct 2018 22:50:57 -0700<br>
From: Thiago Macieira <<a href="mailto:thiago@kde.org" target="_blank">thiago@kde.org</a>><br>
To: <a href="mailto:dbus@lists.freedesktop.org" target="_blank">dbus@lists.freedesktop.org</a><br>
Subject: Re: Fail to connect to socket, not found system_bus_socket.<br>
Message-ID: <13401781.PBiiJIO98R@tjmaciei-mobl1><br>
Content-Type: text/plain; charset="us-ascii"<br>
<br>
On Tuesday, 2 October 2018 04:31:07 PDT dtdang wrote:<br>
> However, when I run my application or 'dbus-monitor' util then I get bellow<br>
> error.<br>
> <br>
> <br>
> "Fail to connect to socket /usr/var/run/dbus/system_bus_socket: No such<br>
> file or directory".<br>
<br>
dbus-monitor, like all applications, does not read the config file. It's <br>
trying to find the system bus socket from the hardcoded path that you passed <br>
during configure.<br>
<br>
You may want to pass a path to avoid the calculated and obviously wrong <br>
/usr/var/run/dbus/system_bus_socket<br>
<br>
-- <br>
Thiago Macieira - thiago (AT) <a href="http://macieira.info" rel="noreferrer" target="_blank">macieira.info</a> - thiago (AT) <a href="http://kde.org" rel="noreferrer" target="_blank">kde.org</a><br>
Software Architect - Intel Open Source Technology Center<br>
<br>
<br>
<br>
<br>
<br>
------------------------------<br>
<br>
Message: 6<br>
Date: Wed, 3 Oct 2018 19:12:53 +1300<br>
From: Lawrence D'Oliveiro <<a href="mailto:ldo@geek-central.gen.nz" target="_blank">ldo@geek-central.gen.nz</a>><br>
To: <a href="mailto:dbus@lists.freedesktop.org" target="_blank">dbus@lists.freedesktop.org</a><br>
Subject: Re: Fail to connect to socket, not found system_bus_socket.<br>
Message-ID: <<a href="mailto:20181003191253.2fc28313@theon.geek-central.gen.nz" target="_blank">20181003191253.2fc28313@theon.geek-central.gen.nz</a>><br>
Content-Type: text/plain; charset=UTF-8<br>
<br>
On Tue, 02 Oct 2018 22:50:57 -0700, Thiago Macieira wrote:<br>
<br>
> dbus-monitor, like all applications, does not read the config file.<br>
> It's trying to find the system bus socket from the hardcoded path<br>
> that you passed during configure.<br>
<br>
As I understand it, if the environment variable<br>
“DBUS_SYSTEM_BUS_ADDRESS” is set, then its value is the address of the<br>
system bus socket. Otherwise it defaults to<br>
"unix:path=/var/run/dbus/system_bus_socket".<br>
<br>
<br>
------------------------------<br>
<br>
Subject: Digest Footer<br>
<br>
_______________________________________________<br>
dbus mailing list<br>
<a href="mailto:dbus@lists.freedesktop.org" target="_blank">dbus@lists.freedesktop.org</a><br>
<a href="https://lists.freedesktop.org/mailman/listinfo/dbus" rel="noreferrer" target="_blank">https://lists.freedesktop.org/mailman/listinfo/dbus</a><br>
<br>
<br>
------------------------------<br>
<br>
End of dbus Digest, Vol 159, Issue 2<br>
************************************<br>
</blockquote></div></div></div>