This shows you the differences between two versions of the page.
| — |
linux:vmware_failed_to_open_sound_device [2020/06/01 22:53] (current) |
||
|---|---|---|---|
| Line 1: | Line 1: | ||
| + | ====== 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. | ||
| + | |||
| + | - sudo su | ||
| + | - apt-get install alsa-oss | ||
| + | - chmod +s /usr/lib/libaoss.so.* | ||
| + | - 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. | ||
| + | |||
| + | - echo '#!/bin/bash' > /usr/bin/vmware | ||
| + | - echo 'LD_PRELOAD=libaoss.so exec /usr/bin/vmware.orig "$@"' >> /usr/bin/vmware | ||
| + | - 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. | ||
| + | |||
| + | - cd /usr/lib/vmware/bin | ||
| + | - mv vmware-vmx vmware-vmx.real | ||
| + | - echo '#!/bin/bash' > vmware-vmx | ||
| + | - echo 'LD_PRELOAD=libaoss.so exec /usr/lib/vmware/bin/vmware-vmx.real "$@"' >> vmware-vmx | ||
| + | - chmod +x vmware-vmx | ||
| + | - exit | ||