Yocto+Pulseaudio:Unable to contact D-Bus....Connection refused

69 Views Asked by At

I used Yocto to add pulseaudio-server to the image, but when running pulseaudio, I got this two errors: error message

When running for the first time, the error that pulseaudio does not specify dbus appears, and the above problem occurs after adding DUBS_SESSION_BUS_ADDRESS to the environment variable DUBS_SESSION_BUS_ADDRESS obtained by the command

dbus-daemon --session --print-address
0

There are 0 best solutions below