<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<p><br>
</p>
<br>
<div class="moz-cite-prefix">On 07/09/2017 05:34 PM, sqweek wrote:<br>
</div>
<blockquote type="cite"
cite="mid:CAM104AWemwg6hg9_C0wx9OcigtkNHAnePmsFBFHELkfZvFhy4w@mail.gmail.com">
<div dir="ltr">
<div class="gmail_extra">
<div class="gmail_quote">On 9 July 2017 at 22:21, alex <span
dir="ltr"><<a href="mailto:adrcki@gmail.com"
target="_blank" moz-do-not-send="true">adrcki@gmail.com</a>></span>
wrote:
<blockquote class="gmail_quote" style="margin:0px 0px 0px
0.8ex;border-left:1px solid
rgb(204,204,204);padding-left:1ex">
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.<br>
<br>
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...</blockquote>
<div><br>
</div>
<div>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:</div>
<div><br>
</div>
<div>DISPLAY=:0 jackd -dalsa ...</div>
</div>
</div>
</div>
</blockquote>
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.<br>
So now I can safely say that adding "DISPLAY=:0 before calling jackd
did the trick and now I do get sound on boot.<br>
<br>
Thanks everyone for your suggestions!<br>
</body>
</html>