lukasjapan / bt-speaker

A simple Bluetooth Speaker Daemon for the Raspberry Pi 3
GNU General Public License v3.0
495 stars 95 forks source link

Dbus connection error #61

Open v-ko opened 5 years ago

v-ko commented 5 years ago

OS: Raspbian 9.8, kernel 4.9.35 When I check the status of the service I get the following error. Any help would be appreciated. Do tell if any other info would be useful.

Mar 15 22:43:19 raspberrypi pulseaudio[1647]: [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 Mar 15 22:43:19 raspberrypi pulseaudio[1647]: [pulseaudio] main.c: Unable to contact D-Bus: org.c: Unable to contact D-Bus: org.freedesktop.DBus.Error.NotSupported: Unable to autolaunch a dbus-daemon without a $DISPLAY for X11 Mar 15 22:43:19 raspberrypi pulseaudio[1651]: [pulseaudio] pid.c: Daemon already running.

djh816 commented 5 years ago

Looks like its failing as it doesn't detect X11 window manager running (or can't find it, this is normally in the $DISPLAY variable). Not sure on manjaro but works great on raspian.

v-ko commented 5 years ago

Ah, it was late and I messed up - it's not Manjaro (that's my desktop) bt-speaker is on a Pi with Raspbian. Ok, so I guess it's something specific about my configuration.

djh816 commented 5 years ago

hm in that case you could try checking that your run level gets to graphical (5) and that you have x11 installed. looks like it hooks in to something in x11 displlay for pulseaudio? at the same time it looks like it has the daemon running in the background for pulse so id think it could continue on. i assume you get no audio output or cant pair?

dmckminard commented 5 years ago

I'm having the same issue, but I can pair and have sound. But I want to pipe sink with pulseuaudio, so I can't... Does anybody got a solution ?