Re: [LAU] Raspberry: problems with shell script launcher when booting

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Jeremy Jongepier <jeremy@...>
Cc: <linux-audio-user@...>
Date: Monday, July 15, 2013 - 12:23 pm

Hi Jeremy,

2013/7/13 Jeremy Jongepier :

It seems it did my trick as well, great!
For the moment sound seems to be as clean as it can until the moment I
debug other inner noises (it sounds like that of physical hard drives
turning, but there's none in RPi (?)) when nothing is plugged in the
audio interface.

>

I implemented just the first part that solution: uncomment the line
"session required pam_limits.so"
in "/etc/pam.d/su".

Now my script and applicacionts run with "pi" user. Great again, Jeremy!

>

Now, there's just a minimum issue, but I can live with it. Rackarrack
runs now as "pi" user and it should take its configuration from user's
$HOME, that is what it should be "/home/pi", but it seems that it
doesn't.
The difference between running the launcher script when logged in as
pi is that it takes the MIDI mapping configured in preferences, but
when launched automatically on init phase it takes the default MIDI
mapping.

I run the launcher script from the service script with:
su -l -c $STARTPATH/launcherscript.sh pi

...and "-l" should load the pi environment (I checked it when
debugging). Maybe is something specific with Rakarrack.

Thanks so much, Jeremy.

--
Carlos sanchiavedraz
* Musix GNU+Linux
http://www.musix.es
_______________________________________________
Linux-audio-user mailing list
Linux-audio-user@lists.linuxaudio.org
http://lists.linuxaudio.org/listinfo/linux-audio-user

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[LAU] Raspberry: problems with shell script launcher when bo..., Carlos sanchiavedraz, (Sat Jul 13, 7:51 pm)
Re: [LAU] Raspberry: problems with shell script launcher whe..., Carlos sanchiavedraz, (Tue Jul 16, 1:37 pm)
Re: [LAU] Raspberry: problems with shell script launcher whe..., Carlos sanchiavedraz, (Tue Jul 16, 1:50 pm)
Re: [LAU] Raspberry: problems with shell script launcher whe..., Carlos sanchiavedraz, (Mon Jul 15, 12:23 pm)
Re: [LAU] Raspberry: problems with shell script launcher whe..., Carlos sanchiavedraz, (Tue Jul 16, 1:47 pm)