看了好多文章尝试过各种办法,屏幕可以自适应但是复制粘贴文件还是有问题,最终结合了几篇文章终于解决了问题,先把引文链接附上:
- https://www.crifan.com/vmware_workstation_ubuntu_install_vmware_tools_enter_the_path_to_the_kernel_header_files_for_the_3_8_0_27_generic_kernel/
- https://blog.youkuaiyun.com/zerolity/article/details/81206476
- https://blog.youkuaiyun.com/prettyshuang/article/details/69100824
先写出最直接的解决方案:卸载之前的open-vm-tools,在安装新的open-vm-tools,vm-tools重装之前要完全卸载!!
步骤如下:
sudo vmware-uninstall-tools.pl
Uninstall just open-vm-tools
sudo apt-get remove open-vm-tools
Uninstall open-vm-tools and its dependencies
sudo apt-get remove --auto-remove open-vm-tools
Purging your config/data too
sudo apt-get purge open-vm-tools
sudo apt-get purge --auto-remove open-vm-tools
最后运行vmware-tools补丁
终端输入
git clone https://github.com/rasa/vmware-tools-patches.git
再 reboot
然后,对,还有然后!!!!!
sudo apt-get install open-vm-tools
sudo apt-get install open-vm-tools-desktop
安装 open-vm-tools-desktop,这下应该就可以拖拽文件啦!