解决方案:
(1) 打开VMware--》vm菜单--》install vmware tool选项(要先将虚拟机设置里floppy设置为Auto detect,CD/DVD和CD/DVD2都必须不能设置成Auto detect)。
如果安装成功,会在Ubuntu左侧菜单出现CD/DVD图标(旁边有绿色箭头)。
(2)
打开左侧DVD图标,将压缩包复制到左侧files图标文件下。
cd ~->tar -xf VMwareTools-9.2.3-1031360.tar.gz,得到vmware-tools-distrib,cd vmware-tools-distrib进入这个目录,./vmware-install.pl,中间全ENter(当出现”what is the location of the “ifconfig”program on your machine?”时直接输入“yes”,再回车即可)。
(3) sudo reboot即可