Apologies for not appending this to the original thread correctly - I
just joined the list.This is in reference to this thread about jackd2 and X11/dbus:
http://linuxaudio.org/mailarchive/lau/2012/9/16/192998I had essentially the the same problem as Len when I tried to run jackd:
Failed to connect to session bus for device reservation Unable to
autolaunch a dbus-daemon without a $DISPLAY for X11This was in Archlinux on a Raspberry Pi, but I had identical problems
under Debian Wheezy on the Raspberry Pi and a "normal" piece of
hardware. I tried setting DISPLAY=:0 but it still didn't solve it.
Incredibly frustrating.I finally read the man page for dbus-launch and noted that apps which
it started expected to have DBUS_SESSION_BUS_ADDRESS set correctly in
their session, which it happily provided for them. I also noticed I
already had a dbus-daemon running in the base distro.The solution was to set the session bus address variable to the path
to that dbus-daemon's socket, like so:
export DBUS_SESSION_BUS_ADDRESS=unix:path=/run/dbus/system_bus_socketWhen I did that and tried running jackd again, I got a very specific
permission error that I was able to resolve by granting my user access
to the audio hardware. I added these lines to the other policy
settings in /etc/dbus-1/system.conf :I restarted my system-level dbus-daemon, and jackd started right up.
It shouldn't be too tough now to script that so it's always running
when the device starts.I have no idea if that will work for you but perhaps it will put you
on the right path.--Mark
_______________________________________________
Linux-audio-user mailing list
Linux-audio-user@lists.linuxaudio.org
http://lists.linuxaudio.org/listinfo/linux-audio-user
LINUX® is a registered trademark of Linus Torvalds in the USA and other countries.
Linuxaudio.org logo copyright Thorsten Wilms © 2006.
Hosting provided by the Virginia Tech Department of Music and DISIS.