no other-sound when switching user

Bug #469441 reported by MrMagne
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
mpd (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Binary package hint: mpd

Maybe it's more a pulseaudio bug.

With mpd configured to use pulseaudio, if I switch user when mpd is playing, mpd will keep on playing (this is the right behavior), but the new user won't be able to play any other sound.
When using the GUI to configure sound, it has no sound device and a dummy output.

Everything works fine if mpd is stopped before changing user.

Both users belongs to audio, pulse, pulse-access groups (as well as mpd user).

Revision history for this message
MrMagne (mr.magne) wrote :

I think there is a philosophical problem between mpd and pulseaudio. How can a systemwide mpd use a user pulseaudio server without having any troubles at all ??? Two solution come in mind:
* Configure pulseaudio systemwide, which is definitely not recommended by its devs.
* Configure mpd to be a per user instance.
As pulseaudio is now the default in any ubuntu installation, I think mpd should be configured to be a user service. (see http://gmpc.wikia.com/wiki/MPD_INSTALL_USER_SERVICE_UBUNTU for example), and configured by default to use pulseaudio.

Maybe this is not the good place to discuss this... but what would be the good place ?

Revision history for this message
johnnynyquist (johnnynyquist) wrote :

mpd DOES run per-user. If reporter's experience is anything like my own, what's actually happening is mpd is trying and failing to setup pulse audio and falling back to alsa. this prevents other users with pulseaudio from accessing the soundcard.

Revision history for this message
johnnynyquist (johnnynyquist) wrote :

my bad. mpd is running as a dedicated user, not as the login user.

Revision history for this message
Florian Schlichting (fschlich) wrote :

After disabling/stopping the system-wide mpd instance, a user mpd will be started on login provided an .mpdconf can be found

Changed in mpd (Ubuntu):
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.