Re: dbus Digest, Vol 159, Issue 2 - Fail to connect to socket, not found system_bus_socket
dtdang <[email protected]>
| Newsgroups | gmane.comp.freedesktop.dbus |
|---|---|
| Message-ID | <CAJpUOaemWQ-zGZj3bpJz5JRdk6UoDLsJ908DD_KJRtN4nk-eVw@mail.gmail.com> |
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 <[email protected]> wrote: > Message: 5 > Date: Tue, 02 Oct 2018 22:50:57 -0700 > From: Thiago Macieira <[email protected]> > To: [email protected] > Subject: Re: Fail to connect to socket, not found system_bus_socket. > Message-ID: <13401781.PBiiJIO98R@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-kC51rjc0cqs1dNLGKZg6taU/[email protected]> > To: [email protected] > Subject: Re: Fail to connect to socket, not found system_bus_socket. > Message-ID: <20181003191253.2fc28313-QEjm8wl6P5m5/[email protected]> > 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 > [email protected] > https://lists.freedesktop.org/mailman/listinfo/dbus > > > ------------------------------ > > End of dbus Digest, Vol 159, Issue 2 > ************************************ > _______________________________________________ dbus mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/dbus