rdesktop, the command-line-driven Windows remote desktop client for Linux, is a kinda old program that uses OSS (Open Sound System) for its audio, so it tries to open
/dev/dspas your audio device.
In modern Linux distros this device doesn't exist because now we have PulseAudio. So how do you get rdesktop to play sounds from the remote server on your local machine? Using
padsp from the PulseAudio
pulseaudio-utils package in Fedora (and probably a similarly-named package for Ubuntu).
padsp "starts the specified program and redirects its access to OSS compatible audio devices (/dev/dsp and auxiliary devices) to a PulseAudio sound server."
Then just put
padsp in front of your
$ padsp rdesktop -u Kirsle -f -r sound:local 10.10.1.100
There are 3 comments on this page. Add yours.
this will only work if rdesktop is compiled with OSS audio. E.g. in Debian it became ALSA after they've decided http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=507654 to "fix pulseaudio" :) (breaking it completely by that patch).
You saved me! Thanks !