Re: [LAU] JACK_NO_AUDIO_RESERVATION

From: Christopher Arndt <chris@email-addr-hidden>
Date: Sun Aug 26 2018 - 21:22:38 EEST

Am 26.08.18 um 16:35 schrieb Minie:
> Failed to connect to session bus for device reservation: Unable to
> autolaunch a dbus-daemon without a $DISPLAY for X11.
> To bypass device reservation via session bus, set
> JACK_NO_AUDIO_RESERVATION=1 prior to starting jackd.

This (setting JACK_NO_AUDIO_RESERVATION=1 in the environment) doesn't
work for me either, but I use the follwoing in a script to start jack
with no X session:

DBUS_SESSION="$HOME/.dbus-session"

# Add a fake X session
if test -z "$DBUS_SESSION_BUS_ADDRESS" ; then
    echo "export DISPLAY=:0" > "$DBUS_SESSION"
    dbus-launch >> "$DBUS_SESSION"
    echo "export DBUS_SESSION_BUS_ADDRESS" >> "$DBUS_SESSION"
    echo "export DBUS_SESSION_BUS_PID" >> "$DBUS_SESSION"
fi

source "$DBUS_SESSION"
exec jackd -dalsa ...
_______________________________________________
Linux-audio-user mailing list
Linux-audio-user@lists.linuxaudio.org
https://lists.linuxaudio.org/listinfo/linux-audio-user
Received on Mon Aug 27 00:15:01 2018

This archive was generated by hypermail 2.1.8 : Mon Aug 27 2018 - 00:15:01 EEST