If you have no sound in Kali Linux, the fix usually comes down to identifying the correct audio output device and restarting the audio service, often with pulseaudio -k or by selecting the right profile in pavucontrol. This guide walks you through the most common causes and step-by-step solutions, from driver issues to pipewire conflicts, so you can get audio working again.
Why Audio Fails in Kali Linux
Kali Linux is a penetration testing distribution based on Debian. Its focus on security tools means the default desktop environment (XFCE) is minimal, and some audio components may not be pre-configured. Common reasons for no sound include:
- Wrong output device selected – the system may default to a dummy or HDMI output instead of your speakers or headphones.
- PulseAudio or PipeWire not running – the audio server may have crashed or not started.
- Missing or blacklisted drivers – especially for newer or less common sound cards.
- Kernel module issues – the correct sound module may not be loaded.
- Volume muted or set to zero – sometimes the simplest cause.
Quick Checks Before Diving In
Before you start changing configurations, run these quick checks. They take a minute and can save you a lot of troubleshooting:
- Check the volume icon in the system tray – make sure it’s not muted and the volume is above 0.
- Plug in headphones or external speakers – sometimes the internal speaker is broken or not detected.
- Run
aplay -lin a terminal to see if your sound card is listed. If it shows “no soundcards found”, the problem is at the driver level. - Try a different media player or browser tab – the issue might be specific to one application.
Restarting the Audio Server: The 90% Fix
The most common fix for no sound in Kali is restarting the audio server. PulseAudio has been the default for years, but newer versions of Kali (2023+) have moved to PipeWire. Here’s how to restart either:
- Open a terminal.
- If you’re using PulseAudio, run
pulseaudio -kto kill it. It will automatically restart when an application needs it. - If you’re using PipeWire, run
systemctl --user restart pipewire pipewire-pulse. - After restarting, test with
speaker-test -c 2or play a sound file.
If the audio server was not running at all, you can start it manually. For PulseAudio, use pulseaudio --start. For PipeWire, use systemctl --user start pipewire pipewire-pulse.
Selecting the Correct Output Device
Sometimes the audio server is running fine, but it’s sending sound to the wrong device. This often happens with HDMI monitors or USB headsets. To fix it:
- Install
pavucontrolif you don’t have it:sudo apt install pavucontrol. - Run
pavucontrolfrom the terminal or application menu. - Go to the “Playback” tab and check which output device your applications are using.
- Go to the “Output Devices” tab and make sure the correct device is set as the fallback (green checkmark).
- If you see a device that says “Dummy Output”, that means no real sound card is being used – you need to fix the driver issue first.
Driver and Kernel Module Issues
If aplay -l shows no sound cards, the problem is at the driver level. Most modern sound cards use the snd_hda_intel module. Here’s how to check and load it:
- Check if the module is loaded:
lsmod | grep snd_hda_intel. - If not, load it:
sudo modprobe snd_hda_intel. - If it loads but still no sound, try the
snd_hda_codecmodule:sudo modprobe snd_hda_codec. - For USB audio devices, ensure the
snd_usb_audiomodule is loaded:sudo modprobe snd_usb_audio.
If the module loads but the device still doesn’t show up, your sound card might be too new or too old for the default kernel. In that case, you can try a different kernel – Kali offers multiple kernel versions in its repositories. Install a different one with sudo apt install linux-image-... and reboot.
PipeWire vs PulseAudio: Which One to Use?
Kali has been transitioning from PulseAudio to PipeWire, which is a newer audio server that handles both audio and video streams. If you’re on a recent Kali version, PipeWire is likely installed but might not be running. Here’s how to check and switch:
- Check if PipeWire is running:
systemctl --user status pipewire. - If it’s not running, start it:
systemctl --user start pipewire pipewire-pulse. - If you prefer PulseAudio, you can remove PipeWire:
sudo apt remove pipewire pipewire-pulse– but this might break other dependencies. - If you want to keep both, you can disable PipeWire’s PulseAudio compatibility:
systemctl --user mask pipewire-pulse.
In most cases, PipeWire works out of the box. If you have issues, try switching to PulseAudio or vice versa to see which one works for your hardware.
Common Problems and Their Specific Fixes
Here are some specific scenarios you might encounter and how to resolve them:
- No sound after suspend/resume: Run
pulseaudio -kor restart PipeWire. This is a common bug with many sound cards. - Sound only through HDMI: Use
pavucontrolto switch the output to your analog speakers or headphone jack. - Sound is crackling or distorted: This can be a sample rate mismatch. Edit
/etc/pulse/daemon.confand setdefault-sample-rate = 48000(or 44100) and restart PulseAudio. - No sound in a virtual machine: Make sure the VM has audio enabled and the correct audio driver (e.g., Intel HD Audio) is selected in the VM settings.
- Sound card detected but no output: Check the alsamixer with
alsamixerin the terminal. Use the arrow keys to unmute channels (press ‘m’ to unmute) and raise the volume.
Frequently Asked Questions
Why does Kali have no sound by default?
Kali is a security-focused distribution, and its default XFCE desktop is minimal. Audio packages like PulseAudio or PipeWire are often installed but may not be configured to start automatically. Also, the default user might not have the necessary permissions to access the sound device – you can add your user to the audio group with sudo usermod -aG audio $USER and reboot.
How do I install audio drivers in Kali?
Most audio drivers are part of the Linux kernel. You don’t usually need to install separate drivers. However, if your sound card isn’t detected, you can try installing the alsa-firmware package: sudo apt install alsa-firmware. For proprietary drivers (like some Realtek chips), you may need to install firmware-linux from the Debian non-free repositories.
What is the difference between ALSA and PulseAudio?
ALSA (Advanced Linux Sound Architecture) is the kernel-level sound driver. PulseAudio is a sound server that sits on top of ALSA and provides per-application volume control, network audio, and better handling of multiple devices. PipeWire is a newer server that aims to replace both PulseAudio and JACK. If you’re having issues, you can test ALSA directly with speaker-test -c 2 – if that works, the problem is in the sound server layer.
Can I use PipeWire instead of PulseAudio on Kali?
Yes, recent versions of Kali support PipeWire. You can install it with sudo apt install pipewire pipewire-pulse and then restart your session. PipeWire is more modern and often provides better Bluetooth audio and lower latency. If you switch, make sure to remove or mask PulseAudio to avoid conflicts.
Why does my USB headset not work?
USB headsets are usually plug-and-play, but sometimes they need the snd_usb_audio module. Check with lsmod | grep snd_usb_audio and load it if missing. Also, check pavucontrol to select the headset as the output device. If it still doesn’t work, try a different USB port or a powered USB hub.
How do I make sound settings persistent after reboot?
Most audio settings are saved automatically by PulseAudio or PipeWire. If they aren’t, you can manually start the audio server at login by adding pulseaudio --start or systemctl --user start pipewire pipewire-pulse to your ~/.profile or ~/.xinitrc. Also, make sure your user is in the audio group.
Related
General steps for current mainstream versions; menus can differ by device and version. See the disclaimer or report an error.
More in this bed
- How to Add & Remove Favorites in Windows 10 Photos App
- Fix Links Not Opening in Chrome: 7 Top Ways
- Connect Alexa to a Soundbar: Choose the Right Setup
- Fix Host Process for Setting Synchronization in Windows 10
- Windows 11 search how to control automatic indexing of frequently used folders?
- How to Set Up Tips on Twitter (X) for Android & iOS