Ubuntu virtual machine
sudo apt-get autoremove open-vm-tools
//Remove the system's original virtual tool bar open-vm-tools
sudo apt-get install open-vm-tools-desktop
//Install the desktop version of the virtual toolbar, support drag and drop between windows and ubuntu
reboot
// restart
Windows10 virtual machine
Click on the tab for the virtual machine at the top
Then click Install VMware Tools in the drop-down menu
Follow the steps to restart the virtual machine after the installation is complete