[ubuntu-studio-devel] running jackd from rc.local

ttoine ttoine at ttoine.net
Fri Apr 17 11:10:14 UTC 2015


Did you try a script without being root ?


Antoine THOMAS
Tél: 0663137906

2015-04-17 11:43 GMT+02:00 Thanassis Silis <djnass_18 at hotmail.com>:

> 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
>
> --
> ubuntu-studio-devel mailing list
> ubuntu-studio-devel at lists.ubuntu.com
> Modify settings or unsubscribe at:
> https://lists.ubuntu.com/mailman/listinfo/ubuntu-studio-devel
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-studio-devel/attachments/20150417/d9c41bdb/attachment.html>


More information about the ubuntu-studio-devel mailing list