I just installed Kubuntu 17.10 (reinstall, from 17.04), keeping my old /home
, but formatting/reinstall to /boot
and /
When it started up after installing, I noticed the sound icon in tray being the "speaker + red line", indicating no sound. Systray Sound Icon > Dropdown say:
no output or input devices found
In Settings, I can't change anything related to audio since the system claims there's nothing there. Settings > Multimedia > Audio Volume. No ouput/input device found.
Strangely enough, Spotify and VLC is making sounds. But not Firefox, not Pillars of Eternity (Steam (Flatpak)). And nothing show up in settings. Those pics were taken while playing music in Spotify.
If I open Volume Control (Menu > Multimedia > PulseAudio Volume Control), I get a box displaying the following message:
Connection to PulseAudio failed. Automatic retry in 5s. In this case this is likely because PULSE_SERVER in the Environment/X11 Root Window Properties or default-server in client.conf is misconfigures. The situation can also arise when PulseAudio crashed and left stale details in the X11 Root Window. If this is the case, then PulseAudio should autospawn again, or if this is not configured you should run start-pulseaudio-x11 manually.
These was no countdown (5s), but the window did blink twice to something to the effect of "trying to connect to PulseAudio". Nothing happend after that.
I tried start-pulseaudio-x11
. Output:
Connection failure: Connection refused
pa_context_connect() failed: Connection refused
My sound device is connected via standard Jack (normal speakers). No HDMI or anything. Two monitors connected via DP. Had no problems with it on 17.04.
I tried the following, from an old question:
mv ~/.pulse ~/.pulse_backup
Result: mv: cannot stat '/home/USER/.pulse': No such file or directory
TL;DR: Audio doesn't work after installing Kubuntu 17.10 (/home
from 17.04). No settings available in audio Settings. Sound from VLC and Spotify, but not Firefox, game/steam. Error message say PulseAudio failed.
I had the same problem and seeing the logs in
/var/log/syslog
I had an error for pulseaudio daemon:So I opened
/etc/pulse/default.pa
and edited it using#
to disable 3 lines:Maybe it'ś not the best solution but it solved my trouble.
I have solved this by reinstalling pulseaudio.
Pay attention: if you have some custom edits inside /etc/pulse, they get lost if executing
rm -rf /etc/pulse
as shown below! In my case there are only a hand full of files that have been reinstalled.Update 2019: take care if package
plasma-desktop
is uninstalled while removingpulseaudio
. Reinstall before booting, otherwise your system may not boot properly.apt-get remove --purge pulseaudio
rm -rf /etc/pulse
(maybe remove $HOME/.config/pulse also)apt-get install pulseaudio
apt-get install plasma-desktop
reboot
This also deinstalled some other packages (like oss*) which have not been reinstalled, and in my case, I don't miss them at all. ;)
[EDIT]
If your card is listed by something like
sudo aplay -l
, but not listed inpavucontrol
, your card may be blocked by further processes. Check thatsudo fuser -v /dev/snd/*
doesn't list any other processes thanpulseaudio
. In my case when upgrading to kubuntu 19.04 it was blocked bysqueezelite
process, so I stopped and disabledsqueezelite
and everything was fine:... et voila! My soundcard is available inside
pavucontrol
again.I had the exact same problem (same symptoms) and ended up wasting hours looking for a solution. I solved the issue by editing
default.pa
to statically load modules and replacedhw:1,0
withhw:0,0
Content to change:
Save and exit, then run:
Hopefully you have sound at this point.
just refuse back or reload pulseaudio service/etc that directly behave on..
first check up if ther's no any hardware issue that's mean hardware it self are on nice condition and detected with driver and them self is installed/good
use
lspci
aplay -l
or whatever that can help you to determine the device is okaynext just refuse it back, you can use any daemon service reloader that can help you to refuse your service it self
or just force with
fuser -fkv /dev/snd/*
-v for verbose -f for force -k for kill -last - following by the service is sourcedI ran into same problem. After installing pavucontrol I restarted my system and now it's detecting my sound card and headphones.
In case pavucontrol giving errors after installation, restart your system and they will be gone.
Hope this helps others too.
try to find in .config/ if there another folder that config the pulse in my case it was google-chrome-remote-desktop app, that was create another profile with pulse-audio config that prevent the normal profile to load
I'm having the same problem in Kubuntu 17.10. I cannot say what the cause was, it happened after I plugged in the HDMI cable or after I paired a Bluetooth speaker and changed the output audio stream to it. After some searches I mixed up some solutions. Audio seems to work now but I'm wondering if this is a good or bad solution. What I did was:
Audio was up but there was no way to control it. Icon in the system tray disappeared. So I did:
At the reboot the icon was in the system tray but audio was mute and not working, exactly like here. So I removed plasma-pa and installed kmix. Doing this, audio is working now.
I'm not sure this is a good solution and I'd like to know what the problem is with plasma-pa, but at least the problem is gone.
@peterling 's answer worked for me it is the last one on this page: askubuntu.com/questions/70560/why-am-i-getting-this-connection-to-pulseaudio-failed-error
He said I had to enter this in the terminal:
this is what it looked like on the terminal:
After this I ran pulseaudio volume control From using the normal shortcut by clicking on it in lUbuntu 16.10 You're using a much newer version of KUbuntu but I think this might work for you because we have this in common: "
I tried
start-pulseaudio-x11
. Output:"
Don't have enough rep to comment, but I tried the 3rd solution above by ChristophS. While this looks like a good solution, on Kubuntu 18.10 using purge uninstalled my plasma-desktop and kubuntu-desktop. I had a bunch of unnecessary packages listed from a wine uninstall, I plan to reinstall. Needless to say caused quite the confusion, especially paired with the permission changes which ended up being the cause, which I thought messed with the desktop.
Lesson being: be careful what you purge! I think there should be a comment on the above solution to warn about the current inclusion of desktop with purge pulseaudio.
If hack from the above link works, might be the permissions:
HOME=/tmp/$USER pulseaudio --start
I had a similar issue due to pulseaudio-equalizer:
So I uninstalled it:
After a reboot I had:
Removing the line
load-module module-equalizer-sink
from~/.config/pulse/default.pa
didn't fix the issue.I finally found the solution by flushing my configuration:
And
reboot
(pulseaudio --kill / --startw wouldn't refresh the sound widget).I just opened a related bug in launchpad: https://bugs.launchpad.net/ubuntu/+source/pulseaudio/+bug/1859996