Forwarding sound on LAN

Here’s how to simply forward sound from one computer to another in Ubuntu.

First, install paprefs:

sudo apt-get install paprefs

Start it by executing paprefs in a terminal. If every checkbox is grayed out, you have to make a symlink to the PulseAudio modules directory as paprefs searches for the modules in the wrong place:

sudo ln -s /usr/lib/pulse-0.99 /usr/lib/pulse-0.99.3
# or for a newer PulseAudio version:
ln -s /usr/lib/pulse-1.0 /usr/lib/pulse-1.0.0

(Replace the version numbers with your version numbers.)

So after you successfully started paprefs, make the following settings on the server machine:

If you have multiple soundcards, paprefs has this great setting:

On the client side, check this checkbox:

Now restart PulseAudio on both computers with:

pulseaudio -k

And then press Alt+F2, enter pulseaudio. Now you should be able to select the server’s sound card(s) on the client side in the Sound settings dialog (click on the speaker icon on the panel, and select Sound Settings… from the menu):

Note: there’s another method for sound forwarding using multicast RTP, see this guide.

Pingback by Streaming Audio on Raspberry Pi | Mike Newell 2013-09-05 09:30:30

[…] Set your settings in paprefs, there’s a great example here: […]

Name (required)
E-mail (required - never shown publicly)
Webpage URL
You may use <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong> in your comment.

About me

I'm Nonoo. This is my blog about music, sounds, filmmaking, amateur radio, computers, programming, electronics and other things I'm obsessed with. ... »


Listening now

My favorite artists