Ubuntu: How can I restart pulseaudio without logout?
Channel: Roel Van de Paar
Date: 2019-06-10

Ubuntu: How can I restart pulseaudio without logout?


Question: 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?

Solutions Sample (Please watch the whole video to see all solutions, in order of how many people found them helpful):

== This solution helped 11 people ==
Use the service command:
sudo service pulseaudio restart

== This solution helped 138 people ==
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 !

== This solution helped 37 people ==
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 http://www.freedesktop.org/wiki/Software/PulseAudio/
Documentation/User/PerfectSetup/.

With thanks & praise to God! With thanks to all the many who have made this project possible! | Content (except music & images) licensed under cc by-sa 3.0 | Music & music license: https://www.bensound.com/royalty-free-music | Images & images license: https://stocksnap.io/license and others | With thanks to user Takkat (https://askubuntu.com/users/3940), user PowerKiKi (https://askubuntu.com/users/12929), user phip (https://askubuntu.com/users/483962), user NIMISHAN (https://askubuntu.com/users/428600), user gourgi (https://askubuntu.com/users/4141), user Braiam (https://askubuntu.com/users/169736), and the Stack Exchange Network (http://stackoverflow.com/questions/15223). Trademarks are property of their respective owners. Disclaimer: All information is provided "AS IS" without warranty of any kind. You are responsible for your own actions. Please contact me if anything should be amiss at Roel D.OT VandePaar A.T gmail.com.