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

in debian8 occured error #20

Closed turbin closed 7 years ago

turbin commented 7 years ago

Hi, I donwloaded the script and executed then the error displaied in my console:

turbineyan@debian-turbineyan-T430s:~/bin/vmplayer_launcher$ sudo ./vmware -i
Using NVIDIAVERSION nvidia from directory '/usr/lib/x86_64-linux-gnu//nvidia'
ERROR:  is not a setuid ELF!
/usr/lib/x86_64-linux-gnu//vmware/bin/vmware-vmx: setuid Bourne-Again shell script, ASCII text executable
ERROR: Refusing to continue!

any idea ?

docsmooth commented 7 years ago

Sorry for the delay getting back here. In my Ubuntu install of VMware Workstation 12.5.7, the file is /usr/lib/vmware/bin/vmware-vmx and it's an ELF.

If that file really is a shell script, perhaps you ran the install twice? "-i" is only needed the very first time, after that you run it by simply calling "vmware" as yourself.

docsmooth commented 7 years ago

I just merged a fix from the vwmare12 branch that should solve this. Please update and try again. if it's still not working, reopen this issue and paste the output of: "bash ./vmware-bumblebee -x"