Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: layout

...

On the Linux audio server, PulseAudio must be enabled for network access . Perform the following steps to enable network access to PulseAudio on the Linux audio serveras shown below:

Configure PulseAudio on Linux for network access

StepDescriptionCommand
1

Check if PulseAudio is installed on the system.

# rpm -qa | grep -i pulseaudio

If the software is not installed, use

# yum install pulseaudio pulseaudio-utils

to install it.

2

Enable network access to the PulseAudio server.

Edit the PulseAudio configuration file:

If PulseAudio runs under the non-root account of the current desktop user (normal case, recommended):

# vi /etc/pulse/default.pa

If PulseAudio is run as root user (system mode, not recommended, only useful in special cases – e.g., embedded use where no real local users exist):

# vi /etc/pulse/system.pa

Add the following line if it does not already exist:

load-module module-native-protocol-tcp auth-anonymous=1

Save the file.

3

Restart the PulseAudio server.

If the default.pa file was modified, the following commands must be run as the non-root user under which PulseAudio was originally started.

Stop the PulseAudio server:

$ pulseaudio -k

Start the PulseAudio server:

$ pulseaudio --start

If PulseAudio was started in system mode and the system.pa file was modified, the system-wide service must be restarted.

Please note: if “autospawn = yes” is set in /etc/pulse/client.conf, the process will be restarted automatically after stopping it.

4

Check if the server is listening on its port.

# netstat -an | grep 4713

OR

# netstat -a | grep -i pulse

...