View Issue Details

IDProjectCategoryView StatusLast Update
0003529Kali LinuxGeneral Bugpublic2020-12-01 10:48
Reporternazyl Assigned Torhertzog  
PrioritynormalSeverityminorReproducibilityhave not tried
Status resolvedResolutionfixed 
Product Version2016.2 
Fixed in Version2017.1 
Summary0003529: No sound in Kali rolling 2016.2 x64 and x86 both
Description

hello i installed kalling rolling x86 and after boot they have no sound and it's same for x64 i'm on acer travelmate 5335

Relationships

has duplicate 0003838 closedrhertzog No Sound with 2016.2 
has duplicate 0003813 closedrhertzog pulseaudio isn't starting at boot 
has duplicate 0003781 closedrhertzog pulse audio not starting 
has duplicate 0003697 closedrhertzog Sound 

Activities

domc

domc

2016-09-03 20:16

reporter   ~0005758

I also installed Kali rolling 2016.2 x64 and have no sound. I am on a Lenovo T420 laptop.

maangcuf

maangcuf

2016-09-04 19:40

reporter   ~0005766

i had also the same problem i tried using these commands in terminal.
pulseaudio -D
pulseaudio -D --system
It worked for me...

rhertzog

rhertzog

2016-09-05 08:43

administrator   ~0005770

What does "systemctl --user status pulseaudio" return when you have no sound?

ccmcdee

ccmcdee

2016-09-05 13:50

reporter   ~0005777

I recall this happening once to me. However, it was isolated to root account only. Might I suggest trying a different user-account. iirc, the only fix was using alsa-mixer over pulse-audio.

maangcuf

maangcuf

2016-09-05 18:22

reporter   ~0005781

every time I logged into my root I have to enter
pulseaudio -D
and the problem fixes.

engin.von

engin.von

2016-09-05 18:47

reporter   ~0005782

"pulseaudio -D"
Fixes the error. It worked for me.

domc

domc

2016-09-05 19:02

reporter   ~0005783

Last edited: 2016-09-05 19:28

This is what "systemctl --user status pulseaudio" returns when I have no sound.

root@kali:~# systemctl --user status pulseaudio
● pulseaudio.service - Sound Service
Loaded: loaded (/usr/lib/systemd/user/pulseaudio.service; disabled; vendor pr
Active: inactive (dead)
lines 1-3/3 (END)...skipping...
● pulseaudio.service - Sound Service
Loaded: loaded (/usr/lib/systemd/user/pulseaudio.service; disabled; vendor preset: enabled)
Active: inactive (dead)

More info after pulseaudio has been initiated...

root@kali:~#
root@kali:~#
root@kali:~# pulseaudio
W: [pulseaudio] main.c: This program is not intended to be run as root (unless --system is specified).
E: [pulseaudio] bluez5-util.c: GetManagedObjects() failed: org.freedesktop.systemd1.NoSuchUnit: Unit dbus-org.bluez.service not found.
root@kali:~#
root@kali:~#
root@kali:~# pulseaudio -D --system
W: [pulseaudio] main.c: Running in system mode, but --disallow-exit not set.
W: [pulseaudio] main.c: Running in system mode, but --disallow-module-loading not set.
N: [pulseaudio] main.c: Running in system mode, forcibly disabling SHM mode.
N: [pulseaudio] main.c: Running in system mode, forcibly disabling exit idle time.
root@kali:~#
root@kali:~#
root@kali:~# systemctl --user status pulseaudio
● pulseaudio.service - Sound Service
Loaded: loaded (/usr/lib/systemd/user/pulseaudio.service; disabled; vendor preset: enabled)
Active: inactive (dead)
root@kali:~#
root@kali:~#

I have tried all suggested solutions above but none of them were a permanent fix. I have the same issue after reboot.

I did not have any sound issue with the previous Kali rolling 2016.1 x64 or Kali 1.0.0 builds on the same laptop I am currently using - Lenovo T420 Laptop.

rhertzog

rhertzog

2016-09-06 07:00

administrator   ~0005784

The permanent fix should be "systemctl --user enable pulseaudio && systemctl --user start pulseaudio".

That said, the service should be enabled by default in the live image and in any installed system since we configure that in the build process (it was an older bug, 0002392). If that's no longer the case, then there's something disabling it upon us.

domc

domc

2016-09-06 15:54

reporter   ~0005791

I used "systemctl --user enable pulseaudio && systemctl --user start pulseaudio" and it worked. Pusleaudio starts up after reboot. Thx.

disnator

disnator

2016-09-07 14:48

reporter   ~0005794

Command pulseaudio -D solved the problem...
Thanx... :)

rhertzog

rhertzog

2017-02-07 16:12

administrator   ~0006340

So actually, the code that enables pulseaudio is still here in the live-build hook but it fails with this error message:
Assertion 'config_path' failed at ../src/shared/install.c:1706, function install_context_apply(). Aborting.
Aborted

I reported this to the upstream systemd developers here:
https://github.com/systemd/systemd/issues/5260

rhertzog

rhertzog

2017-02-13 15:45

administrator   ~0006379

I have pushed a work-around to the live-build-config which lets systemctl do its job until we have a fixed version of systemd.

The next weekly and daily images should again have sound by default.

Issue History

Date Modified Username Field Change
2016-09-02 15:52 nazyl New Issue
2016-09-03 20:16 domc Note Added: 0005758
2016-09-04 19:40 maangcuf Note Added: 0005766
2016-09-05 08:43 rhertzog Note Added: 0005770
2016-09-05 08:43 rhertzog Assigned To => rhertzog
2016-09-05 08:43 rhertzog Status new => feedback
2016-09-05 13:50 ccmcdee Note Added: 0005777
2016-09-05 18:22 maangcuf Note Added: 0005781
2016-09-05 18:47 engin.von Note Added: 0005782
2016-09-05 19:02 domc Note Added: 0005783
2016-09-05 19:03 domc Note Edited: 0005783
2016-09-05 19:12 domc Note Edited: 0005783
2016-09-05 19:25 domc Note Edited: 0005783
2016-09-05 19:26 domc Note Edited: 0005783
2016-09-05 19:26 domc Note Edited: 0005783
2016-09-05 19:27 domc Note Edited: 0005783
2016-09-05 19:28 domc Note Edited: 0005783
2016-09-06 07:00 rhertzog Note Added: 0005784
2016-09-06 15:54 domc Note Added: 0005791
2016-09-07 14:48 disnator Note Added: 0005794
2017-02-07 16:12 rhertzog Status feedback => assigned
2017-02-07 16:12 rhertzog Note Added: 0006340
2017-02-07 16:15 rhertzog Relationship added has duplicate 0003838
2017-02-07 16:15 rhertzog Relationship added has duplicate 0003813
2017-02-07 16:15 rhertzog Relationship added has duplicate 0003781
2017-02-07 16:17 rhertzog Relationship added has duplicate 0003697
2017-02-13 15:45 rhertzog Status assigned => resolved
2017-02-13 15:45 rhertzog Resolution open => fixed
2017-02-13 15:45 rhertzog Fixed in Version => 2017.1
2017-02-13 15:45 rhertzog Note Added: 0006379
2020-12-01 10:48 g0tmi1k Priority high => normal