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(a)chriscaudle.org> wrote:
On Mon, December 10, 2018 3:53 pm, jack(a)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(a)lists.jackaudio.org
http://lists.jackaudio.org/listinfo.cgi/jack-devel-jackaudio.org