kali linux – No sound output or recording
I have to use Kali Linux for my job. This involves vulnerability scanning using GVM/OpenVAS and remediating vulnerabilities. The software I’m using is only available on Kali repositories. I also need to record some of the process and comment. I noticed that Kali comes with recordmydesktop
built in and VLC media player.
I have a freshly installed Kali Linux 2021 on two systems both don’t have sound output through built in speakers or 1/8″ headphone jack. I know nothing about pulseaudio or alsa. I have attempted some solutions to attempt to install alsa-tools, etc (everything from this post: No sound after login – Kali 2016.2).
When I run simplescreenrecord
I can see my USB microphone and when I select it, I can see the audio db incoming moves when I speak into it. However, nothing is in the recording, and furthermore, moving the video file to another computer, no audio on it.
Also, no output for audio/videos, etc.
Tried installing additional tools:
sudo apt-get install libasound2 alsa-utils alsa-oss
──(development㉿kali)-[/var/run/alsa/runtime/pulse]
└─$ pulseaudio -D 3 ⚙
E: [pulseaudio] main.c: Daemon startup failed.
Status output:
┌──(development㉿kali)-[/var/run/alsa/runtime/pulse]
└─$ systemctl --user status pulseaudio 3 ⚙
● pulseaudio.service - Sound Service
Loaded: loaded (/usr/lib/systemd/user/pulseaudio.service; enabled; vendor preset: enabled)
Drop-In: /usr/lib/systemd/user/pulseaudio.service.d
└─kali_pulseaudio.conf
Active: active (running) since Sat 2021-12-18 15:17:10 EST; 7s ago
TriggeredBy: ● pulseaudio.socket
Main PID: 286194 (pulseaudio)
Tasks: 2 (limit: 13293)
Memory: 2.0M
CPU: 98ms
CGroup: /user.slice/user-1000.slice/user@1000.service/session.slice/pulseaudio.service
└─286194 /usr/bin/pulseaudio --daemonize=no --log-target=journal
Dec 18 15:17:10 kali systemd[844]: Starting Sound Service...
Dec 18 15:17:10 kali pulseaudio[286194]: Failed to load module "module-alsa-card" (argument: "device_id="0" name="pci>
Dec 18 15:17:10 kali pulseaudio[286194]: Failed to load module "module-alsa-card" (argument: "device_id="1" name="pci>
Dec 18 15:17:10 kali systemd[844]: Started Sound Service.
Dec 18 15:17:10 kali pulseaudio[286194]: GetManagedObjects() failed: org.freedesktop.systemd1.NoSuchUnit: Unit dbus-o>
Can anyone help me understand why Failed to load module "module-alsa-card" (argument: "device_id="0" name="pci>
and GetManagedObjects() failed: org.freedesktop.systemd1.NoSuchUnit: Unit dbus-o>
If your goal is to propose that problems in Kali should not be fixed, then please don’t. I don’t need an answer within the next 20 seconds. If the answer pops up in the next few months, that would be a bonus.
Read more here: Source link