Re: [Jack-Devel] running jackd from rc.local

PrevNext  Index
DateFri, 17 Apr 2015 13:00:47 +0300
From Athanasios Silis <[hidden] at gmail dot com>
ToJeremy Jongepier <[hidden] at autostatic dot com>
CcDevelopers JACK <[hidden] at lists dot jackaudio dot org>
In-Reply-ToJeremy Jongepier Re: [Jack-Devel] running jackd from rc.local
Follow-UpAdrian Knoth Re: [Jack-Devel] running jackd from rc.local
thank you Jeremy,
that did it.
I know little about pam.d because I mostly use slackware. so may I ask:

if this code snippet was commented out up until now, who/what givew me
elevated permissions when I log into my ubuntu session?

On Fri, Apr 17, 2015 at 12:44 PM, Jeremy Jongepier <[hidden]>
wrote:

> 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@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
>
> Jeremy
>
>
> 
> Jack-Devel mailing list
> [hidden]
> http://lists.jackaudio.org/listinfo.cgi/jack-devel-jackaudio.org
>
>
PrevNext  Index

1429264856.13673_0.ltw:2, <CADgchntFtkP5X8R1SmSwF834RwFvcSv3oVfi89c9s56mXeW0Vw at mail dot gmail dot com>