docsmooth / vmware-bumblebee

Bash Script to start VMware Workstation under Bumblebee Primus/Optimus hybrid drivers
GNU General Public License v2.0
28 stars 10 forks source link

vmware-vmx is not executable #19

Open McFredward opened 7 years ago

McFredward commented 7 years ago

I can't install this script, I always get this error: I am on Debian Jessie with KDE. I'm using VMWare Workstation 11. Some error with the paths in Jessie I think. Or is there any way to install it manually? I want to use this script to open VMWare through a vmware-unity-helper --run shortcut too.

sudo -E bash -x ./vmplayer -i

+ gVers=2.0
+ ACADAPTER=/sys/class/power_supply/AC
+ BATTERY=/sys/class/power_supply/BAT0
+ FORCE3D=a
+ DO3D=n
++ basename ./vmplayer
+ scriptname=vmplayer
+ echo -i
+ egrep -q -w '(help|h|\?)'
+ '[' 1 -eq 0 ']'
++ which gksudo
+ '[' -x '' ']'
++ which gksu
+ '[' -x '' ']'
++ which kdesudo
+ '[' -x '' ']'
+ echo 'WARNING: no graphical sudo found - using '\''sudo -E'\'', which requires a working terminal.'
WARNING: no graphical sudo found - using 'sudo -E', which requires a working terminal.
+ SUDO='sudo -E'
+ determineos
++ uname -p
+ ARCH=unknown
+ '[' unknown = unknown ']'
++ uname -m
+ ARCH=x86_64
+ '[' x86_64 = unknown ']'
++ which dpkg
+ '[' /usr/bin/dpkg ']'
+ OStype=deb
++ grep -c -i ubuntu /etc/os-release
+ '[' 0 -gt 0 ']'
+ grep -q debian /etc/os-release
+ DISTRO=debian
+ LIB32=/lib/i386-linux-gnu
+ ULIB32=/usr/lib/i386-linux-gnu
+ LIB64=/lib/x86_64-linux-gnu/
+ ULIB64=/usr/lib/x86_64-linux-gnu/
+ NVIDIA_DEST32=/usr/lib/i386-linux-gnu
+ '[' -d /usr/lib/i386-linux-gnu/linux-gnu ']'
+ NVIDIA_DEST64=/usr/lib/x86_64-linux-gnu/
+ '[' -d /usr/lib/x86_64-linux-gnu//linux-gnu ']'
+ '[' x86_64 = x86_64 -o x86_64 = amd64 ']'
+ ULIB=/usr/lib/x86_64-linux-gnu/
+ LIB=/lib/x86_64-linux-gnu/
+ NVIDIA_DEST=/usr/lib/x86_64-linux-gnu/
+ '[' -z /usr/lib/x86_64-linux-gnu/ ']'
+ '[' -z /lib/x86_64-linux-gnu/ ']'
+ '[' -z debian ']'
+ '[' -z /usr/lib/x86_64-linux-gnu/ ']'
+ '[' -d /usr/lib/x86_64-linux-gnu//nvidia/current ']'
+ nvdir=/usr/lib/x86_64-linux-gnu//nvidia/current
++ dirname /usr/lib/x86_64-linux-gnu//nvidia/current
+ nvdir=/usr/lib/x86_64-linux-gnu//nvidia
++ basename /usr/lib/x86_64-linux-gnu//nvidia
+ NVIDIAVERSION=nvidia
+ echo 'Using NVIDIAVERSION nvidia from directory '\''/usr/lib/x86_64-linux-gnu//nvidia'\'''
Using NVIDIAVERSION nvidia from directory '/usr/lib/x86_64-linux-gnu//nvidia'
+ export ARCH
+ export DISTRO
+ export OStype
+ export ULIB
+ export LIB
+ export ULIB32
+ export ULIB64
+ export NVIDIA_DEST
+ export NVIDIAVERSION
+ echo -i
+ egrep -q -w '(yes|y|f|force)'
+ '[' 1 -eq 0 ']'
+ echo -i
+ egrep -q -w '(n|no)'
+ '[' 1 -eq 0 ']'
+ echo -i
+ egrep -q -w '(r|remove)'
+ '[' 1 -eq 0 ']'
+ echo -i
+ egrep -q -w '(i|install)'
+ '[' 0 -eq 0 ']'
+ '[' root = root ']'
+ '[' debian = fedora ']'
+ '[' debian = opensuse ']'
+ installvmx_script
+ backup_file 'setuid ELF' /usr/lib/x86_64-linux-gnu//vmware/bin/vmware-vmx
+ FILETYPE='setuid ELF'
+ shift
+ FILE=/usr/lib/x86_64-linux-gnu//vmware/bin/vmware-vmx
+ '[' -x /usr/lib/x86_64-linux-gnu//vmware/bin/vmware-vmx ']'
+ echo 'ERROR: /usr/lib/x86_64-linux-gnu//vmware/bin/vmware-vmx is not executable!'
ERROR: /usr/lib/x86_64-linux-gnu//vmware/bin/vmware-vmx is not executable!
+ echo 'Don'\''t know how to continue!'
Don't know how to continue!
+ exit 16
docsmooth commented 7 years ago

Can you run: find /usr/lib -name vmware-vmx

and let me know the output?

Jcfunk commented 7 years ago

Running Debian 64bit

root@MobileSpace:/usr/bin# vmplayer -i
Using NVIDIAVERSION nvidia from directory '/usr/lib/x86_64-linux-gnu//nvidia'
ERROR: /usr/lib/x86_64-linux-gnu//vmware/bin/vmware-vmx is not executable!
Don't know how to continue!

Here is output from find /usr/lib -name vmware-vmx

root@MobileSpace:/usr/bin# find /usr/lib -name vmware-vmx
/usr/lib/vmware/bin/vmware-vmx