VMware Communities
bhunter904
Contributor
Contributor

no sound device for Linux mint

I am running Linux Mint 13 (Cinnamon) in vmware player 5 on a host computer (win7 64). After i log in an error comes up from the vm saying "Error opening sound device 0:" I took a course on linux but don't remember much and i can't seem to find anything on the internet so far. Can some help me please?

0 Kudos
3 Replies
play3r
Contributor
Contributor

I was getting the same error message when running Fedora 18 in VMware Player 5.0.1 and I fixed it with a couple of configureation changes in Fedora.

In recent distributions of linux sound has been handled by PulseAudio.  In the past, I have had much better luck with Alsa.  However, I had found a fix that worked for pulseaudio in "real" installations and decided to try it in "virtual."

1) (in the guest host) modify /etc/asound.conf to contain only these lines:

pcm.pulse { type pulse }
ctl.pulse { type pulse }
pcm.!default { type pulse }
ctl.!default { type pulse }

[ I may have rebooted the guest host and or the virtual machine at this point ]

2) reconnect the "virtual" sound card

right click on the speaker icon to the right of the VMware toolbar

3) from within (the guest host) linux (in my case Fedora) select the appropriate sound configuration hardware profile:

in my case since, I just had stero speakers, I chose "Analog Stero Output"

Hoe this helps you and others.

0 Kudos
ramkrishna1
Enthusiast
Enthusiast

Hi bhunter904

Welcome to the communities.

First you may need to check is your hardware come under HCL list or not .

If not then either use those version which support your hardware or upgrade your hardware .

"concentrate the mind on the  present moment.".
0 Kudos
nmb255
Contributor
Contributor

I searched for lots of solutions to this problem. None of them worked for me, most of them seemed doubtful to begin with. Then I found this which solved the problem completely.

On your host machine edit the .vmx file for the virtual machine in question. Find the entries for sound near the top of the file.

The Entries that I had where:

     sound.present = "TRUE"

     sound.fileName = "Realtek Digital Output (Realtek"

Changing/Adding them to these worked

     sound.present = "TRUE"

     sound.fileName = "-1"

     sound.autodetect = "TRUE"

This completely cured the problem and sound worked perfectly from them on.

0 Kudos