Skip to content

Instantly share code, notes, and snippets.

@azrdev
Created March 22, 2020 15:06
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save azrdev/881080bbef4ed60557edce5b2f6df9d5 to your computer and use it in GitHub Desktop.
Save azrdev/881080bbef4ed60557edce5b2f6df9d5 to your computer and use it in GitHub Desktop.
pulseaudio fake system mode (without --system)
# /etc/pulse/client.conf
default-server = unix:/tmp/pulse-socket
# /etc/pulse/default.pa
load-module module-native-protocol-unix auth-anonymous=1 socket=/tmp/pulse-socket
load-module module-native-protocol-tcp auth-ip-acl=127.0.0.1;10.0.0.0/8
load-module module-zeroconf-publish
# /etc/systemd/system/pulseaudio.service
[Unit]
Description=Pulseaudio Daemon
[Service]
User=pulse
#PrivateTmp=true
ExecStart=/usr/bin/dbus-run-session -- /usr/bin/pulseaudio --disallow-exit
[Install]
WantedBy=multi-user.target
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment