Sup everybody. Not sure if this happened to any1 else besides me. But if you did a kali dist-upgrade in the past few days to the 4.6.0-kali1 kernel, and u run vmware inside ur kali install, and the upgrade broke vmware, here's the fix.
first type 'vmware-installer -l'
it will probly look similar to this
root@device:/usr/lib/vmware# vmware-installer -l
Gtk-Message: Failed to load module "atk-bridge": /usr/lib/x86_64-linux-gnu/libatspi.so.0: undefined symbol: g_type_class_adjust_private_offset
Product Name Product Version
Notice the atk-bridge error. We can fix this problem by opening up /usr/bin/vmware-installer and adding
somewhere near the beginning of the file
It's still gonna give you an error when trying to recompile the drivers tho. I guess there's a bug that affects
kernel 4.6.0-1 on Debian Stretch
kernel 4.6.1-2 on Archlinux
I know Kali's Debian Testing branch, but it's the same error and it occurs when upgrading to that kernel.
The fix for this is as follows.....
tar -xvf vmmon.tar
sed -i 's/get_user_pages/get_user_pages_remote/g' vmmon-only/linux/hostif.c
tar -xvf vmmon.tar vmmon-only
rm -fR vmmon-only
tar -xvf vmnet.tar
sed -i 's/get_user_pages/get_user_pages_remote/g' vmnet-only/userif.c
tar -cvf vmnet.tar vmnet-only
rm -fR vmnet-only
This should completely fix any probs with vmware. At least it did for me
PS. wasn't sure if this belonged in Tuts, Virtual, Kali, or General Discussion lol. Feel free to move it if i guessed wrong