<div dir="ltr"><div><div><div>Hi Len,<br></div>unfortunately the .desktop file is not good for me.<br></div>it is only run after I have logged in, whereas I want my script to be started as me, but before I log in.<br></div><div>Is there a way to achieve that, without resorting to autologin ?<br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Apr 17, 2015 at 4:10 PM, Len Ovens <span dir="ltr"><<a href="mailto:len@ovenwerks.net" target="_blank">len@ovenwerks.net</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On Fri, 17 Apr 2015, Athanasios Silis wrote:<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi all,<br>
I am trying to run jackd instance from /etc/rc.local (along with a few other<br>
applications) from a custom made init script.<br>
<br>
The system is ubuntustudio and I have setup everything to have elevated<br>
permissions when executing applications from the @audio group.<br>
</blockquote>
<br></span>
Are you really wanting to run audio while you are logged out? It would be much easier to add a desktop file to ~/.config/autostart/ Like jackstart.desktop with something like:<br>
<br>
[Desktop Entry]<br>
Encoding=UTF-8<br>
Version=0.9.4<br>
Type=Application<br>
Name=AutoJack<br>
Comment=Jackdbus starter<br>
Exec=jack_control start<br>
StartupNotify=false<br>
Terminal=false<br>
Hidden=false<br>
<br>
<br>
Change the Exec to point to a script if you want to add config options, or use jackd instead of jack_control if you don't care about PA-jack bridging.<br>
<br>
This will have jack runnning from login.<br>
<br>
If you want to headless operation then have rc.local do it as the user that will run this stuff.<br>
<br>
--<br>
Len Ovens<br>
<a href="http://www.ovenwerks.net" target="_blank">www.ovenwerks.net</a><br>
<br>
</blockquote></div><br></div>