PulseAudio needs dbus and ConsoleKit2 to change access permissions to the audio device. To activate the ConsoleKit2 service the cgmanager service is required to be running.
# xbps-install -S pulseaudio ConsoleKit2 # ln -s /etc/sv/dbus /var/service/ # ln -s /etc/sv/cgmanager /var/service/ # ln -s /etc/sv/consolekit /var/service/
In some cases you have to add
start-pulseaudio-x11 & to your
System wide setup
PulseAudio supports a system wide daemon that can be used with voidlinux. The system wide setup should be avoided in most common cases for security and performance reasons. More informations why you should not use the system wide mode is available in the PulseAudio documentation at WhatIsWrongWithSystemWide.
Enable the pulseaudio service
# ln -s /etc/sv/pulseaudio /var/service/
Add all users that should have access to pulseaudio to the `pulse-access` group.
# usermod -a -G pulse-access $USER
Visit the PulseAudio documentation for more informations SystemWide.