Skip to content

Instantly share code, notes, and snippets.

@azrdev
Created March 22, 2020 15:06
Show Gist options
  • Select an option

  • Save azrdev/881080bbef4ed60557edce5b2f6df9d5 to your computer and use it in GitHub Desktop.

Select an option

Save azrdev/881080bbef4ed60557edce5b2f6df9d5 to your computer and use it in GitHub Desktop.

Revisions

  1. azrdev created this gist Mar 22, 2020.
    3 changes: 3 additions & 0 deletions client.conf
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,3 @@
    # /etc/pulse/client.conf

    default-server = unix:/tmp/pulse-socket
    4 changes: 4 additions & 0 deletions default.pa
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,4 @@
    # /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
    12 changes: 12 additions & 0 deletions pulseaudio.service
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,12 @@
    # /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