<div dir="ltr">Did you try a script without being root ?</div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature"><div><br>Antoine THOMAS</div><div>Tél: 0663137906</div></div></div>
<br><div class="gmail_quote">2015-04-17 11:43 GMT+02:00 Thanassis Silis <span dir="ltr"><<a href="mailto:djnass_18@hotmail.com" target="_blank">djnass_18@hotmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div><div dir="ltr"><div><div><div><div><div><div>Hi all,<br></div>I am trying to run jackd instance from /etc/rc.local (along with a few other applications) from a custom made init script. <br><br>The
system is ubuntustudio and I have setup everything to have elevated
permissions when executing applications from the @audio group.<br><br></div>so when I am logged on, I see this:<span style="font-family:monospace,monospace"><br></span><div style="margin-left:40px"><span style="font-family:monospace,monospace">nass@starkill:~$ ulimit -r -l</span><br><span style="font-family:monospace,monospace">real-time priority (-r) 95</span><br><span style="font-family:monospace,monospace">max locked memory (kbytes, -l) unlimited</span><br></div><br></div>which is expected and I can execute the script I wrote.<br></div><div><br></div>but, when I execute my script from /etc/rc.local as <br><div style="margin-left:40px"><span style="font-family:monospace,monospace">su - nass -c "ulimits -r -l cd audio_setup/scripts ; bash ./start_audio" <br></span></div></div>then my user does not (yet?) have elevated permissions.<br></div><div><br><div style="margin-left:40px"><span style="font-family:monospace,monospace">real-time priority (-r) 0<br>max locked memory (kbytes, -l) 64<br></span></div><br></div><div>is there a script I can run before my start_audio script to elevate my permissions?<br><br></div>thank you </div></div>
<br>--<br>
ubuntu-studio-devel mailing list<br>
<a href="mailto:ubuntu-studio-devel@lists.ubuntu.com">ubuntu-studio-devel@lists.ubuntu.com</a><br>
Modify settings or unsubscribe at: <a href="https://lists.ubuntu.com/mailman/listinfo/ubuntu-studio-devel" target="_blank">https://lists.ubuntu.com/mailman/listinfo/ubuntu-studio-devel</a><br>
<br></blockquote></div><br></div>