[Jack-Devel] How to use jackd as a 'system-wide' server?

Christophe Lohr christophe.lohr at cegetel.net
Fri May 11 22:46:44 CEST 2018


Le 11/05/2018 à 22:02, Ruslan N. Marchenko a écrit :
> pre-start script
> if [ ! -f /run/dbus/.env ]; then
>   eval `dbus-launch --auto-syntax`
>   echo "export DBUS_SESSION_BUS_PID=$DBUS_SESSION_BUS_PID" >
> /run/dbus/.env
>   echo "export DBUS_SESSION_BUS_ADDRESS=$DBUS_SESSION_BUS_ADDRESS" >>
> /run/dbus/.env
>   chmod 600 /run/dbus/.env
> fi
> end script
../..
> The key point back then was /run/dbus/.env - that one allowed me to
> join same DBus session where JackDBus was spawned.
>
> Then each application which was going to use Jack should be started
> with .env file loaded populating the environment variables.

Thankyou for the trick!

Best regards
Christophe




More information about the Jackaudio mailing list