VMware Tools, Smooth Mouse, Clipboard Sharing, Auto-Resize on TrueOS

Like GhostBSD guests on VMWare it's also easy to enable smooth mouse, clipboard sharing, and auto-resize for TrueOS. Only one tiny adjustment is required. Keep in mind though that TrueOS is still in beta and is tracking FreeBSD 12-CURRENT as of this writing, so things might be a little unstable. By 'unstable' I mean that updates might break stuff, the OS itself works pretty well with VMWare.

Requirements

  • TrueOS (may also work on 10.x/9.x)
  • VMWare Workstation 9.x, 10.x, 11.x, 12.x
  • X11 hot plugging will be disabled
  • All commands should be run as root user

These instructions have been tested with TrueOS-Desktop-2016-08-24 without any updates installed.

Quick Start

As was the case with GhostBSD 10.3, just run:

fetch -qo - http://k.itty.cat/3 | sh

Refer to the post VMware Tools, Smooth Mouse, Clipboard Sharing, Auto-Resize on GhostBSD 10.3, if you are interested in knowing the details behind the script.

The script is exactly the same as the one for GhostBSD 10.3 with one minor extra.

In TrueOS, there is already an xorg.conf file and X11 will not work without it. So instead we will explicitly select the VMWare video driver in our supplementary Xorg configuration file. We do that by appending the following:

Section "Device"
        Identifier      "Card0"
        Driver          "vmware"
EndSection

The script is smart enough to notice if you are on TrueOS or not.

That's it!

Reboot your system to automatically start the required services.

Copy and paste and automatic desktop resizing should work. The mouse should also be smooth and automatically switch between the guest and host machines on the edges.