[LAU] systemd woes with jackd and its permissions (raspbian)

David Runge dave at sleepmap.de
Mon Jan 28 12:26:54 CET 2019

On 2019-01-28 01:12:52 (+0100), Peter P. wrote:
> Now this took me four hours so far without success and I wonder what
> is a functional way to use jackd via systemd on a headless computer in
> 2019. All comments are very welcome!
I recommend going the systemd user service way. I have a templated
unit [1], that I use with specific preset device configurations [2].
If this should start automatically on boot, you need to enable linger
for your user (using loginctl)!

Note, when starting in a systemd user unit, the process is started
outside of your user's session .scope, but below your user's
@user.service (see loginctl user-status <your-user-name> for reference).
That's why the PAM related limits.conf won't apply.


[1] https://git.sleepmap.de/config/dotfiles.git/tree/.config/systemd/user/jack@.service
[2] https://git.sleepmap.de/config/dotfiles.git/tree/.config/jack

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <https://lists.linuxaudio.org/archives/linux-audio-user/attachments/20190128/1d847bb0/attachment.sig>

More information about the Linux-audio-user mailing list