Ubuntu共享文件mnt/hgfs下没有显示设置的共享目录的解决方法

mnt/hgfs下没有显示设置的共享目录

一、ubuntu16

解决办法:

1.apt-get install open-vm-tools

2.vmhgfs-fuse .host:/  /mnt/hgfs

 

二、ubunt14.04

出现问题:

make[2]: *** [/tmp/modconfig-O5xscq/vmhgfs-only/dir.o] Error 1 make[2]: ** Esperando que outros processos terminem. Makefile:1394: recipe for target '_module_/tmp/modconfig-O5xscq/vmhgfs-only' failed make[1]: *** [_module_/tmp/modconfig-O5xscq/vmhgfs-only] Error 2 make[1]: Leaving directory '/usr/src/linux-headers-3.19.0-15-generic'

 

解决方法:

Please ensure that latest Workstation 11 is installed. 
Make sure open-vm-tools is not installed.

sudo apt-get remove open-vm-tools
  • 1

1.Make sure the updates are done:

sudo apt-get update
  • 1

2.Make sure git is installed

sudo apt-get install git
  • 1

3.Run the command to get the tools from repository.

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

或者

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

4.cd to vmware-tools-folder

cd vmware-tools-patches
  • 1

5.Run the patch

sudo ./download-tools.sh
  • 1

6.Run the following patch

sudo ./untar-and-patch.sh
  • 1

7.Run the complie.sh file

sudo ./compile.sh
  • 1

转载于: 
https://communities.vmware.com/thread/509898?start=0&tstart=0

你可能感兴趣的:(Ubuntu共享文件mnt/hgfs下没有显示设置的共享目录的解决方法)