Fedora Account System
Red Hat Associate
Red Hat Customer
Description of problem: if pulseaudio is configured to run as a system daemon by a system integrator or terminal services manager, then the extra pulseaudio processes started up by the /etc/xdg/autostart dir are useless the fix is straightforward: /usr/bin/start-pulseaudio-x11: add line pgrep -f 'pulseaudio.*--system' > /dev/null && exit before line set -e and that fixes the issue. the gains for the user scenarios listed above are big.
Here is a sample event.d upstart startup file for pulseaudio as a system service (just for reference purposes): ------------------------------------- start on runlevel [2345] stop on runlevel [016] exec pulseaudio --system --realtime --log-target=syslog respawn description "PulseAudio system server" pre-start script for a in `seq 60` ; do sleep 1 killall -0 hald && killall -0 dbus-daemon && break done end script ------------------------------------- The pre-start script takes care of checking whether dbus is already up, which is needed for some pulseaudio featuers.
Here is a sample event.d upstart startup file for pulseaudio as a system service (just for reference purposes): ------------------------------------- start on runlevel [2345] stop on runlevel [016] exec pulseaudio --system --realtime --log-target=syslog respawn description "PulseAudio system server" pre-start script for a in `seq 60` ; do sleep 1start on runlevel [2345] stop on runlevel [016] exec pulseaudio --system --realtime --log-target=syslog respawn description "PulseAudio system server" pre-start script for a in `seq 60` ; do sleep 1 killall -0 hald && killall -0 dbus-daemon && break done end script killall -0 hald && killall -0 dbus-daemon && break done end script ------------------------------------- The pre-start script takes care of checking whether dbus is already up, which is needed for some pulseaudio featuers.
disregard comment #2 please, my mouse is broken.
*** This bug has been marked as a duplicate of bug 461546 ***