Kali Linux VMWare Workstation Audio Fix

NexxsysNexxsys
1 min read

Audio Problems with Kali Linux

Reference: https://www.kali.org/docs/troubleshooting/no-sound/

sudo apt update
sudo apt full-upgrade -y

sudo apt install --mark-auto -y pipewire-audio

You need to edit the WirePlumber configuration as follows (since 0.5, the older 0.4 version uses lua scripts for configuration):

mkdir -p ~/.config/wireplumber/wireplumber.conf.d/
cd ~/.config/wireplumber/wireplumber.conf.d

Then make ~/.config/wireplumber/wireplumber.conf.d/50-alsa-config.conf in an editor and add:

monitor.alsa.rules = [
  {
    matches = [
      # This matches the value of the 'node.name' property of the node.
      {
        node.name = "~alsa_output.*"
      }
    ]
    actions = {
      # Apply all the desired node specific settings here.
      update-props = {
        api.alsa.period-size   = 1024
        api.alsa.headroom      = 8192
      }
    }
  }
]

Afterwards, restart everything via systemctl --user restart wireplumber pipewire pipewire-pulse

0
Subscribe to my newsletter

Read articles from Nexxsys directly inside your inbox. Subscribe to the newsletter, and don't miss out.

Written by

Nexxsys
Nexxsys