<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Ricardo Lameiro wrote:
<blockquote
 cite="mid:92ab5fa20911041819n18a53947q53015f2fa1974609@mail.gmail.com"
 type="cite">So, you need to have rt rights. Follow the info in this
webpage<br>
  <a moz-do-not-send="true"
 href="https://help.ubuntu.com/community/UbuntuStudioPreparation">https://help.ubuntu.com/community/UbuntuStudioPreparation</a><br>
  <br>
You will need to add your use to an audio group and give to that group
RT privileges.<br>
  <br>
  <div class="gmail_quote">2009/11/5 Tommy Hjalmarsson <span dir="ltr">&lt;<a
 moz-do-not-send="true" href="mailto:tommy.h@bredband.net">tommy.h@bredband.net</a>&gt;</span><br>
  <blockquote class="gmail_quote"
 style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
    <div bgcolor="#ffffff" text="#000000">
    <div>
    <div class="h5">Eric Hedekar wrote:
    <blockquote type="cite">
      <div class="gmail_quote">On Wed, Nov 4, 2009 at 4:20 PM, Tommy
Hjalmarsson <span dir="ltr">&lt;<a moz-do-not-send="true"
 href="mailto:tommy.h@bredband.net" target="_blank">tommy.h@bredband.net</a>&gt;</span>
wrote:<br>
      <blockquote class="gmail_quote"
 style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">I
have installed UbSt 9,10 64 bit. And I can start Jack and Ardour if I<br>
have the starter for them on my desktop and write gksudo (and I don't<br>
need to write my root password, thats strange) in preferences/commando.<br>
The shorter version, Jack work when I'm are "root", and it is honky<br>
dory, it's working anyway.<br>
        <br>
But...................<br>
        <br>
I can't however not connect as a "client" to the Jack server with Jack<br>
as "user", only as "root". The error message points on that Jack can't<br>
connect as a client. And this last line (not in red color):<br>
/(&lt;unknown&gt;:13353): Gtk-WARNING **: Theme directory
scalable/animations<br>
of theme Ny_hjalle has no size field/<br>
        <br>
        <br>
hjalle=me/user. I don't get the error message as root, *and I dont know<br>
if it is a big error*. If I somehow have made a strange user<br>
"Ny_hjalle" &nbsp;for the sound server, in what config file can i find it?<br>
(I cant find Ny_hjalle in my user settings)<br>
        <br>
        <br>
Must I make a Jack user group with "user rights " or....what?<br>
        <br>
9,10 sounds better than 9.04 however on my laptop.....but only as root:)<br>
        <br>
/Tommy Hjalmarsson<br>
        <font color="#888888"><br>
        </font></blockquote>
      <div><font color="#888888"><br>
Tommy, it's not the last error message that should be looked at, but
rather the first error message. &nbsp;If you can't determine which error
message is first, copy and paste the entire output of the messages
windown on an attempted jack start (not using root). &nbsp;If it's a huge
output (may be if you have verbose messages turned on) you may want to
paste it in a pastebin like <a moz-do-not-send="true"
 href="http://pastebin.ubuntu.com" target="_blank">http://pastebin.ubuntu.com</a>
then
post the link here.<br>
      <br>
-Eric</font></div>
      </div>
    </blockquote>
    </div>
    </div>
Ok here is the text:<i><br>
    </i>
    <p style="margin: 0px; text-indent: 0px;"><small><i><span
 style="color: rgb(153, 153, 153);">02:23:24.598 Patchbay deactivated.</span></i></small></p>
    <p style="margin: 0px; text-indent: 0px;"><small><i><span
 style="color: rgb(153, 153, 153);">02:23:24.598 Statistics reset.</span></i></small></p>
    <p style="margin: 0px; text-indent: 0px;"><small><i><span
 style="color: rgb(102, 204, 153);">02:23:24.624 ALSA connection graph
change.</span></i></small></p>
    <p style="margin: 0px; text-indent: 0px;"><small><i><span
 style="color: rgb(204, 204, 153);">02:23:24.819 ALSA connection change.</span></i></small></p>
    <p style="margin: 0px; text-indent: 0px;"><small><i><span
 style="color: rgb(153, 153, 153);">02:23:32.753 Startup script...</span></i></small></p>
    <p style="margin: 0px; text-indent: 0px;"><small><i><span
 style="color: rgb(153, 0, 153);">02:23:32.755 artsshell -q terminate</span></i></small></p>
    <p style="margin: 0px; text-indent: 0px;"><small><i>sh: artsshell:
not
found</i></small></p>
    <p style="margin: 0px; text-indent: 0px;"><small><i><span
 style="color: rgb(153, 153, 153);">02:23:33.159 Startup script
terminated with exit status=32512.</span></i></small></p>
    <p style="margin: 0px; text-indent: 0px;"><small><i><span
 style="color: rgb(153, 153, 153);">02:23:33.160 JACK is starting...</span></i></small></p>
    <p style="margin: 0px; text-indent: 0px;"><small><i><span
 style="color: rgb(153, 0, 153);">02:23:33.161 /usr/bin/jackd -R -dalsa
-dhw:0 -r44100 -p1024 -n3</span></i></small></p>
    <p style="margin: 0px; text-indent: 0px;"><small><i>no message
