You are not logged in.
Pages: 1
I tried to set up pulseaudio as well as I can. I've placed "pulseaudio" in my daemons array, I've done most of what the wiki told me, or what I could understand of it. I get a "daemon startup failed" when pulseaudio tries to start on boot. when I do "pulseaudio" in the terminal I get:
[jeff@gnome-box ~]$ pulseaudio
N: main.c: Called SUID root and real-time/high-priority scheduling was requested in the configuration. However, we lack the necessary priviliges:
N: main.c: We are not in group 'pulse-rt' and PolicyKit refuse to grant us priviliges. Dropping SUID again.
N: main.c: For enabling real-time scheduling please acquire the appropriate PolicyKit priviliges, or become a member of 'pulse-rt', or increase the RLIMIT_NICE/RLIMIT_RTPRIO resource limits for this user.
E: main.c: Failed to create '/tmp/pulse-jeff': Operation not permitted
any help would be greatly appreciated. If you need more info just ask.
edit: here's my daemon section from /etc/rc.conf
DAEMONS=(syslog-ng !network dhcdbd networkmanager netfs crond hal pulseaudio fam cups alsa)
and my groups:
disk lp games network video audio optical floppy storage scanner camera power users pulse-access jeff vboxusers
Last edited by theringmaster (2008-01-01 02:59:21)
Check me out on twitter!!! twitter.com/The_Ringmaster
Offline
You have the answer right there in the first code box. Add yourself to the group. If you don't feel good creating a group, as that's only natural since no prior application has set it up for you to be comfortable (are you sure pulseaudio hasn't created it? check /etc/group.pacnew), then the next best (sane) thing to do would be increasing the limits in /etc/security/limits.conf:
@audio - rtprio 99
@audio - nice -10
@audio - memlock 250000
Keep in mind that is for a pro audio setup so I have no idea why pulseaudio is using real-time. Go back to the configuration and don't enable it.
I need real, proper pen and paper for this.
Offline
> I get a "daemon startup failed" when pulseaudio tries to start on boot.
Simply typing pulseaudio won't help you.
Have a look at /etc/rc.d/pulseaudio, open a root shell and go through each step by hand, omitting any /dev/null redirections of course.
1000
Offline
You have the answer right there in the first code box. Add yourself to the group. If you don't feel good creating a group, as that's only natural since no prior application has set it up for you to be comfortable (are you sure pulseaudio hasn't created it? check /etc/group.pacnew), then the next best (sane) thing to do would be increasing the limits in /etc/security/limits.conf:
@audio - rtprio 99 @audio - nice -10 @audio - memlock 250000
Keep in mind that is for a pro audio setup so I have no idea why pulseaudio is using real-time. Go back to the configuration and don't enable it.
No I don't believe that group exists and I have no I idea how to do the next thing (increasing security of something)
Check me out on twitter!!! twitter.com/The_Ringmaster
Offline
> I get a "daemon startup failed" when pulseaudio tries to start on boot.
Simply typing pulseaudio won't help you.
Have a look at /etc/rc.d/pulseaudio, open a root shell and go through each step by hand, omitting any /dev/null redirections of course.
here's the contents of /etc/rc.d/pulseaudio. anything I have to do here?
#!/bin/bash
[ -f /etc/conf.d/pulseudio ] && . /etc/conf.d/pulseaudio
. /etc/rc.conf
. /etc/rc.d/functions
PID=`pidof -o %PPID /usr/bin/pulseaudio`
case "$1" in
start)
#Check for running hal daemon, start when not running
ck_daemon hal && /etc/rc.d/hal start
stat_busy "Starting PulseAudio"
modprobe -l | grep '/capability\.ko' >/dev/null
if [ $? = 0 ] && [ ! $( lsmod | cut -d ' ' -f1 | grep '^capability$' >/dev/null ) ] ; then
modprobe capability
fi
[ -z "$PID" ] && /usr/bin/pulseaudio ${PA_OPTS} --fail=1 --daemonize=1 --system
if [ $? -gt 0 ]; then
stat_fail
else
add_daemon pulseaudio
stat_done
fi
;;
stop)
stat_busy "Stopping PulseAudio"
[ ! -z "$PID" ] && kill $PID &> /dev/null
if [ $? -gt 0 ]; then
stat_fail
else
rm_daemon pulseaudio
stat_done
fi
;;
restart)
$0 stop
sleep 2
$0 start
;;
*)
echo "usage: $0 {start|stop|restart}"
esac
exit 0
Check me out on twitter!!! twitter.com/The_Ringmaster
Offline
I think i had to edit pulseaudio conf to not use the hal startup method the last time i tried pulseaudio, so that the daemon starts...
Check pulseaudio site for details.
Offline
I think i had to edit pulseaudio conf to not use the hal startup method the last time i tried pulseaudio, so that the daemon starts...
Check pulseaudio site for details.
couldn't I achieve the same effect by putting pulseaudio before hal in my daemons array?
Check me out on twitter!!! twitter.com/The_Ringmaster
Offline
/usr/bin/pulseaudio ${PA_OPTS} --fail=1 --daemonize=1 --system
That's the actual command for starting the daemon. Replace ${PA_OPTS} with the options from /etc/conf.d/pulseaudio and run it, as root.
1000
Offline
/usr/bin/pulseaudio ${PA_OPTS} --fail=1 --daemonize=1 --system
That's the actual command for starting the daemon. Replace ${PA_OPTS} with the options from /etc/conf.d/pulseaudio and run it, as root.
well thanks anyway. I'll be reinstalling on a new hard drive soon anyway. Pulseaudio will not be included. esd has worked for me.
Check me out on twitter!!! twitter.com/The_Ringmaster
Offline
Pages: 1