To use RDP or rdesktop with remote sound support, it will only work if used with -r disk… full syntax below
user_pass=`env |grep http_proxy |awk -F\: ‘{print $3}’|awk -F\@ ‘{print $1}’`
rdesktop -u domain\\user -g 1280×960 -a 16 -0 -r clipboard:CLIPBOARD -r sound:local:oss -r disk:tmp=/tmp -p $user_pass -5 $1