VMWare Failed to Open Sound Device

After adding a sound device to VMWare I got a “Failed to Open Sound Device, Busy” error. To fix the problem, I patched together instructions from several comments at http://ubuntuforums.org/showthread.php?t=331175. Below are my new instructions.

  1. sudo su
  2. apt-get install alsa-oss
  3. chmod +s /usr/lib/libaoss.so.*
  4. mv /usr/bin/vmware /usr/bin/vmware.orig

Next, we modify the vmware script. This part didn't work for me, but I completed it anyway.

  1. echo '#!/bin/bash' > /usr/bin/vmware
  2. echo 'LD_PRELOAD=libaoss.so exec /usr/bin/vmware.orig “$@”' » /usr/bin/vmware
  3. chmod +x /usr/bin/vmware

Next, we move the vmware-vmx file and replace it with a script. This is the part that worked for me.

  1. cd /usr/lib/vmware/bin
  2. mv vmware-vmx vmware-vmx.real
  3. echo '#!/bin/bash' > vmware-vmx
  4. echo 'LD_PRELOAD=libaoss.so exec /usr/lib/vmware/bin/vmware-vmx.real “$@”' » vmware-vmx
  5. chmod +x vmware-vmx
  6. exit
comments powered by Disqus
linux/vmware_failed_to_open_sound_device.txt · Last modified: 2020/06/01 22:53 (external edit)