If you have Ubuntu 16.04 installed on ESXi, it is a good idea to install VMware Tools for administration. You can also install it in the way provided by the official website. See link below.
If you want to install it easier, use the command below.
sudo apt-get install open-vm-tools-desktop
If you have Centos 7, you can install it using the yum command.
yum install open-vm-tools