bob prohaska wrote on 2023/04/13 11:18:
> Running www/chromium (from ports via poudriere) on a Pi4
> reports a stream of
> [30033:1100602368:0412/190147.848068:ERROR:bus.cc(399)] Failed to connect to
> the bus: Could not parse server address: Unknown address type (examples of
> valid types are "tcp" and on UNIX "unix")
> messages.
>
That is because there is a setenv("DBUS_SESSION_BUS_ADDRESS","disabled:"
somewhere :)
And it is also written in the nearby comments about why it is written.
The workaround is DBUS_SESSION_BUS_ADDRESS below.
DBUS_SESSION_BUS_ADDRESS="autolaunch:" ; export DBUS_SESSION_BUS_ADDRESS
DBus uses the default value by an empty string, but GLib does not allow an
empty string.
Therefore, the only workaround is to set autolaunch:, which is the same as the
default value.
Regards.