rdesktop no sound on local computer

Bug #303619 reported by Dennis Seleznyov
32
This bug affects 5 people
Affects Status Importance Assigned to Milestone
rdesktop (Fedora)
Invalid
Low
rdesktop (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Binary package hint: rdesktop

There is no sound forwarded to my local PC, local OS is Ubuntu 8.10, remote OS is Windows Vista Ultimate x64 SP1

rdesktop version is rdesktop-1.6.0-2ubuntu1

Tried with '-r sound:local', '-r sound:local:alsa', and '-r sound:local:oss'. But there was no effect. Remote pc plays any sound file as usual, without any errors, but I can't hear anything on local pc.

Revision history for this message
In , James (james-redhat-bugs) wrote :

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

Changed in rdesktop (Fedora):
status: Unknown → Confirmed
Revision history for this message
In , Bug (bug-redhat-bugs) wrote :

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

Revision history for this message
brian mullan (bmullan) wrote :

I am having a problem with this also but looking at the rdesktop man page and multiple examples I am still puzzled about the -r option.

many examples show its use as

rdesktop -rsound

no space btwn -r and sound

man page shows a space?

I am running SeamlessRDP on a Windows 2003 server and doing rdesktop -rsound -A -s "c:\seamlessrdp\seamlessrdpshell.exe iexplore.bat" <host id>

the iexplore.bat use is something I picked up where if you create a .bat file on windows for each app you want to execute you can run the actual program from the batch file... followed by the windows Logoff command. That keeps the Windows RDP from locking you out because you've used up your sessions.

Everything works but still no sound. I did try substituting Cendio's sound driver (from their downloadable server CD) on the Windows side but that's still not made a difference.

I am still not sure where the problem lies (with windows seamlessrdp side or with Linux rdesktop side). Sound does work on the Linux side tho' when browsing to the same web site (I just test by running browser to cnn.com and picking one of their short news video's).

Revision history for this message
brian mullan (bmullan) wrote :

I did just prove to myself that the man page is correct. rdesktop -r sound (with a space) is correct and the various web examples w/out one are wrong so always verify what you see on the web still holds true

Revision history for this message
Claus Frein (cfrein) wrote :

rdesktop with no sound? Sounds familiar to me.

But recently I found following post:
"For some bizarre reason you seem to have to redirect another device in addition to sound." (http://www.nabble.com/Re%3A-Rdesktop%3Dno-sound-p22223981.html)

And suddenly - after additionally redirecting my local disk - local sound starts working!

Hope this works for you too.

Nevertheless still remains a bug.

Revision history for this message
In , Siddharth (siddharth-redhat-bugs) wrote :

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

Revision history for this message
In , Bug (bug-redhat-bugs) wrote :

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

Revision history for this message
In , Bug (bug-redhat-bugs) wrote :

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.

Revision history for this message
In , James (james-redhat-bugs) wrote :

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.

Revision history for this message
In , James (james-redhat-bugs) wrote :

Closing as NOTABUG, because (per upstream) this is a limitation/restriction of Windows Server 2008.

Revision history for this message
eksatx (errolsiegel) wrote :

I can confirm that this issue still exists and the same workaround still works.

I am running Ubuntu 10.10 on an Asus eee 1005pe-pu17 netbook and connecting to Windows Server 2008 R2 (64-bit).

Desktop interaction worked fine, but no sound was being forwarded.

Taking the advice of the above post, I selected the option to redirect my local disk and sound is now forwarding from the remote system just fine.

Revision history for this message
Catalin Patulea (cpatulea) wrote :

Possibly related bug: No sound on rdesktop 1.6.0 connecting to Windows _XP_ 64-bit.

Turning on -r disk:tmp=/tmp didn't fix sound.

At least in my case, the sound drivers on the Windows box did get set to Microsoft RDP Audio Driver, so it seems to be a client-side issue.

Revision history for this message
Catalin Patulea (cpatulea) wrote :

Disregard that - turns out I had my sound device forced to the hardware device in the application that was playing the sound. As soon as I changed the output device to the RDP driver, I got sound!

Revision history for this message
Mau (maugarta-cc) wrote :

This issue also exists in Ubuntu 10.04.4 LTS (x64) connecting to a windows 2008 R2 and the same workaround still works. If I redirect another device, in addition to sound, sound redirection works fine.

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in rdesktop (Ubuntu):
status: New → Confirmed
Changed in rdesktop (Fedora):
importance: Unknown → Low
status: Confirmed → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.