morrolinux / mpradio

Morrolinux's Pirate radio (PiFmRDS / PiFmAdv implementation with Bluetooth and mp3 support) - Stream music to your car's FM radio or use it as a Bluetooth speaker via headphone jack
GNU General Public License v3.0
107 stars 17 forks source link

Unable to autolaunch a dbus-daemon without a $DISPLAY for X11 #17

Closed agustinsabas closed 6 years ago

agustinsabas commented 6 years ago

Hi Morrolinux! I'm very interesting in your project! but i have this out: (i tried without graphic entorn and its the same)

sudo systemctl status mpradio ● mpradio.service - Morrolinux Pirate Radio Loaded: loaded (/etc/systemd/system/mpradio.service; enabled; vendor preset: enabled) Active: inactive (dead) since Tue 2018-01-02 14:02:16 UTC; 3min 21s ago Process: 1249 ExecStart=/bin/bash -l -c /home/pi/mpradio (code=exited, status=0/SUCCESS) Main PID: 1249 (code=exited, status=0/SUCCESS)

Jan 02 14:02:15 raspberrypi bash[1249]: /etc/profile: line 4: id: command not found Jan 02 14:02:15 raspberrypi bash[1249]: /etc/profile: line 4: [: : integer expression expected Jan 02 14:02:16 raspberrypi bash[1249]: 88.5 Jan 02 14:02:16 raspberrypi bash[1249]: /pirateradio Jan 02 14:02:16 raspberrypi bash[1249]: no bluetooth device provided, playing mp3s... Jan 02 14:02:16 raspberrypi sudo[1275]: root : TTY=unknown ; PWD=/ ; USER=pi ; COMMAND=/bin/bash -c pulseaudio -D Jan 02 14:02:16 raspberrypi sudo[1275]: pam_unix(sudo:session): session opened for user pi by (uid=0) Jan 02 14:02:16 raspberrypi pulseaudio[1281]: Unable to contact D-Bus: org.freedesktop.DBus.Error.NotSupported: Unable to autolaunch a dbus-daemon without a $DISPLAY for X11 Jan 02 14:02:16 raspberrypi pulseaudio[1281]: Unable to contact D-Bus: org.freedesktop.DBus.Error.NotSupported: Unable to autolaunch a dbus-daemon without a $DISPLAY for X11 Jan 02 14:02:16 raspberrypi sudo[1275]: pam_unix(sudo:session): session closed for user pi

morrolinux commented 6 years ago

Please try with the latest pull, a lot of thing have changed since your trial :)

agustinsabas commented 6 years ago

Ahora funciona perfectamente!

morrolinux commented 6 years ago

great!