[pulseaudio-discuss] Sound works, then doesn't until I log out and back in

Alex Malinovich alex at malinovich.name
Sun Aug 26 12:03:04 PDT 2007

On Sun, 2007-08-26 at 11:11 -0700, Dan Stromberg wrote:
> A few weeks ago, something (probably a software install via synaptic)
> switched me from alsa (with OSS emulation) to pulse (for which I set
> up ALSA emulation).
> I'm OK with that, but it's brought a problem with it.  Sound keeps
> stopping working.  If I log out and back in, it'll usually work for
> hours or days, and then stop again. 
> mplayer gives the following sort of error during the problem:
> $ mplayer -vo sdl -ao alsa ~/movie/happyfeet/1/happy_feet.mkv
> *** PULSEAUDIO: Unable to connect: Connection terminated
> alsa-init: playback open error: Connection refused
> Could not open/initialize audio device -> no sound.
> Audio: no sound
> Starting playback...

Just as an aside here, mplayer has native pulse support now (-ao pulse),
though in this case I don't think it would help. The first thing I'd
check would be to make sure that pulseaudio is still running.

If you run "pulseaudio --check -v" from the command line it'll tell you
if you currently have an instance of pulse running or not. But usually
if pulse isn't running at all, you get a "Connection refused", not a
"Connection terminated".

I did a bit of googling on your error output and came up with this
thread from an ubuntu user:


Sounds like he just needed to install the
libgstreamer-plugins-pulse0.10-0 pulse package and the
libasound2-plugins package. The package names might be different for you
depending on which distro you're using. Hope that helps.

Alex Malinovich
Support Free Software, delete your Windows partition TODAY!
Encrypted mail preferred. You can get my public key from any of the
pgp.net keyservers. Key ID: A6D24837

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <http://lists.freedesktop.org/archives/pulseaudio-discuss/attachments/20070826/0795593f/attachment.pgp>

More information about the pulseaudio-discuss mailing list