[Jack-Devel] running jackd from rc.local

Jeremy Jongepier jeremy at autostatic.com
Fri Apr 17 11:44:40 CEST 2015

On 04/17/2015 11:40 AM, Athanasios Silis wrote:
> Hi all,
> I am trying to run jackd instance from /etc/rc.local (along with a few
> other applications) from a custom made init script.
> The system is ubuntustudio and I have setup everything to have elevated
> permissions when executing applications from the @audio group.
> so when I am logged on, I see this:
> nass at starkill:~$ ulimit -r -l
> real-time priority              (-r) 95
> max locked memory       (kbytes, -l) unlimited
> which is expected and I can execute the script I wrote.
> but, when I execute my script from /etc/rc.local as
> su - nass -c "ulimits -r -l cd audio_setup/scripts ; bash ./start_audio"
> then my user does not (yet?) have elevated permissions.
> real-time priority              (-r) 0
> max locked memory       (kbytes, -l) 64
> is there a script I can run before my start_audio script to elevate my
> permissions?
> thank you

Hello Athanasios,

You probably need to uncomment the following line in /etc/pam.d/su:
session    required   pam_limits.so


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: OpenPGP digital signature
URL: <https://lists.linuxaudio.org/archives/jackaudio/attachments/20150417/843992ab/attachment.sig>

More information about the Jackaudio mailing list