<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
--></style>
</head>
<body class='hmmessage'>
Out of interest, what do you get if you log in as yourself and run the command 'id'?<br><br>[nicky@fidelispc] ~ [1] id<br>uid=1000(nicky) gid=1000(nicky) groups=4(adm),20(dialout),24(cdrom),29(audio),46(plugdev),108(lpadmin),123(admin),124(sambashare),1000(nicky)<br><br>As you can see, my user id is member of group 'audio'. If you are not in the group that you configure to have rtlimits capabilities then you will natural not get those permissions. Root will still have them. It was just a thought, you report that root works, you don't. If you want to be in the audio group then either edit /etc/group or use whatever klunky system tool that does it for you.<br><br>Kind regards, nick,.<br><br>"we have to make sure the old choice [Windows] doesn't disappear”.<br>Jim Wong, president of IT products, Acer<br><br><br><br><br>&gt; Date: Sat, 21 Nov 2009 19:25:22 +1100<br>&gt; From: cal@graggrag.com<br>&gt; To: linux-audio-user@lists.linuxaudio.org<br>&gt; Subject: Re: [LAU] jackd in realtime as user: a no-go in spite of modifying limits.conf<br>&gt; <br>&gt; Der Mickster wrote:<br>&gt; &gt; Hey,<br>&gt; &gt; <br>&gt; &gt; Can't seem to start jackd in realtime as user on ubuntu studio. It<br>&gt; &gt; does start as root, but that's hardly a consolation (unless I run all<br>&gt; &gt; audio software as root, which would be kinda daft IMO)<br>&gt; &gt; <br>&gt; &gt; @audio - rtprio 99<br>&gt; &gt; @audio - nice -10<br>&gt; &gt; @audio - memlock unlimited<br>&gt; &gt; <br>&gt; &gt; have been added to /etc/security/limits.conf<br>&gt; &gt; <br>&gt; &gt; Nevertheless, starting it as user just doesn't seem to work, and I<br>&gt; &gt; just can't figure out why. I've googled the issue, and everybody seems<br>&gt; &gt; to agree that modifying limits.conf in the above manner should solve<br>&gt; &gt; the problem - yet this is what I get:<br>&gt; &gt; <br>&gt; &gt; <br>&gt; &gt; mick@kaizoku:~$ jackd -R -P89 -dalsa -dhw:0 -r48000 -p256 -n3 -S &amp;<br>&gt; &gt; [1] 3092<br>&gt; &gt; mick@kaizoku:~$ no message buffer overruns<br>&gt; &gt; jackd 0.116.1<br>&gt; &gt; Copyright 2001-2005 Paul Davis and others.<br>&gt; &gt; jackd comes with ABSOLUTELY NO WARRANTY<br>&gt; &gt; This is free software, and you are welcome to redistribute it<br>&gt; &gt; under certain conditions; see the file COPYING for details<br>&gt; &gt; <br>&gt; &gt; JACK compiled with System V SHM support.<br>&gt; &gt; cannot use real-time scheduling (FIFO at priority 10) [for thread<br>&gt; &gt; -1217255744, from thread -1217255744] (1: Operation not permitted)<br>&gt; &gt; cannot create engine<br>&gt; &gt; <br>&gt; &gt; Any ideas?<br>&gt; <br>&gt; Not sure if this is a possible answer to the question, or perhaps another<br>&gt; question altogether, but ... I've struggled with the same issue on a debian<br>&gt; system for some time, then discovered this in /etc/pam.d/su -<br>&gt; <br>&gt; # Sets up user limits, please uncomment and read /etc/security/limits.conf<br>&gt; # to enable this functionality.<br>&gt; # (Replaces the use of /etc/limits in old login)<br>&gt; # session    required   pam_limits.so<br>&gt; <br>&gt; So far, I'm still not sure if uncommenting the 'session required pam_limits.so'<br>&gt; line actually solves the problem, but I am curious.<br>&gt; <br>&gt; cheers.<br>&gt; <br>&gt; (I dumbly sent this to just the op instead of 'reply all', so fwiw I'm repeating<br>&gt; it to the list)<br>&gt; _______________________________________________<br>&gt; Linux-audio-user mailing list<br>&gt; Linux-audio-user@lists.linuxaudio.org<br>&gt; http://lists.linuxaudio.org/mailman/listinfo/linux-audio-user<br>                                               <br /><hr />Windows Live:  <a href='http://www.microsoft.com/middleeast/windows/windowslive/see-it-in-action/social-network-basics.aspx?ocid=PID23461::T:WLMTAGL:ON:WL:en-xm:SI_SB_3:092010' target='_new'>Friends get your Flickr, Yelp, and Digg updates when they e-mail you.</a></body>
</html>