Ubuntu – How to restart pulseaudio without having to logout


Sometimes the pulseaudio service stops and it doesn't restart itself when I open an audio file with banshee or totem.

How I can make pulseaudio start again without having to logout?

Best Answer

I solved my problem.

  1. Check if any pulseaudio instance is running:

    pulseaudio --check

    It normally prints no output, just exit code. 0 means running. Mine were not running, so I just advanced to step 3.

  2. If any instance is running:

    pulseaudio -k
  3. Finally, start pulseaudio again as a daemon:

    pulseaudio -D
  4. Start banshee again and enjoy!