| 89 | | === Pulse Fix === |
| | 89 | === Pulse running user-wide === |
| | 90 | |
| | 91 | This is the default mode and the one shipped in most distributions. In this mode, only the process being run by the user and environment running the Pulse Audio server will be allowed to connect. |
| | 92 | |
| | 93 | There are different ways of overcoming this limitation. |
| | 94 | |
| | 95 | One of the simplest ones would be to set the local server to listen for TCP connections in the loopback interface, allowing any connection, and the Pulse client processes running in the chroot to connect to the server listening in the loopback interface. This can be sent system-wide, to all the users in the local host and the chroot or just per user. |
| | 96 | |
| | 97 | This is an example of configuration for the Pulse server run by a user in the local host: |
| | 98 | {{{ |
| | 99 | #!sh |
| | 100 | $ cat $HOME/.config/pulse/default.pa |
| | 101 | ... |
| | 102 | load-module module-native-protocol-tcp auth-anonymous=1 listen=127.0.0.1 |
| | 103 | ... |
| | 104 | }}} |
| | 105 | |
| | 106 | This is an example of configuration for the Pulse clients run by a user in the chroot: |
| | 107 | {{{ |
| | 108 | #!sh |
| | 109 | $ cat $HOME/.config/pulse/client.conf |
| | 110 | ... |
| | 111 | default-server = 127.0.0.1:4713 |
| | 112 | ... |
| | 113 | }}} |
| | 114 | |
| | 115 | === Pulse running system-wide === |
| | 116 | |
| | 117 | The complete information about this can be found at http://www.freedesktop.org/wiki/Software/PulseAudio/FAQ/#index36h3 |
| | 118 | |
| | 119 | As this is not the default running mode for pulse, you will have to set the proper setting: |
| | 120 | {{{ |
| | 121 | #!sh |
| | 122 | $ cat /etc/pulse/daemon.conf |
| | 123 | ... |
| | 124 | system-instance = yes |
| | 125 | ... |
| | 126 | }}} |