buffer
overruns</i></small></p>
    <p style="margin: 0px; text-indent: 0px;"><small><i>jackd 0.116.1</i></small></p>
    <p style="margin: 0px; text-indent: 0px;"><small><i>Copyright
2001-2005
Paul Davis and others.</i></small></p>
    <p style="margin: 0px; text-indent: 0px;"><small><i>jackd comes
with
ABSOLUTELY NO WARRANTY</i></small></p>
    <p style="margin: 0px; text-indent: 0px;"><small><i>This is free
software, and you are welcome to redistribute it</i></small></p>
    <p style="margin: 0px; text-indent: 0px;"><small><i>under certain
conditions; see the file COPYING for details</i></small></p>
    <p style="margin: 0px; text-indent: 0px;"><small><i>JACK compiled
with
System V SHM support.</i></small></p>
    <p style="margin: 0px; text-indent: 0px;"><small><i>cannot use
real-time scheduling (FIFO at priority 10) [for thread -647842064, from
thread -647842064] (1: Operation not permitted)</i></small></p>
    <p style="margin: 0px; text-indent: 0px;"><small><i>cannot create
engine</i></small></p>
    <p style="margin: 0px; text-indent: 0px;"><small><i><span
 style="color: rgb(153, 153, 153);">02:23:33.184 JACK was started with
PID=15696.</span></i></small></p>
    <p style="margin: 0px; text-indent: 0px;"><small><i><span
 style="color: rgb(153, 153, 153);">02:23:33.188 JACK was stopped
successfully.</span></i></small></p>
    <p style="margin: 0px; text-indent: 0px;"><small><i><span
 style="color: rgb(153, 153, 153);">02:23:33.189 Post-shutdown script...</span></i></small></p>
    <p style="margin: 0px; text-indent: 0px;"><small><i><span
 style="color: rgb(153, 0, 153);">02:23:33.190 killall jackd</span></i></small></p>
    <p style="margin: 0px; text-indent: 0px;"><small><i>jackd: ingen
process hittades</i></small></p>
    <p style="margin: 0px; text-indent: 0px;"><small><i><span
 style="color: rgb(153, 153, 153);">02:23:33.604 Post-shutdown script
terminated with exit status=256.</span></i></small></p>
    <p style="margin: 0px; text-indent: 0px;"><small><i><span
 style="color: rgb(255, 0, 0);">02:23:35.261 Could not connect to JACK
server as client. - Overall operation failed. - Unable to connect to
server. Please check the messages window for more info.</span></i></small></p>
    <p style="margin: 0px; text-indent: 0px;"><small><i>(&lt;unknown&gt;:15688):
Gtk-WARNING **: Theme directory scalable/animations of theme Ny_hjalle
has no size field</i></small><br>
    </p>
    <p style="margin: 0px; text-indent: 0px;"><b>End</b><br>
    </p>
    <p style="margin: 0px; text-indent: 0px;"><br>
    <b>And this i my problem, I didn't see it earlier:</b><br>
    <i>cannot use real-time scheduling (FIFO at priority 10) [for
thread
-647842064, from thread -647842064] (1: Operation not permitted)<br>
    </i><b>But not as root</b></p>
    <p style="margin: 0px; text-indent: 0px;"><br>
This is a Ubuntu 9,10 64 bit installtion with Ubuntu Studio 64 bit
package and rt kernel installed with Synaptik. So <i>Elliott
Barcikowski</i> guess that I don't have the right to use realtime
kernel as user, only as root is probably right .So the problem isn't
Jack. <br>
    </p>
    <p style="margin: 0px; text-indent: 0px;"> </p>
    <p style="margin: 0px; text-indent: 0px;"><br>
    </p>
    </div>
    <br>
--<br>
Ubuntu-Studio-users mailing list<br>
    <a moz-do-not-send="true"
 href="mailto:Ubuntu-Studio-users@lists.ubuntu.com">Ubuntu-Studio-users@lists.ubuntu.com</a><br>
Modify settings or unsubscribe at: <a moz-do-not-send="true"
 href="https://lists.ubuntu.com/mailman/listinfo/ubuntu-studio-users"
 target="_blank">https://lists.ubuntu.com/mailman/listinfo/ubuntu-studio-users</a><br>
    <br>
  </blockquote>
  </div>
  <br>
  <br clear="all">
  <br>
-- <br>
Fagote / Contrafagote<br>
Bassoon / Contra-bassoon<br>
  <a moz-do-not-send="true" href="http://myspace.com/ricardolameiro">http://myspace.com/ricardolameiro</a><br>
</blockquote>
<tt><big><big><big><big><b>Solved</b></big></big></big></big>, it's
working now as user.<br>
<br>
With this:<br>
</tt>
<pre><tt><i>sudo su -c 'echo @audio - rtprio 99 &gt;&gt; /etc/security/limits.conf'
sudo su -c 'echo @audio - nice -10 &gt;&gt; /etc/security/limits.conf'
sudo su -c 'echo @audio - memlock unlimited &gt;&gt; /etc/security/limits.conf'

I was already u&#347;er for audio.
</i>
&gt;From here:</tt>
<a class="moz-txt-link-freetext"
 href="https://help.ubuntu.com/community/UbuntuStudioPreparation">https://help.ubuntu.com/community/UbuntuStudioPreparation</a>.
</pre>
<tt><br>
Thank you.</tt>
</body>
</html>