Merge pull request #131 from elliotkillick/master

Fix Qubes PulseAudio (Audio and Microphone) in Kali Linux
This commit is contained in:
awokd 2021-05-10 17:15:59 +00:00 committed by GitHub
commit ad4a12acdd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -144,6 +144,30 @@ At this point you should have a working template and you can install the tools y
You can find [a list of Kali Linux `Metapackages` here](https://tools.kali.org/kali-metapackages) You can find [a list of Kali Linux `Metapackages` here](https://tools.kali.org/kali-metapackages)
Keep in mind that the tools you will install can easily take more than 10 GB, [so you will need to **grow** the size of the VM system storage.][qubes-resize-disk-image] Keep in mind that the tools you will install can easily take more than 10 GB, [so you will need to **grow** the size of the VM system storage.][qubes-resize-disk-image]
Fix Qubes PulseAudio (audio and microphone)
---------------------------------------------
Installing the `kali-defaults` package (which is included in many Kali metapackages including `kali-linux-core`) causes Kali PulseAudio configurations files to be installed that interfere with what Qubes provides. This breaks audio and microphone throughput for that qube.
To fix this, simply do one of the following in the Kali Linux TemplateVM:
### Remove just the conflicting PulseAudio configuration files
1. Remove the configuration files by running the following command:
```shell_session
# rm /usr/lib/systemd/user/pulseaudio.service.d/kali_pulseaudio.conf /usr/lib/systemd/user/pulseaudio.socket.d/kali_pulseaudio.socket.conf
```
### Uninstall the entire `kali-defaults` package
1. Assess the function and contents of the package to see if you need it:
- See description: `apt show kali-defaults`
- See installed files: `dpkg -L kali-defaults`
2. If you determine that the package is unnecessary, then uninstall it
- `sudo apt remove kali-defaults`
Finally, for both of these options, the Kali Linux qube will have to be restarted for these changes to take effect.
Alternative Options to Kali Linux Alternative Options to Kali Linux
=================================== ===================================
* [PenTester Framework][PTF], with [PTF Qubes OS guide][qubes-ptf] * [PenTester Framework][PTF], with [PTF Qubes OS guide][qubes-ptf]