PDA

View Full Version : Kali no sound from speakers - headphones works well.



Hip
2022-04-12, 16:15
Hi,

I am facing problem with speakers on my new laptop with new Kali installation.

I have: Lenovo Legion 7 16ACHg6
Single boot (only Kali), one ssd.

As the name of the topic, my headphones works (3.5mm jack), but speakers never worked. I think, it is not hardware problem, because the laptop make some beeps during pressing numpad with numlock off while booting. After boot, speakers never worked.

Here I have some debug info what I expect is needed:


└─$ pulseaudio
W: [pulseaudio] pid.c: Stale PID file, overwriting.
E: [pulseaudio] socket-server.c: bind(): Address already in use
E: [pulseaudio] module.c: Failed to load module "module-native-protocol-unix" (argument: ""): initialization failed.
E: [pulseaudio] main.c: D-Bus name org.pulseaudio.Server already taken.
E: [pulseaudio] bluez5-util.c: GetManagedObjects() failed: org.freedesktop.systemd1.NoSuchUnit: Unit dbus-org.bluez.service not found.



└─$ sudo systemctl --user status pulseaudio
Failed to connect to bus: No medium found




└─$ sudo apt install pulseaudio
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
pulseaudio is already the newest version (15.0+dfsg1-4)




└─$ sudo nano /etc/pulse/daemon.conf
daemonize = yes/no (I tried both variants)

I also tried

alsactl restore -P
that helped me with troubleshooting on desktop pc with Ubuntu.

What I have red somewhere, pulseaudio is user-based service. Unfortunatelly I do not see this service in list of running users services:

systemctl --user status | grep pulseaudio
(result empty string/nothing)

I also checked pulseaudio gui in settings manager, where I can see sound bar with output sound, see screen.
https://ctrlv.cz/shots/2022/04/12/KozP.png


Anyone has any ideas what can be a problem, or how can I start the service running as user-based service if it is that problem?

soheil
2022-06-12, 17:54
I also have this problem for a few days

soheil
2022-06-16, 07:38
Any help!??

Hip
2022-12-06, 14:25
Soooooo, I just fixed it. It is more easier than you can expact. I just simply purged pipewire-pulse following the website: https://www.kali.org/docs/troubleshooting/no-sound/

Check if the pipewire-pulse is installed:



kali@kali:~$ apt list --installed | grep pipewire-pulse

WARNING: apt does not have a stable CLI interface. Use with caution in scripts.

pipewire-pulse/kali-rolling,now 0.3.51-1 amd64 [installed,automatic]
kali@kali:~$

and remove it:


kali@kali:~$ sudo apt purge --autoremove pipewire-pulse
[...]
kali@kali:~$
kali@kali:~$ sudo reboot