Page 1 of 1

Win10 no audio on headless Linux server via RDP

Posted: 26. Aug 2015, 14:40
by avsfxm10
Host: Gentoo on remote rack server
Guest: Windows 10 Pro 64bit
Virtualbox 5.0.2
Guest additions 5.0.2 installed
Oracle VM VirtualBox Extension Pack 5.0.2 installed

Virtualbox headless is running on a remote Gentoo rack server box, which I am not sure if it even has audio hardware. I am logging in to the VM remote via RDP using the Oracle Virtualbox VRDP module.

I have configured the VM with

Code: Select all

--audio oss
--audiocontroller hda
With this configuration Win10 recognizes the audio device just fine but I receive no remote sound output.

I also tried

Code: Select all

--audio oss
--audiocontroller ac97
but with this configuration Win10 does not recognize the audio device.

I do have some Linux VMs running on the same host with the oss/ac97 configuration and remote sound is working just fine.

My conjecture is that the guest HDA audiocontroller does not work with the 'bare metal' Linux host system, AC97 has been removed from Windows thus the AC97 device is not recognized by default, so the only workable solution in this setup would be to install the Realtek AC97 Windows audio codecs?

I am not sure if my config is correct for this setup, and if there is any more elegant solution than installing some really old audio codecs in the Win10 VM? (I did not test the Realtek drivers yet)

Thank you.

Re: Win10 no audio on headless Linux server via RDP

Posted: 28. Aug 2015, 10:36
by avsfxm10
Just as info for anybody facing the same issue, I am able to get remote sound from the VM when I use the guest (Win10) RDP and not the Virtualbox RDP. This will probably be the preferred solution for most, since RDP performance is better this way.

However, the drawback is that you cant have multiple concurrent RDP connections to the VM for the same session, which would be preferable in my case.

If you use NAT mode in the VM you need to forward the VM RDP port, which I set up using the following command:

Code: Select all

VBoxManage modifyvm "Win10" --natpf1 "Guest_RDP,tcp,127.0.0.1,12345,,3389"