Enabling VMWare To Use Alsa Sound Support

From Nearline Storage
Jump to: navigation, search

ALSA is not supported by VMWare. It is possible to use the alsa-oss library to enable VMWare to use ALSA, at least on Fedora Core 4 with VMWare Workstation 5.5.2.

  1. Download, compile and install the alsa-oss library.
  2. Modify the VMWare script called /usr/lib/vmware/lib/wrapper-gtk24.sh at line 120 to include /usr/lib/libaoss.so in the LD_PRELOAD environment variable.
115     vm_run() {
116        local exitCode;
118        # Append any libraries that are still missing.
119        if [ "$VMWARE_USE_SHIPPED_GTK" = 'force' ]; then
120           export LD_PRELOAD="$LD_PRELOAD":/usr/lib/libaoss.so:"`LANGUAGE=C LANG=C ldd "$binary" | vm_append_missing`"
121        else
122           export LD_LIBRARY_PATH="$LD_LIBRARY_PATH":"`LANGUAGE=C LANG=C ldd "$binary" | vm_append_missing`"
123        fi