In case you want to reproduce something on a remote host with no sound card, no pci card, no virtual card at all (not even pulseaudio actually running).
REQUISITES:
On your host:
# edit configuration vim /etc/pulse/default.pa +78 # include the following line near that line (wherever you want) load-module module-native-protocol-tcp auth-ip-acl=127.0.0.1 # using root, kill pulseaudio to be ran again killall pulseaudio
On remote host (via SSH, the one you want to reproduce Audio):
vim /etc/pulse/client.conf # search for "default-server" and uncommend the line # set this line to the following: default-server = 127.0.0.1:4713 # (maybe needed?) # using root, kill pulseaudio to be ran again killall pulseaudio
On your host (again):
# run an SSH tunnel, to enable the forwarding # (needs port forwarding enabled, which by default it usually is) ssh -R 4713:127.0.0.1:4713 yourserver.com
There you go! Now you can play anything on the remote server, and will be played on Your HOST audio device!