One Liner
For those who are impatient, or if you have no X11 desktop and want to save in typing, just run this on the console as root:
Code: Select all
fetch -qo - http://k.itty.cat/3 | sh
Full Instructions
Install the drivers:
Code: Select all
pkg install -y open-vm-tools xf86-video-vmware xf86-input-vmmouse
Note: There is a bug in new Xorg where you will need to disable hot plugging in order to load the correct mouse driver:
Code: Select all
sh -c 'echo -e "Section \"ServerFlags\"\n\tOption\t\t\"AutoAddDevices\"\t\"false\"\nEndSection\nSection \"InputDevice\"\n\tIdentifier\t\"Mouse0\"\n\tDriver\t\t\"vmmouse\"\n\tOption\t\t\"Device\"\t\"/dev/sysmouse\"\nEndSection"' > /usr/local/etc/X11/xorg.conf.d/vmware.conf
Code: Select all
sysrc -f /etc/rc.conf.d/vmware.conf vmware_guest_vmblock_enable="YES" vmware_guest_vmhgfs_enable="YES" vmware_guest_vmmemctl_enable="YES" vmware_guest_vmxnet_enable="YES" vmware_guestd_enable="YES"
Code: Select all
sysrc moused_enable="YES"
Note: Updated for 10.3 release
Note: Confirmed to work on 18.10 release