I'd like to listen to music on my home server from work. Both are Ubuntu boxes running pulseaudio. It seems from researching that applications communicate to the PA server via TCP on port 4317, so I figured it should be as easy as:
me@work: ssh -YR 4317:localhost:4317 me@home
At this point I can run rhythmbox from the ssh session with X11 forwarding, and I assumed rhythmbox would be transparently talking to pulseaudio over the reverse tunnel, resulting in the music playing on my work machine. However instead it appears that the music still plays on my home computer. I've tried messing around with PULSE_SERVER as well to no avail.
Has anyone accomplished something similar? It seems like this should be relatively simple due to pulseaudio's design. I've played around with mounting my music library via sshfs instead but I'd really like to have one set of metadata/app settings/playlists and such. Thanks for any tips!