解決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


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM