some centos distribution has no open-vm-tools package, so we need to compile it by hand:
yum install libmspack-devel pam-devel xmlsec1-devel libXext-devel libXinerama-devel libXrender-devel libXrandr-devel libXtst-devel gtk3-devel gtkmm30-devel libtirpc-devel rpcgen libtool-devel git clone https://github.com/vmware/open-vm-tools.git cd open-vm-tools/open-vm-tools autoreconf -i ./configure make make install vmware-user
ps. how to enable auto-fitting with resolution
#install driver yum install xorg-x11-drv-vmware #add option to configure open-vm-tools ./configure --enable-resolutionkms make make install #startup two vmtoolsds, one for vmusr, one for vmsvc which serves auto-resizing vmware-user vmtoolsd