Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

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

How I can make it start again without logout?

share|improve this question

3 Answers 3

I solved my problem.

  1. Check if any pulseaudio instance is running :

    pulseaudio --check

    (mine weren't 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 !
share|improve this answer
    
For me --check didn't show anything, even though -k stopped audio playback, implying pulseaudio was running. –  Cerin Apr 24 at 19:24

In a standard setup running pulseaudio -k restarts the daemon. Nothing else to do.

In case PA is not running typing pulseaudio without further options will start the daemon using defaults in /etc/pulse/daemon.conf and /etc/pulse/default.pa.

User-defined settings in ~/.pulse/ or ~/.config/pulse/ will override system-wide settings. In case of issues it will often help to delete these directories before restarting pulseaudio.

For details see PulseAudio Wiki.

share|improve this answer

Use the service command:

sudo service pulseaudio restart
share|improve this answer
    
While this question is acceptable, it would definitely be more desirable if you were to include some explanation as to why this would resolve the issue. –  RPi Awesomeness Feb 26 at 2:03
    
I unfortunately don't have any specific knowledge in addition to the very explicit command. If if had, I would have had explained more. If you have any idea, please be my guest. –  PowerKiKi Mar 2 at 13:40
    
Ah, fair enough :) Just a suggestion :) –  RPi Awesomeness Mar 2 at 14:06

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.