Monday 3 March 2008

Fixing the sound in Ubuntu on VMware

Installing Ubuntu on VMware went OK, the only thing was, there was no sound. When clicking on the sound icon to turn on the sound the OS reported that there was no sound hardware.

Investigating the issue, I found that the virtual machine configuration that VMware server supplied for Ubuntu had no reference to sound devices. This was quickly fixed by adding the following two lines into the .vmx file holding the machine definition.
sound.present = "TRUE"
sound.virtualDev = "es1371"
These lines were added just after the definition for the Ethernet device. On rebooting the virtual machine the sound was enabled.

My guess is that VMware defaults are designed for serious server use rather than playing with desktops, hence the lack of a default sound card in the configuration.

4 comments:

Anonymous said...

Doesn't work for me.

Anonymous said...

THANKS A TON!!
THANK YOU VERY MUCH !!!

Anonymous said...

This did not work for me either. I'm using an Alienware PC that has Realtek audio. I'm seeing lots of people with Realtek audio complaining about this same issue. Ubuntu 12.04.1 desktop, updated 2012-1115 and VMWare workstation 8.0.4 build-744019.

King of the ghetto said...

Same here!