Re: Fedora 12: no sound after switch users



On 03/08/2010 06:48 AM, Neil Bird wrote:

Following on from another thread (in which gdm seemed to be stealing
sound-ability from users), I've updated to the latest pulseuadio RPMs from
updates-testing, and by situation seems to have gotten worse.

(NB: this is fedora 12; it was all working swimmingly in fedora 10, from
which I upgraded a few weeks back).


After a reboot, I log in. I have sound, no problems AFAICT. If I then
switch users for my wife to log in (while I remain logged in), she gets no
sound at all.

A quick investigation shows that her PA config. has dropped back to a
'dummy' output device. I can switch back to my login and hear my sound
again, but nothing i can do can get hers working again.

I am utterly at a loss as to how to debug/diagnose pulseaudio, it's gone
well beyond my ken; can anyone help point me in the right direction?

Before you do a lot of debugging, your system is working properly
with the default setup. When a user log on in the GUI mode, a PA
daemon is started for them. As soon as you play something through
PA, it grabs the ALSA device it is configured to use. If I remember
correctly, after so long with no output, it releases it again. The
problem when you change logins, the new one also starts its own PA
daemon. If there isn't a sound card available, it is stuck using the
dummy one.

One way to get around this is to run a system wide PA daemon. But
make sure you understand the security risk of doing so. (They are
pointed out in the docs.)

If my memory about PA releasing the sound card, you may be able to
work around it by tweeking the timeout setting, and making sure you
do not get any system sounds when changing users.

Mikkel
--

Do not meddle in the affairs of dragons,
for thou art crunchy and taste good with Ketchup!

Attachment: signature.asc
Description: OpenPGP digital signature

--
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines


Relevant Pages

  • Re: sound problem
    ... E: main.c: Daemon startup failed. ... I followed this link to configure my pulseaudio but when starting ... My probleme is that the loose of the sound take place 3 days ... Tunisia ...
    (Fedora)
  • Re: pulseaudio == disaster ??
    ... So, without submitting to the gnome monster, I have no sound. ... Suggestions how to start the pulseaudio daemon outside of gnome are ... ..the Sin of Ignorance, ...
    (Fedora)
  • Re: audio notification from system
    ... What is the daemon that plays a sound, ... and it sounds like a rattle? ...
    (Fedora)
  • audio notification from system
    ... What is the daemon that plays a sound, ... and it sounds like a rattle? ...
    (Fedora)
  • Re: programming write to /var/run from /home
    ... > /tmp or the user's home directory? ... But the daemon should only use sound if there is no fvwm ... /var/run with sudo to indicate that sound is being produced. ...
    (Debian-User)