Clipboard Sharing, Autosize, and Smooth Mouse in VMware
Posted: Thu Mar 19, 2015 10:02 pm
To enable clipboard sharing, auto-resize, and get a smoother mouse in a VMWare guest you will need to use the emulators/open-vm-tools package. These steps are specifically for GhostBSD 10.3, 11.1, and 18.10. For more detailed and generalized steps see http://www.unibia.com/unibianet/freebsd ... sd-10-xorg.
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:
To learn what the above script does, read on...
Full Instructions
Install the drivers:
Create a configuration file that forces Xorg to use the correct mouse driver by using the following command.
Note: There is a bug in new Xorg where you will need to disable hot plugging in order to load the correct mouse driver:
Enable VMWare Tools:
By default GhostBSD ships with moused enabled. If for some reason it was disabled, you should re-enable it using:
Reboot, enable software composting if desired and enjoy.
Note: Updated for 10.3 release
Note: Confirmed to work on 18.10 release
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