starts systemwide and sessionwide Pulseaudio daemons in system wide mode
Submitted by Martin Steigerwald
Assigned to pul..@..op.org
Description
I have running Pulseaudio system wide:
merkaba:~> grep -B1 SYSTEM /etc/default/pulseaudio
Geht nur richtig mit exit 0 am Anfang von /usr/bin/start-pulseaudio-{kde,x11}
PULSEAUDIO_SYSTEM_START=1
Still I get system wide and session wide Pulseaudio daemons:
martin@merkaba:~> ps aux | grep pulse | grep -v grep pulse 1073 0.0 0.0 230828 3700 ? S<l Apr14 0:00 /usr/bin/pulseaudio --system --daemonize --high-priority --log-target=syslog --disallow-module-loading=0 martin 2330 0.0 0.0 235048 5616 ? Sl Apr14 0:42 /usr/bin/pulseaudio --start
I know I put "exit 0" at that of /usr/bin/start-pulseaudio-{kde,x11}, but on update of Pulseaudio this is lost. I might be able to add a dpkg diversion on it. but I do think I shouldn´t have to be doing this.
Why do I use system-wide mode although it is not recommended? I have two user sessions. One my private, one my work one. The music is on the private one. And I like to hear music with ear phones at work at times. The pulseaudio on my private session stops playing when I switch to the work session.
I use Debian Sid with:
martin@merkaba:~> apt-show-versions | egrep "(pulseaudio|gstreamer)"
bluez-gstreamer/sid uptodate 4.99-2
gstreamer0.10-alsa/sid uptodate 0.10.36-1
gstreamer0.10-ffmpeg/sid uptodate 0.10.13-3
gstreamer0.10-fluendo-mp3/sid uptodate 0.10.15.debian-1
gstreamer0.10-gconf/sid uptodate 0.10.31-1+b1
gstreamer0.10-plugins-bad/sid uptodate 0.10.23-1+b1
gstreamer0.10-plugins-base/sid uptodate 0.10.36-1
gstreamer0.10-plugins-good/sid uptodate 0.10.31-1+b1
gstreamer0.10-pulseaudio/sid uptodate 0.10.31-1+b1
gstreamer0.10-x/sid uptodate 0.10.36-1
libgstreamer-plugins-bad0.10-0/sid uptodate 0.10.23-1+b1
libgstreamer-plugins-base0.10-0/sid uptodate 0.10.36-1
libgstreamer0.10-0/sid uptodate 0.10.36-1
libqtgstreamer-0.10-0/sid uptodate 0.10.1-2.1+b1
libqtgstreamerui-0.10-0/sid uptodate 0.10.1-2.1+b1
phonon-backend-gstreamer/sid uptodate 4:4.6.0.0-1
phonon-backend-gstreamer-dbg/sid uptodate 4:4.6.0.0-1
projectm-pulseaudio/sid uptodate 2.0.1+dfsg-12+b1
pulseaudio/sid uptodate 1.1-3+b1
pulseaudio-esound-compat/sid uptodate 1.1-3+b1
pulseaudio-module-x11/sid uptodate 1.1-3+b1
pulseaudio-utils/sid uptodate 1.1-3+b1
qtgstreamer-plugins/sid uptodate 0.10.1-2.1+b1
martin@merkaba:> cat /proc/version
Linux version 3.3.0-trunk-amd64 (Debian 3.3-1experimental.1) (debian-kernel@lists.debian.org) (gcc version 4.6.3 (Debian 4.6.3-1) ) #1 SMP Thu Mar 22 18:02:10 UTC 2012