From f0ab224322bf9c06276717b0d027a0befe110347 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rapha=C3=ABl=20Hertzog?= Date: Fri, 13 Nov 2015 09:45:21 +0100 Subject: [PATCH] Manually enable pulseaudio in root's user session That's because auto-spawning does not work for root. --- kali-config/common/hooks/kali-hacks.chroot | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/kali-config/common/hooks/kali-hacks.chroot b/kali-config/common/hooks/kali-hacks.chroot index 542512d..c307aa0 100755 --- a/kali-config/common/hooks/kali-hacks.chroot +++ b/kali-config/common/hooks/kali-hacks.chroot @@ -2,5 +2,11 @@ # Disable inetd by default, update-rc.d fails to disable it by # default due to https://bugs.debian.org/781155 +# See https://bugs.kali.org/view.php?id=2841 echo "Manually disabling inetd" systemctl disable inetd || true + +# Manually enabling pulseaudio for root since autospawning does +# not work for root +# See https://bugs.kali.org/view.php?id=2392 +systemctl --user enable pulseaudio.service || true