解决VMwareTools在Ubuntu下经常失效的问题

用VM虚拟机怎么能少了VMware Tools呢?它可以帮助你跨虚拟机复制粘贴、拖动文件、适应窗口大小等,很是方便。安装教程网上一大堆不再赘述

实际使用中发现这个Tools总是失效啊,经常用着用着莫名其妙自己就失效了,很不方便

百度&谷歌数小时无果,都准备放弃时,发现了这个:vmware-tools-patches

结合之前搜到的一些讯息,大概可以判断出VMware Tools在Ubuntu下不稳定,一些功能会时不时自动失效,通过这个补丁来安装VMware Tools的话就能解决这些问题

现在就用这个补丁来安装VMware Tools吧!

apt-get install dkms linux-headers-$(uname -r) build-essential psmisc
git clone https://github.com/rasa/vmware-tools-patches.git
cd vmware-tools-patches

然后对着虚拟机的标签页右键,选择“安装/重新安装VMware Tools”

这时VMware会自动挂载CD驱动器,打开CD驱动器,找到

VMwareTools-x.x.x-xxxxxxx.tar.gz 文件
(x表示任意数字)

把它复制到vmware-tools-patches目录

./untar-and-patch-and-compile.sh

然后它就会全自动帮你安装VMware Tools了

装完后重启,问题迎刃而解~

转自:https://www.mokeyjay.com/archives/1118/amp

解决vmtools已安装但还是不能共享文件、复制粘贴

环境:win10专业版+VMware12.5.2 build-4638234+Ubuntu16.04

一、检查基础设置 

 

 注意:宿主机(win10)下面先得把share文件设置成共享文件。如下图

二、Vm-tools 正常安装多次无果

并且 vmtools重装之前要完全卸载!!

步骤如下:

sudo vmware-uninstall-tools.pl

Uninstall just open-vm-tools

sudo apt-get remove open-vm-tools

This will remove just the open-vm-tools package itself.

Uninstall open-vm-tools and its dependencies

sudo apt-get remove --auto-remove open-vm-tools

This will remove the open-vm-tools package and any other dependant packages which are no longer needed.

Purging your config/data too

If you also want to delete your local/config files for open-vm-tools then this will work.

sudo apt-get purge open-vm-tools

Or similarly, like this open-vm-tools

sudo apt-get purge --auto-remove open-vm-tools

三、检查vmware-tools自启动

比如360这种是否把它屏蔽了。

四、最后运行vmware-tools补丁

终端输入

git clone https://github.com/rasa/vmware-tools-patches.git

再 reboot

应该是OK了,实在不行,换个高版本吧。

注意::win和虚拟机之间拖动文件,有时WMware没识别成功鼠标拖动文件消息,多晃动一下。

转自:https://blog.csdn.net/zerolity/article/details/81206476

猜你喜欢

转载自www.cnblogs.com/liushui-sky/p/12893040.html