Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/bash
- ################################################## ##############################
- # Call VMWare Server�s Remote Console in a clean GTK setup.
- ################################################## ##############################
- # Clean GTK setup for VMWare
- export VMWARE_USE_SHIPPED_GTK=yes
- export GDK_NATIVE_WINDOWS=true
- # Find console executable in Firefox plugins.
- vmrc="$(find "$HOME/.mozilla/firefox" -name vmware-vmrc -type f -perm -111 | tail -1)"
- [ -x "$vmrc" ] || exit 1
- VMLIB=$(dirname "$vmrc")
- VMLIB=$(dirname "$VMLIB")/lib
- export LD_LIBRARY_PATH=$VMLIB/libexpat.so.0:$VMLIB/libsexymm.so.2:$VMLIB/libview.so.2:$VMLIB/libvmwarebase.so.0:$VMLIB/libvmwareui.so.0:$VMLIB/libgvmomi.so.0
- set -x
- cd "$(dirname "$vmrc")" && "$vmrc" -h 192.168.117.33:8333
Add Comment
Please, Sign In to add comment