Posts: 1
Joined: Tue Oct 01, 2013 5:22 am

cannot start jackd without X11

Tue Oct 01, 2013 6:14 am

I'm running archarm and have jack2 installed. I'm able to start jack using the built in audio hardware, but when I try to start jack with USB audio device (NI Komplete Audio 6), I get this error:

Code: Select all

Failed to acquire device name : Audio1 error : Connection ":1.25" is not allowed to own the service "org.freedesktop.ReserveDevice1.Audio1" due to security policies in the configuration file
Audio device hw:1 cannot be acquired...
Well I needed a dbus security policy! I'd already done this for the built in audio (org.freedesktop.ReserveDevice1.Audio0), but forgot about this step when I tried to use my USB audio interface.

Code: Select all

$ nano /etc/dbus-1/system.conf
I added the following:

Code: Select all

<policy user="micah">
     <allow own="org.freedesktop.ReserveDevice1.Audio0"/>
     <allow own="org.freedesktop.ReserveDevice1.Audio1"/>
That part about "ReserveDevice1.Audio1" refers to my USB interface, while the one with "Audio0" has to do with the built in audio.

P.S. In order to get jack working in the first place (without an X11 session) I had to put the following in my ~/.bash_profile:

Code: Select all

export DBUS_SESSION_BUS_ADDRESS=unix:path=/run/dbus/system_bus_socket 

Return to “General discussion”