pavucontrol stuck at "Establishing connection to PulseAudio. Please wait..."
Solution 1
This solve the same problem with my:
pulseaudio --check
pulseaudio -D
Taken from: [Solved] Establishing connection to PulseAudio. Please wait ... https://classicforum.manjaro.org/index.php?topic=27044.0
Solution 2
I've had this issue since upgrading to 18.04 and read almost all there is about to read about it. I fiddled with the settings, the packages, and eventually it would work sometimes, after installing PulseEffects
for getting the right channel throughput for the audio.
But then when I would change the audio-output channel to say headphones instead of speakers, the gnome shell crashed. This crash gave me insight to some "obsolete packages" that were still installed and needed removing or upgrading.
So in summary, running these commands solved all my audio problems after a few weeks of debugging (so stupid if you see it now, but whatever works right?)
sudo apt-get update
sudo apt-get upgrade
sudo apt-get remove --purge alsa-base pulseaudio
sudo apt-get install alsa-base pulseaudio pavucontrol
sudo alsa force-reload
reboot
Then
sudo add-apt-repository ppa:mikhailnov/pulseeffects
sudo apt-get update
sudo apt-get install pulseeffects
After a final resetting of the audio output channel, it worked like a charm again.
Solution 3
I solved this issue by deleting ~/.config/pulse
followed by a reboot.
Related videos on Youtube
Bernie
Updated on September 18, 2022Comments
-
Bernie over 1 year
I sometimes have the problem that I can't hear any sound on my Dell XPS13 with Ubuntu 16.04. I have a Logitech G930 connected to it. When I open pavucontrol it is stuck at "Establishing connection to PulseAudio. Please wait..." I have been following the Ubuntu Audio Problems Guide (german version is here: https://wiki.ubuntuusers.de/Sound_Problembehebung/#Soundsystem ) and found the following:
$ cat /proc/asound/cards 0 [PCH ]: HDA-Intel - HDA Intel PCH HDA Intel PCH at 0xdc428000 irq 295 1 [H ]: USB-Audio - Logitech G933 Gaming Wireless H Logitech Logitech G933 Gaming Wireless H at usb->0000:00:14.0-1, full speed
So the sound cards are recognized. However, audio is not played:
$ aplay /usr/share/sounds/alsa/Front_Center.wav ALSA lib pulse.c:243:(pulse_connect) PulseAudio: Unable to connect: Access denied aplay: main:722: audio open error: Connection refused
Same with
sudo
:$ sudo aplay /usr/share/sounds/alsa/Front_Center.wav Home directory not accessible: Permission denied Home directory not accessible: Permission denied Playing WAVE '/usr/share/sounds/alsa/Front_Center.wav' : Signed 16 bit >Little Endian, Rate 48000 Hz, Mono
The "groups" command does NOT show the audio group, but what I think is strange that it works most of the time (and often so after restarting, if there are problems) so I'd guess it's not the problem.
Where else could I look?
Edit:
$ lspci -nnk | grep -A2 Audio 00:1f.3 Audio device [0403]: Intel Corporation Device [8086:9d71] (rev 21) Subsystem: Dell Device [1028:075b] Kernel driver in use: snd_hda_intel $ aplay -l **** List of PLAYBACK Hardware Devices **** card 0: PCH [HDA Intel PCH], device 0: ALC3246 Analog [ALC3246 Analog] Subdevices: 1/1 Subdevice #0: subdevice #0 card 0: PCH [HDA Intel PCH], device 3: HDMI 0 [HDMI 0] Subdevices: 1/1 Subdevice #0: subdevice #0 card 0: PCH [HDA Intel PCH], device 7: HDMI 1 [HDMI 1] Subdevices: 1/1 Subdevice #0: subdevice #0 card 0: PCH [HDA Intel PCH], device 8: HDMI 2 [HDMI 2] Subdevices: 1/1 Subdevice #0: subdevice #0 card 1: H [Logitech G933 Gaming Wireless H], device 0: USB Audio [USB >Audio] Subdevices: 1/1 Subdevice #0: subdevice #0 $ pactl list short sinks Connection failure: Access denied
-
Takkat over 7 yearsWe should not be in the
audio
group, and we should not run audio apps as root. Sometimes deleting poor settings in our HOME need to be deleted. See askubuntu.com/questions/201780/β¦ -
David Foerster over 7 yearsCould you please edit your question to include the output of the terminal commands
lspci -nnk | grep -A2 Audio
,aplay -l
, andpactl list short sinks
? If PulseAudio (viapactl
) doesn't respond, please (back up and) remove~/.pulse
, start PulseAudio (pulseaudio --start
) and try again. Thanks. -
Bernie over 7 yearsSorry, took me a while to reproduce the error and have the time to write everything down. I have edited the question. I have not found a file at ~/.pulse
-
Alex Timmer almost 6 yearsHey @Bernie, did you ever got to fix this? Facing the exact same issue..
-
rwst over 5 yearsMaybe the files are in
~/.config/pulse
instead of~/.pulse
. At least on OpenSuSE they are...
-
-
Aseem over 5 yearsI followed everything mentioned above except the last command which gave me an error saying -- unable to locate package pulseeffects.. Then i did 'pulseaudio --start' and audio started working again.
-
42- over 5 yearsAlso got that error and the penultimate command essentially said "nothing to be done" i.e.
pavucontrol is already the newest version (3.0-4)
and it removedalsamixer
-
Don P over 5 yearsThank you! This worked for 18.10 as well.
-
rjb-dev about 5 yearsThank you so much for this answer, I have been trying to solve this issue for a month on 18.10 (new install, not upgrade) after my sound randomly crashed when I was trying to record on audacity. The pulseeffects step wasn't necessary, but like Aseem I needed to do 'pulseaudio --start'
-
FriendFX about 4 years+1 I did something similar, which may help with debugging as it doesn't require a reboot:
mv ~/.config/pulse ~/.config/pulse.old
followed bypulseaudio --start
-
Naresh Thakur about 4 years
sudo apt-get install pulseeffects
return error "Unable to locate package pulseeffects" to fix that you need to instll bysudo add-apt-repository ppa:mikhailnov/pulseeffects
and thensudo apt update
and finallysudo apt install pulseaudio pulseeffects --install-recommends
-
Ari over 3 yearsRunning Arch Linux and this resolved my issue on
i3
-
umbe1987 over 3 yearsgreat! removing it and issueing
pulseaudio --start
did the trick. (Linux Mint 20) -
Guillermo J. about 3 yearsBeware, in my system, removing
alsa-base
andpulseaudio
also suggested removingubuntu-desktop
andubuntu-desktop-minimal
, which is an absolute mess. As the other answer suggested, deleting~/.config/pulse
did the trick for me -
Almir Campos almost 3 yearsDamn!!! πΊπΊπΊ I should had started my research with this one, instead of spending a eon trying complex solutions out πππ
-
RyanNerd almost 3 yearsDO NOT do this for Linux Mint (cinnamon) removing
pulseaudio
will also for some bizarre reason also remove Cinnamon [Interblinged dependencies is my guess].