<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
<title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
<br>
<blockquote cite="mid:4B279694.9010308@graggrag.com" type="cite">
<blockquote type="cite">
<pre wrap="">In my previous load (AVLinux), all I had to do was start jackd in
/etc/rc.local, tell Pulse to use Jack as its sink, and tell Pulse to
daemonize via its own .conf file, and it did very well. I have tried
several methods, including setting Jack and Pulse at different
runlevels, but when I try to use Jack as an /etc/init.d item the boot
jack log says that I don't have permission to use realtime scheduling,
and it doesn't run.
</pre>
</blockquote>
<pre wrap=""><!---->
from Cal:
So give it permission :-). Does the user/group that your init.d script
uses to start jack have 'the right stuff' in /etc/security/limits.conf?
cheers.
</pre>
<hr size="2" width="100%">
<pre wrap="">
from Ng Oon-Ee:
This identical setup works for me. What versions do you have of
pulse/jack? Please dump jack1 and use jack2 if you want to work with
pulse, there's quite a few fixes (including, coincidentally, one which
fixes module-jack-sink/source in pulseaudio crashing the whole daemon).
Of course, you need a relatively recent pulse (.16 and newer?).
Oh, and I just noticed, please don't run JACK as root either (which is
what /etc/init.d does).
</pre>
</blockquote>
Well, the init.d/jack script I have tries to run it as user 'jeb',
which is my login, which is a member of group 'audio' with appropriate
limits.conf et cetera. jack is running rather nicely as user 'jeb'
started using su from rc.local. But. I am very intrigued with the
idea of running both Pulse and Jack in userland, and I am most
astonished to learn that jack2 should be used with Pulse. So it looks
like some good revisions are in order. Basic question: if I remove
both pulseaudio and jack from the init.d startup set, where and how do
they get told to run? <br>
<br>
Later, both of you :-)<br>
<br>
J.E.B.<br>
<br>
</body>
</html>