Bug 501548

Summary: no sound redirection with Windows Server 2008
Product: [Fedora] Fedora Reporter: James Ralston <ralston>
Component: rdesktopAssignee: Søren Sandmann Pedersen <sandmann>
Status: CLOSED NOTABUG QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: low Docs Contact:
Priority: low    
Version: 13CC: kem, sandmann, snagar
Target Milestone: ---Keywords: Reopened
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-06-28 16:51:07 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description James Ralston 2009-05-19 17:25:30 UTC
When using rdesktop 1.6 to connect to Windows XP hosts, if I use the "-r sound" option, sound redirection works just fine.

However, if I connect to a host running Windows Server 2008 instead, sound redirection does not work.

The strange thing, though, is that the Windows Server 2008 host thinks that sound redirection *is* working.  Specifically, it claims that the audio driver is:

    Microsoft RDP Audio Transport

...and *appears* to play sounds successfully. (That is, if you load up a sound file and start playing it, Windows Server 2008 plays the file with no errors.) The Microsoft RDP Audio Transport audio control is not muted, and the volume is turned the whole way up.

But nonetheless, rdesktop produces no sounds.

From searching the web, I see other people reporting that sound redirection isn't working with rdesktop 1.6 and Windows Server 2008 / Vista, but I couldn't find any mention of it in the rdesktop mailing list archives.

Versions:

0:rdesktop-1.6.0-4.fc11.x86_64

Comment 1 Bug Zapper 2009-06-09 16:07:10 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 11 development cycle.
Changing version to '11'.

More information and reason for this action is here:
http://fedoraproject.org/wiki/BugZappers/HouseKeeping

Comment 2 Siddharth Nagar 2010-03-02 17:14:09 UTC
I'm surprised how this worked with Windows XP. This seems to be an issue with Fedora 11 moving to pulseaudio while rdesktop is still expecting the old /dev/dsp for sound.

See here:
http://sourceforge.net/tracker/?func=detail&aid=2806356&group_id=24366&atid=381347

Comment 3 Bug Zapper 2010-04-27 14:24:25 UTC
This message is a reminder that Fedora 11 is nearing its end of life.
Approximately 30 (thirty) days from now Fedora will stop maintaining
and issuing updates for Fedora 11.  It is Fedora's policy to close all
bug reports from releases that are no longer maintained.  At that time
this bug will be closed as WONTFIX if it remains open with a Fedora 
'version' of '11'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version prior to Fedora 11's end of life.

Bug Reporter: Thank you for reporting this issue and we are sorry that 
we may not be able to fix it before Fedora 11 is end of life.  If you 
would still like to see this bug fixed and are able to reproduce it 
against a later version of Fedora please change the 'version' of this 
bug to the applicable version.  If you are unable to change the version, 
please add a comment here and someone will do it for you.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events.  Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

The process we are following is described here: 
http://fedoraproject.org/wiki/BugZappers/HouseKeeping

Comment 4 Bug Zapper 2010-06-28 12:36:38 UTC
Fedora 11 changed to end-of-life (EOL) status on 2010-06-25. Fedora 11 is 
no longer maintained, which means that it will not receive any further 
security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of 
Fedora please feel free to reopen this bug against that version.

Thank you for reporting this bug and we are sorry it could not be fixed.

Comment 5 James Ralston 2010-06-28 16:49:53 UTC
This is still an issue with Fedora 13 (rdesktop-1.6.0-7).

@Siddharth: this is a different bug. The problem with rdesktop wanting /dev/dsp can be worked-around by using padsp. E.g.:

$ padsp rdesktop -r sound win2008-server.example.org

But anyway, I tracked down the problem: per upstream, audio redirection doesn't work on Windows Server 2008 unless a disk redirection is also used:

http://sourceforge.net/mailarchive/message.php?msg_name=a7eb578e0908201652l6aa5645cu4373ea7fea0d794f%40mail.gmail.com

Meaning, this won't work:

$ padsp rdesktop -r sound win2008-server.example.org

You have to do (e.g.):

$ padsp rdesktop -r sound -r disk:home=/home win2008-server.example.org

(It doesn't matter what disk path you redirect; you just have to redirect *something*.)

This seemed totally non-intuitive to me, but from my testing, upstream is correct: sound redirection works perfectly if and only if I redirect a disk path.

Comment 6 James Ralston 2010-06-28 16:51:07 UTC
Closing as NOTABUG, because (per upstream) this is a limitation/restriction of Windows Server 2008.