Re: [Jack-Devel] Jack won't start on boot

PrevNext  Index
DateThu, 20 Jul 2017 00:14:00 +0300
From alex <[hidden] at gmail dot com>
ToJACK <[hidden] at lists dot jackaudio dot org>
In-Reply-Tosqweek Re: [Jack-Devel] Jack won't start on boot
Follow-UpYuri Re: [Jack-Devel] Jack won't start on boot
On 07/09/2017 05:34 PM, sqweek wrote:
> On 9 July 2017 at 22:21, alex <[hidden] 
> <mailto:[hidden]>> wrote:
>
>     Indeed that seems like a reason. I'm SSHing into to Odroid with -X
>     so I can launch Pd with its GUI, so I tried to SSH without -X and
>     jack wouldn't start, but then SSHing back with -X made jack start.
>
>     Can you post an example of how I should start jack with a startup
>     mechanism that's run by my graphical environment? I'm not really
>     following there...
>
>
> Having the graphical environment start jackd assumes that there is a 
> graphical environment running on the Odroid, which I don't believe is 
> the case here? Using -X with ssh forwards X11 connection attempts on 
> the Odroid to the X server on your local machine, but since dbus afaik 
> isn't network transparent[1] the DISPLAY you end up with via ssh -X 
> will I think not be useful for the dbus side of jack. So you can 
> probably get away with setting DISPLAY to something arbitrary in your 
> init script, like:
>
> DISPLAY=:0 jackd -dalsa ...
Eventually that did it! At first I replied to this email saying that it 
partially worked since jack was starting but no sound was coming out. 
Eventually the latter happened due to some (probably) bug in Pd which I 
"solved" with a work around.
So now I can safely say that adding "DISPLAY=:0 before calling jackd did 
the trick and now I do get sound on boot.

Thanks everyone for your suggestions!
PrevNext  Index

1500498856.15282_0.ltw:2,a <bf1fbb3b-4a8f-2171-ea00-9afe07992fd0 at gmail dot com>