dbus Digest, Vol 159, Issue 2 - Fail to connect to socket, not found system_bus_socket

dtdang ddt.fet.hut at gmail.com
Thu Oct 4 01:34:54 UTC 2018


Dear Thiago & Lawrence

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'

Thanks,


On Wed, Oct 3, 2018 at 9:00 PM <dbus-request at lists.freedesktop.org> wrote:

> Message: 5
> Date: Tue, 02 Oct 2018 22:50:57 -0700
> From: Thiago Macieira <thiago at kde.org>
> To: dbus at lists.freedesktop.org
> Subject: Re: Fail to connect to socket, not found system_bus_socket.
> Message-ID: <13401781.PBiiJIO98R at tjmaciei-mobl1>
> Content-Type: text/plain; charset="us-ascii"
>
> On Tuesday, 2 October 2018 04:31:07 PDT dtdang wrote:
> > However, when I run my application or 'dbus-monitor' util then I get
> bellow
> > error.
> >
> >
> > "Fail to connect to socket /usr/var/run/dbus/system_bus_socket: No such
> > file or directory".
>
> dbus-monitor, like all applications, does not read the config file. It's
> trying to find the system bus socket from the hardcoded path that you
> passed
> during configure.
>
> You may want to pass a path to avoid the calculated and obviously wrong
> /usr/var/run/dbus/system_bus_socket
>
> --
> Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
>    Software Architect - Intel Open Source Technology Center
>
>
>
>
>
> ------------------------------
>
> Message: 6
> Date: Wed, 3 Oct 2018 19:12:53 +1300
> From: Lawrence D'Oliveiro <ldo at geek-central.gen.nz>
> To: dbus at lists.freedesktop.org
> Subject: Re: Fail to connect to socket, not found system_bus_socket.
> Message-ID: <20181003191253.2fc28313 at theon.geek-central.gen.nz>
> Content-Type: text/plain; charset=UTF-8
>
> On Tue, 02 Oct 2018 22:50:57 -0700, Thiago Macieira wrote:
>
> > dbus-monitor, like all applications, does not read the config file.
> > It's trying to find the system bus socket from the hardcoded path
> > that you passed during configure.
>
> As I understand it, if the environment variable
> “DBUS_SYSTEM_BUS_ADDRESS” is set, then its value is the address of the
> system bus socket. Otherwise it defaults to
> "unix:path=/var/run/dbus/system_bus_socket".
>
>
> ------------------------------
>
> Subject: Digest Footer
>
> _______________________________________________
> dbus mailing list
> dbus at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/dbus
>
>
> ------------------------------
>
> End of dbus Digest, Vol 159, Issue 2
> ************************************
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/dbus/attachments/20181004/062c229d/attachment.html>


More information about the dbus mailing list