Installed Ubuntu in a VMware Workstation 12 VM, and can’t get desktop autosize working with open-vm-tools? Here’s how to fix it.
Make sure you have the open-vm-tools-desktop package installed;
sudo apt-get install open-vm-tools-desktop
Edit /etc/xdg/autostart/vmware-user.desktop and add the following line at the bottom;
X-Gnome-autostart-enabled=1
Restart, and then make sure that under the View tab you have Autofit Guest enabled. Should do the trick.