Bug 48728

Summary: starts systemwide and sessionwide Pulseaudio daemons in system wide mode
Product: PulseAudio Reporter: Martin Steigerwald <Martin>
Component: daemonAssignee: pulseaudio-bugs
Status: RESOLVED MOVED QA Contact: pulseaudio-bugs
Severity: normal    
Priority: medium CC: lennart
Version: unspecified   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:

Description Martin Steigerwald 2012-04-15 04:09:24 UTC
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-1~experimental.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
Comment 1 Martin Steigerwald 2012-04-15 04:54:08 UTC
I also posted this as

[pulseaudio-discuss] using pulseaudio with simultaneous playback from mutiple X sessions

and there has been quite some discussion in there.
Comment 2 GitLab Migration User 2018-07-30 09:37:22 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/pulseaudio/pulseaudio/issues/52.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.