Windows 7 Guest, Ubuntu Server Host, No sound...

Discussions about using Windows guests in VirtualBox.
Post Reply
librarymark
Posts: 18
Joined: 28. Apr 2010, 15:16
Primary OS: Ubuntu other
VBox Version: OSE other
Guest OSses: Ubuntu, WIndows XP, freebsd

Windows 7 Guest, Ubuntu Server Host, No sound...

Post by librarymark »

I am not sure whether to post this here or in the Linux Hosts section. I am running windows 7 pro 32-bit on an Ubuntu Server host, HP DL380G7. We want to use virtual machines to replace physical ones in the library I work at. The idea is that people would sit at a thin client and RDP into either the Virtual Box console for the VM or into the VM directly. That way, we could use immutable disks and eliminate our maintenance of separate images.

The problem is I can't seem to make the sound work. I have the WIN7 VMset for ICH AC97, and installed the WIN7 drivers, and the VM seems to think it has a sound card, but when I RDP into the console or the VM, I get no sound.

What am I missing?
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: Windows 7 Guest, Ubuntu Server Host, No sound...

Post by Perryg »

I have the WIN7 VMset for ICH AC97, and installed the WIN7 drivers, and the VM seems to think it has a sound card, but when I RDP into the console or the VM, I get no sound.
Use the Intel audio for win7. sound over rdp must be supported and turned on in the client. vRdp may not work.
librarymark
Posts: 18
Joined: 28. Apr 2010, 15:16
Primary OS: Ubuntu other
VBox Version: OSE other
Guest OSses: Ubuntu, WIndows XP, freebsd

Re: Windows 7 Guest, Ubuntu Server Host, No sound...

Post by librarymark »

thanks for the quick response, PerryG!

I tried your suggestions, but still no sound. I can use the same image on my Windows desktop machine (running Vista) and I can get sound from the console and RDP-ing into the VM. Is there something I need to do to the Linux Host?
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: Windows 7 Guest, Ubuntu Server Host, No sound...

Post by Perryg »

AFAIK; Sound over RDP seems to work some places and not others. Since there can be so many things to deal with it is all but impossible to diagnose remotely. I would look at the server and make sure that you have a sound adapter activated since the guest will use that device. If there is no sound adapter you probably will not have sound on the guest.
librarymark
Posts: 18
Joined: 28. Apr 2010, 15:16
Primary OS: Ubuntu other
VBox Version: OSE other
Guest OSses: Ubuntu, WIndows XP, freebsd

Re: Windows 7 Guest, Ubuntu Server Host, No sound...

Post by librarymark »

So - unless I put a sound adapter on my DL380 server, it's not going to work? Interesting.
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: Windows 7 Guest, Ubuntu Server Host, No sound...

Post by Perryg »

How would the guest even have sound, local or remote? A redirect of sound would require that a guest have the ability to produce sound, which it would not without some kind of adapter. Does the guest see that it has an audio adapter?
librarymark
Posts: 18
Joined: 28. Apr 2010, 15:16
Primary OS: Ubuntu other
VBox Version: OSE other
Guest OSses: Ubuntu, WIndows XP, freebsd

Re: Windows 7 Guest, Ubuntu Server Host, No sound...

Post by librarymark »

Yes, the Win7 guest sees that it has an adapter. It's host server does not. Like I said, sound for the same VM on a windows host works. Is there a difference between the two that I am not accounting for? I do appreciate your time, Perryg!
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: Windows 7 Guest, Ubuntu Server Host, No sound...

Post by Perryg »

Sure does the Windows host have an audio adapter? Disable it and see if it works. My money goes on it will not. I would also be interested in knowing if while on the Linux server with no adapter if the guest actually says the audio is really working since it is not porting anywhere.
Sasquatch
Volunteer
Posts: 17798
Joined: 17. Mar 2008, 13:41
Primary OS: Debian other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows XP, Windows 7, Linux
Location: /dev/random

Re: Windows 7 Guest, Ubuntu Server Host, No sound...

Post by Sasquatch »

The problem with routed audio using VRDP is that VB re-routes the audio that you would otherwise hear on the Host. Since the Host has no audio card, it has nothing to route. If you RDP into the VM directly, you have to make sure that the RDP server side is accepting audio redirection. A "physical" sound card is not required for that (our terminal server on a VMWare ESXi server doesn't have a sound card attached, yet it can produce sound through RDP).

So, for your audio problem, using VB's VRDP is not an option. Using the native RDP feature of Windows takes the problem away from VB and to Windows, the TC and the client that's used to connect to the OS.
Read the Forum Posting Guide before opening a topic.
VirtualBox FAQ: Check this before asking questions.
Online User Manual: A must read if you want to know what we're talking about.
Howto: Install Linux Guest Additions
Howto: Use Shared Folders on Linux Guest
See the Tutorials and FAQ section at the top of the Forum for more guides.
Try searching the forums first with Google and add the site filter for this forum.
E.g. install guest additions site:forums.virtualbox.org

Retired from this Forum since OSSO introduction.
Post Reply