diff --git a/kali-config/common/hooks/live/kali-hacks.chroot b/kali-config/common/hooks/live/kali-hacks.chroot index 557d6c5..7680aa6 100755 --- a/kali-config/common/hooks/live/kali-hacks.chroot +++ b/kali-config/common/hooks/live/kali-hacks.chroot @@ -8,7 +8,9 @@ fi # 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 +XDG_RUNTIME_DIR=/run/user/0 systemctl --user enable pulseaudio.service || true +# Note that XDG_RUNTIME_DIR is just a work-around for +# https://github.com/systemd/systemd/issues/5260 until we have systemd 133 # Disable the udev rules renaming the network interfaces (can also be # achieved with kernel command line net.ifnames=0 but we don't have a nice