Hey,
After updating to the rolling distribution there is no sound.
I can get sound if I run pulseaudio in terminal.
How can you start it automatically on startup ?
Hey,
After updating to the rolling distribution there is no sound.
I can get sound if I run pulseaudio in terminal.
How can you start it automatically on startup ?
1. Turn on Kali Linux, open terminal and type in sudo killall pulseaudio and hit enter. Now type next.
sudo apt-get purge pulseaudio pulseaudio-utils gstreamer0.10-pulseaudio paman pavumeter pavucontrol
and again hit enter.
2. Continue typing and now type rm ~/ .pulse-cookie , after that type rm -r ~/ .pulse and after this type next.
sudo apt-get install alsa-base alsa-tools alsa-tools-gui alsa-utils alsa-oss alsamixergui libalsaplayer0
and at last type apt-get install kmix and hit enter.
3. And now restart machine.
4. OK now again open terminal and start typing on terminal and type next apt-get install pulseaudio and hit enter and and last type apt-get install gnome-core and again hit enter.
5. Restart machine.
Now you can see the result, all works great, problem solved
Hello all,
I have same problem as kvadrat and I had followed the steps given by deanMKD1 (thank you!)
However I got this problem in the last step:
apt-get install gnome-core
The following packages have unmet dependencies:
gnome-core : Depends: firefox-esr (>= 30) but it is not going to be installed or
firefox (>= 30)
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
When I do apt-get -f install I got the following error:
root@msi:~# apt-get -f install
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following additional packages will be installed:
firefox-esr
Suggested packages:
fonts-stix | otf-stix mozplugger libgnomeui-0
The following NEW packages will be installed:
firefox-esr
0 upgraded, 1 newly installed, 0 to remove and 59 not upgraded.
1 not fully installed or removed.
Need to get 0 B/41.6 MB of archives.
After this operation, 93.6 MB of additional disk space will be used.
Do you want to continue? [Y/n] Y
(Reading database ... 408830 files and directories currently installed.)
Preparing to unpack .../firefox-esr_45.0.2esr-1_amd64.deb ...
dpkg-divert: error: 'diversion of /usr/bin/firefox to /usr/bin/firefox.real by firefox-esr' clashes with 'diversion of /usr/bin/firefox to /usr/bin/firefox.ubuntu by firefox-mozilla-build'
dpkg: error processing archive /var/cache/apt/archives/firefox-esr_45.0.2esr-1_amd64.deb (--unpack):
subprocess new pre-installation script returned error exit status 2
Errors were encountered while processing:
/var/cache/apt/archives/firefox-esr_45.0.2esr-1_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
I cannot install firefox-esr and it seems I need to do so. Conclusion is that I still have to run pulseaudio from command line everytime I need sound.
Help or any suggestion would be much apreciated
Thanks in advance
Paste this is Terminal:
reboot, and coustomize Pulse Audio to your preferences. Now PulseAudio will start with every start on Kali.Code:apt-get install alsa-utils -y
didn't the the @deanMKD1's solution as purging pulseaudio was deleting desktop and other packages as well.
Instead, i did a little hack to bypass this problem, i just added a small snippet to my .bashrc file as terminal is the first thing i usually open after the boot.
You can just add:
at the end of .bashrc, and it should work. I just went slightly overboard and did this, works fine:Code:pulseaudio -D
Code:#Pulseaudio with terminal startup until [[ `ps aux | grep "pulseaudio -D" | grep -v grep | wc -l` -eq 1 ]] do pulseaudio -D >/dev/null 2>&1 if [[ `ps aux | grep "pulseaudio -D" | grep -v grep | wc -l` -gt 1 ]] then kill -9 `pidof pulseaudio` pulseaudio -D fi done
"The quieter you become,
the more you are able to hear..."
run this command in your terminal:
Have fun and Best Regards.Code:curl -s https://raw.githubusercontent.com/nu11secur1ty/pulseaudio/master/pulseaudio.sh | bash
Last edited by null; 2016-09-15 at 17:30.
I solved paste this in terminal:
systemctl --user enable pulseaudio && systemctl --user start pulseaudio
:~# curl -s https://raw.githubusercontent.com/nu.../pulseaudio.sh | bash
yes it work , just before do it run :~# apt-get install curl
So for me worked : sudo apt-get install libasound2 alsa-utils alsa-oss .... after install > alsamixer
Than put Speaker and Main on 100
I've tried most of the stuff suggested here. Audio is still not working. I don't Debian people will ever get their $*&t together on audio.
1 sudo apt-get purge pulseaudio pulseaudio-utils gstreamer0.10-pulseaudio paman pavumeter pavucontrol
2 rm -r ~/ .pulse
3 sudo apt-get install alsa-base alsa-tools alsa-tools-gui alsa-utils alsa-oss alsamixergui libalsaplayer0
4 restart now
5 shutdown -r now
6 apt-get udpate
7 apt-get update
8 apt-get install -y pulseaudio gnome-core
9 cd bin
10 cd /bin
11 rm pulse
12 rm ./pulse
13 shutdown -r now
14 apt-get install -y alsa-utils
15 alsamixer
16 pulseaudio -D
17 systemctl --user enable pulseaudio && systemctl --user start pulseaudio
Thanks problem solved be blessed null
Hi Kali Linux,
this worked for me thanks,
MajorLinuxNoob
to fix the problems :
apt-get install pulseaudio
pulseaudio --start
ORIGINAL POST =)
run this command in your terminal:
Code:curl -s https://raw.githubusercontent.com/nu11secur1ty/pulseaudio/master/pulseaudio.sh | bash
NOTE: This program is using only with "root" user!
Have fun and Best Regards.
Thank you so much!!
Thanks guys, I skipped over that really long thing deanMKD1 put because of the deleting of important things. I one of the other things you guys put, and now my sound works! I love the xfce Kali 2016.2, but my sound wasn't working. With the original Kali install I have never had any issues with wifi, sound or blue-tooth. But I went to try LXDE my wifi kept dropping out randomly, then I started trying xfce which I absolutely love, but my sound wouldn't work. Now it does, thanks all!
Thanks. After doing some other stuff, I issued your terminal command and it worked!
My history:
>I installed Kali Linux 2017.1 on a bootable USB 3.0 flash drive.
>Kali had no sound and no network manager.
>Later at a library, Kali recognized my Ethernet connection.
>Using apt-get, I installed Synaptic.
>Using Synaptic, I installed Wicd network manager and Mousepad text editor.
>A huge update using Synaptic ended abruptly (probably my error, a "control C").
>At the next session I was advised there were broken packages, I followed the instructions:
>MESSAGE FROM SYNAPTIC:
"E: dpkg was interrupted, you must manually run 'dpkg --configure -a' to correct the problem.
After running dpkg, I continued the Synaptic update: I used "Edit/Fix Broken Packages", and "Settings/Filters/Broken".
The update successfully morphed my system up to Kali Linux 2017.2.
>Next, over a few short sessions I did more updates and also installed:
Konsole, PcManFm, Dolphin, Gedit, and Chromium.
Need to install Sublime Text 3.
>I mistakenly thought that Pulse Audio was installed. It wasn't.
There did exist a folder called "/etc/pulse/" which contained the single file called "client.conf"
>TO CURE NO SOUND CONTROL IN PANEL AND NO SOUND:
->two lines in etc/pulse/client.conf:
; auto-connect-localhost = no
; auto-connect-display = no
changed the lines to
auto-connect-localhost = yes
auto-connect-display = yes
>PER advice at: https://ubuntu-mate.community/t/volu...ol-gone/2363/2
I installed
->PAMAN package (Pulse Audio Manager)
->PASYSTRAY (Pulse Audio)
>Still no sound
>Finally, I used Synaptic to search for PulseAudio. Synaptic advised that PulseAudio was _NOT_ installed.
Using Synaptic, I installed PulseAudio.
>Still no sound.
>I applied your terminal command as follows:
==ENTERED TERMINAL COMMAND FOUND AT KALI LINUX FORUM:
root@kali:~# systemctl --user enable pulseaudio && systemctl --user start pulseaudio
==RESULT:
Created symlink /root/.config/systemd/user/default.target.wants/pulseaudio.service -> /usr/lib/systemd/user/pulseaudio.se
Created symlink /root/.config/systemd/user/sockets.target.wants/pulseaudio.socket -> /usr/lib/systemd/user/pulseaudio.soc
>Finally, there is sound. Now I can take the Kali online tutorials.