Re: JACK_NO_AUDIO_RESERVATION

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxxxxxxxx
https://lists.linuxaudio.org/listinfo/linux-audio-user




[Index of Archives]     [Linux Sound]     [ALSA Users]     [Pulse Audio]     [ALSA Devel]     [Sox Users]     [Linux Media]     [Kernel]     [Photo Sharing]     [Gimp]     [Yosemite News]     [Linux Media]

  Powered by Linux