Re: [Jack-Devel] [LAU] running jackd from rc.local

PrevNext  Index
DateSat, 18 Apr 2015 06:47:31 -0500
From David Nielson <[hidden] at naptastic dot com>
To[hidden] at lists dot jackaudio dot org
In-Reply-ToAthanasios Silis Re: [Jack-Devel] [LAU] running jackd from rc.local
Look. You're trying to have JACK be available and waiting for you before
you log in. That's just not what JACK was designed for.

Starting it through rc.local won't work, because the sound card isn't
available yet. That leaves two options: auto-login, and a system service
/ init script. A different way of starting something before login will
not pop into existence because you want it. You must use what is available.

If I needed this, I would write an init script. Even though it's not how
JACK was meant to be run, it's possible, and it's not a dirty hack like
adding something to rc.local. It will never be portable, though, and it
will never handle changes in hardware or configuration gracefully. I
don't need this, because I use JACK the way it was designed: I log in,
start qjackctl, start JACK, then start my applications.

David

On 04/18/2015 06:14 AM, Athanasios Silis wrote:
> I don't want to start it as a system service,
> I don't even run it automatically through dbus.
> 
> I am using a repackaged, more recent version than the one found in the
> ubuntu repository in order to have same versions between windows and
> linux jackd2 versions.
> 
> On Sat, Apr 18, 2015 at 2:09 PM, Jeremy Jongepier <[hidden]
> <mailto:[hidden]>> wrote:
> 
>     On 04/18/2015 12:58 PM, David Nielson wrote:
>     > Really, the right thing to do here is to set JACK up as a system
>     > service, with an init script, or whatever the systemd equivalent is, if
>     > you're running systemd.
> 
>     JACK isn't designed to run as a system service. In the old days the JACK
>     Debian package did come with an init script but that was removed because
>     it simply didn't work. The best way is to start JACK once you're
>     logged in.
> 
>     Jeremy
> 
> 
>     
>     Jack-Devel mailing list
>     [hidden] <mailto:[hidden]>
>     http://lists.jackaudio.org/listinfo.cgi/jack-devel-jackaudio.org
> 
> 
> 
> 
> 
> Jack-Devel mailing list
> [hidden]
> http://lists.jackaudio.org/listinfo.cgi/jack-devel-jackaudio.org
> 
PrevNext  Index

1429357657.13688_0.ltw:2, <55324453.6060307 at naptastic dot com>