View Issue Details
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0008342||Kali Linux||Kali Package Bug||public||2023-06-02 20:55||2023-06-06 16:13|
|Priority||normal||Severity||major||Reproducibility||have not tried|
|Summary||0008342: No Sound on Hyper-V VM , Dell E7470 Laptop|
I've got no sound on my vm. I tried to plug my usb headset ( Jabra Evolve 20 SE MS) nope doesn't work either.
I've followed your guide, and also this one : https://askubuntu.com/questions/1243369/sound-card-not-detected-ubuntu-20-04-sof-audio-pci
Still nothing. Here's my terminal output :
Jun 02 22:30:23 kali systemd: Started pipewire-pulse.service - PipeWire PulseAudio.
Based on the information you provided, it seems that your system is running PipeWire as the audio server. However, there may be some configuration issues preventing your sound card from being detected properly. Here are a few suggestions you can try:
Check Virtual Machine Settings: Ensure that the virtual machine is configured to pass through the USB headset to the guest operating system. Double-check the settings to make sure the headset is properly connected to the VM.
Install Additional Packages: Make sure you have the necessary packages installed for audio support in the virtual machine. You can try installing the pulseaudio package if it's not already installed.
sudo apt update
Restart Audio Services: Restarting the audio services might help resolve any configuration issues. Try restarting the PulseAudio and PipeWire services.
systemctl --user restart pulseaudio
Check Permissions: Make sure the user running the virtual machine has the necessary permissions to access the audio devices. You can try adding the user to the audio group.
sudo usermod -aG audio <username>
Verify Audio Devices: Use the aplay -l command to verify if the system recognizes the audio devices.
Consult Virtual Machine Documentation: Check the documentation or support resources specific to the virtual machine software you are using. There may be additional steps or settings required to enable audio support within the VM.
If none of these steps resolve the issue, it may be helpful to provide more details about your virtual machine setup (e.g., the software you're using, any specific configurations) so that further troubleshooting can be done.
@leFrench Please ignore the message above, looks like chatGPT output, or some other kind of AI. None of those suggestions will help.
From your output:
That looks like the issue, there should be a soundcard. Check your VM configuration, does your VM actually has a sound card enabled?
Otherwise: how did you setup your VM? Did you install from the Kali Linux installer iso? Or did you use the pre-built VMware VM? Did you upgrade your system, or did you just set it up from the 2023.2 release? Or was it a weekly image? I need all those details so that I can do the same on my side, and see if I reproduce your issue.
I used the Hyper V installer, I didn't modify anything related to the sound card. On my other windows VM there's no issue.
Ah so you mean the Hyper-V image from there: https://www.kali.org/get-kali/#kali-virtual-machines ? It's a new image, so it's possible that there are some glitches. We also switched from pulseaudio to pipewire in 2023.2, and I think that's the issue here.
If you have a little time, would you be kind enough to try those steps: https://github.com/matt335672/pipewire-module-xrdp. To sum it up here:
Install build environment
sudo apt install git pkg-config autotools-dev libtool make gcc
sudo apt install libpipewire-0.3-dev libspa-0.2-dev
git clone https://github.com/matt335672/pipewire-module-xrdp.git
sudo make install
After that, I suppose a reboot of the VM is in order. Does that fix the issue? If that's the case, we'll package this for Kali so that everyone can benefit. Thanks in advance!
EDITED the code snippet above, forgot 'git clone'
Yes it does the trick ! :)
Merci beaucoup !
There is now a package
@leFrench: I suggest you do a "sudo make uninstall" (if ever there's a 'uninstall' target defined), and then install the package instead, now that the package is ready. This way you'll get updates.
To finish: I uploaded a new Hyper--V image where pipewire-module-xrdp is pre-installed. This image has version 2023.2a, and it's what people will get if they download it from https://www.kali.org/get-kali/#kali-virtual-machines, starting now.
So I'm closing this ticket. Thanks again @leFrench for the report, and helping to test pipewire-module-xrdp!
|2023-06-02 20:55||leFrench||New Issue|
|2023-06-03 06:49||goushikrishh||Note Added: 0018139|
|2023-06-03 08:57||arnaudr||Note Added: 0018145|
|2023-06-03 09:02||leFrench||Note Added: 0018146|
|2023-06-03 09:19||arnaudr||Note Added: 0018147|
|2023-06-03 09:43||arnaudr||Note Edited: 0018147|
|2023-06-03 10:14||leFrench||Note Added: 0018148|
|2023-06-06 04:15||arnaudr||Note Added: 0018158|
|2023-06-06 16:13||arnaudr||Note Added: 0018161|
|2023-06-06 16:13||arnaudr||Assigned To||=> arnaudr|
|2023-06-06 16:13||arnaudr||Status||new => assigned|
|2023-06-06 16:13||arnaudr||Status||assigned => resolved|
|2023-06-06 16:13||arnaudr||Resolution||open => fixed|