[Jack-Devel] Jack_Capture not starting anymore after having Jackd running as systemd service

jack at microfx.de jack at microfx.de
Mon Dec 10 23:18:28 CET 2018


Ah, that seems to be the problem! Thanks for the quick reply! 

My initial idea was to add this as well as a service but jack_capture needs user input - is this possible with a service? Like an additional script that triggers the recording? 


> On 10. Dec 2018, at 23:11, Chris Caudle <chris at chriscaudle.org> wrote:
> 
> On Mon, December 10, 2018 3:53 pm, jack at microfx.de wrote:
>> Now for convenience I added jackd and jack_connect (to route input to
>> output) as a service inside systemd - which works as expected. Before I
>> could easily start jack_capture to record the input. But now it’s not
>> starting anymore unfortunately. I get this error:
>> 
>> jack_capture -c 5 -mb -tm -f flac
>> Cannot connect to server socket err = No such file or directory
>> Cannot connect to server request channel
>> jack server is not running or cannot be started
> 
> Probably as Kjetil wrote the user accounts are not the same.
> In the [Service] section of the systemd file you can have User= and Group=
> lines to set the user and group which the service should be run. Perhaps
> if you make a user account and add that account in the systemd service
> file and also log in as that user when you want to use jack_capture it
> will still work as you would like.
> 
> -- 
> Chris Caudle
> 
> 
> _______________________________________________
> Jack-Devel mailing list
> Jack-Devel at lists.jackaudio.org
> http://lists.jackaudio.org/listinfo.cgi/jack-devel-jackaudio.org




More information about the Jackaudio mailing list