Clipboard Sharing, Autosize, and Smooth Mouse in VMware

Configuring and tweaking your GhostBSD System.

Moderator: Developer

Clipboard Sharing, Autosize, and Smooth Mouse in VMware

Postby tuaris » Fri Mar 20, 2015 1:02 am

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 port or package. I've tested these steps on GhostBDS 4 and GhostBSD 10.1 alpha 2. For more detailed steps see http://www.unibia.com/unibianet/freebsd ... sd-10-xorg.

Code: Select all
pkg install -y open-vm-tools xf86-video-vmware xf86-input-vmmouse


Edit the xorg.conf file.

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
Section "ServerLayout"
...
Option       "AutoAddDevices" "Off"
...
EndSection


Then switch the drivers to the vmware ones. Look for:
Code: Select all
Driver      "mouse"
Driver      "vesa"


Change them to:
Code: Select all
Driver      "vmmouse"
Driver      "vmware"


Enable 'moused', open-vmtools, and disable virtualbox in /etc/rc.conf.
Code: Select all
# Mouse
moused_enable="YES"

# Virtual Box adition configuration
#vboxguest_enable="YES"
#vboxservice_enable="YES"

# VMWare Tools
vmware_guest_vmblock_enable="YES"
vmware_guest_vmhgfs_enable="YES"
vmware_guest_vmmemctl_enable="YES"
vmware_guest_vmxnet_enable="YES"
vmware_guestd_enable="YES"


Reboot, enable software composting if desired and enjoy.
Image

Note: Updated for 10.1 alpha 2
Last edited by tuaris on Fri Mar 20, 2015 2:59 am, edited 6 times in total.
User avatar
tuaris
 
Posts: 5
Joined: Sun Dec 07, 2014 11:44 pm

Clipboard Sharing, Autosize, and Smooth Mouse in VMware

 

Re: Enable Clipboard Sharing and Autosize in VMware

Postby tuaris » Fri Mar 20, 2015 1:05 am

Unfortunately the 10.1 alpha 1 has an issue where PCDM is not working. You will need to disable it via /etc/rc.conf and manually issue a 'startx' command. Also, the installer fails to write a network configuration to rc.conf that will prevent you from downloading anything.

A quick

Code: Select all
dhclient em0


Will fix the network issue until the next reboot. Add this to your /etc/rc.conf to make it permanent:

Code: Select all
ifconfig_em0="dhcp"
User avatar
tuaris
 
Posts: 5
Joined: Sun Dec 07, 2014 11:44 pm

Re: Clipboard Sharing, Autosize, and Smooth Mouse in VMware

Postby tuaris » Fri Mar 20, 2015 2:49 am

Looks like the problems with PCDM, package repositories, and networking are fixed in Alpha 2. I've updated the instructions to use packages instead of building from ports.
User avatar
tuaris
 
Posts: 5
Joined: Sun Dec 07, 2014 11:44 pm

Re: Clipboard Sharing, Autosize, and Smooth Mouse in VMware

Postby tuaris » Fri Mar 20, 2015 3:20 am

If your getting virtualbox notification errors on login you should disable the virtualbox client from the session startup applications

Image
User avatar
tuaris
 
Posts: 5
Joined: Sun Dec 07, 2014 11:44 pm

Re: Clipboard Sharing, Autosize, and Smooth Mouse in VMware

Postby ericbsd » Sat Mar 21, 2015 12:25 am

Nice work!
ericbsd
Developer
 
Posts: 503
Joined: Mon Nov 19, 2012 11:54 pm


Return to Tips and Tricks

Who is online

Users browsing this forum: No registered users and 0 guests

cron