balena-io-experimental / audio

Audio building block for balenaOS, based on pulseaudio.
https://hub.balena.io/blocks
32 stars 13 forks source link

DBus and X11 error #76

Closed phil-d-wilson closed 2 years ago

phil-d-wilson commented 3 years ago
19.06.21 09:40:40 (+0000)  audio  W: [pulseaudio] server-lookup.c: Unable to contact D-Bus: org.freedesktop.DBus.Error.NotSupported: Unable to autolaunch a dbus-daemon without a $DISPLAY for X11
19.06.21 09:40:40 (+0000)  audio  W: [pulseaudio] main.c: Unable to contact D-Bus: org.freedesktop.DBus.Error.NotSupported: Unable to autolaunch a dbus-daemon without a $DISPLAY for X11

We should suppress this error if it's not relevant (which I presume since it's about X11 and this is an audio block). It's probably alarming for users trying to root cause "no audio" issues.

tmigone commented 2 years ago

https://github.com/balenablocks/audio/pull/88 disables unused dbus modules, this trims down the logging a bit however there is no way to completely remove the warnings. We could grep them out but I'm not sure it's necessary since they are warnings.