After installing Vmware-tools shared folder has been unable to use, in the online toss a lot of methods, finally found success.
Install more vmware-tools several times, the correct time is as follows:
[email protected]:~/desktop$ CD vmware-tools-distrib/[email protected]:~/desktop/vmware-tools-distrib$ Lsbin CAF Doc etc FILES INSTALL installer Lib Vgauth vmware-install.pl vmware-install.real.pl[email protect ed]:~/desktop/vmware-tools-distrib$ sudo./vmware-install.pl [sudo] password for leozheng:the installer have detected an E xisting installation of Open-vm-tools on the this system and won't attempt to remove and replace these user-space Applicati Ons. It is recommended to use the Open-vm-tools packages provided by the operating system. If you don't want to use the existing installation of Open-vm-tools and attempt to install VMware tools, you must Uninsta ll the Open-vm-tools packages and re-run this installer. The packages, need to be removed are:open-vm-toolsthe installer would next check if there is any missing kernel driver S. Type yesif want to does this, otherwise Type no [yes] A previous installation of VMware Tools have been detected. The previousInstallation was made by the Tar Installer (version 4). Keeping the TAR4 Installer database format. You have a version of VMware Tools installed. Continuing this install would first uninstall the currently installed version. wish to continue? (yes/no) [Yes] Uninstalling the TAR installation of VMware tools.stopping services for VMware toolsstopping VMware Tools Services in the Virtual Machine:vmware User Agent (vmware-user): Done unmounting HGFS shares: Done Guest filesystem Driver:donesto Pping Thinprint Services in the virtual machine:stopping virtual Printing Daemon:don EThe removal of VMware Tools 10.0.0 build-2977863 for Linux completed successfully. Installing VMware tools.in which directory do I want to install the binary files? [/usr/bin] What's the directory that contains the init directories (rc0.d/to RC6.d/)? [etc] What's the directory that contains the init scripts? [/ETC/INIT.D] In which directory does want to install the daemon files? [/usr/sbin] In which directory does want to install the library files? [/usr/lib/vmware-tools] The path "/usr/lib/vmware-tools" does not exist currently. This are going to create it, including needed parent directories. What are you want? [Yes] In which directory does want to install the documentation files? [/usr/share/doc/vmware-tools] The path "/usr/share/doc/vmware-tools" does not exist currently. This are going to create it, including needed parent directories. What are you want? [Yes] The installation of VMware Tools 10.0.0 build-2977863 for Linux completed successfully. You can decide to remove this software from your system at any time by invoking the following command: "/usr/bin/vmware-un install-tools.pl ". Before running VMware Tools for the first time, you need to configure it by invoking the following command: "/usr/bin/vmware-config-tools.pl ". Do you want the "to invoke the" command for? [Yes] The file/usr/bin/vmware-hgfsclient that is about to install already exists. Overwrite? [No] yesthe file/usr/bin/vmhgfs-fuse that the is about to install already exists. Overwrite? [No] yesinitializing ... Making sure services for VMware Tools is stopped. Stopping Thinprint services in the virtual machine:stopping virtual Printing daemon: Donestopping VMware Tools Services in the virtual Machine:vmware User Agent (vmware-user): Done unmounting HGFS shares:done Guest filesystem driver: Doneupdate-rc.d:warning:start and stop actions are no longer supported; Falling back to Defaultsupdate-rc.d:warning:start and stop actions is no longer supported; Falling back to Defaultsthe module VMCI have alreadY been installed on the system by another installer or the package and would not be modified by this installer. The module Vsock have already been installed on this system by another Installeror package and won't be modified by this Installer. The module Vmxnet3 have already been installed on this system by another installer or package and won't be modified by T His installer. The module PVSCSI have already been installed on this system by another installer or package and won't be modified by th is installer. The module Vmmemctl have already been installed on this system by another installer or package and won't be modified by This installer. The VMware host-guest Filesystem allows for gkfx folders between the Host OS and the Guest os in a Fusion or Workstation Virtual environment. Does wish to enable this feature? [Yes] The vmxnet driver is no longer supported on kernels 3.3 and greater. Upgrade to a newer virtual NIC. (e.g., vmxnet3 or e1000e) VMware Automatic kernel modulesEnables automatic building and installation Ofvmware kernel modules at boot that is not already present. This feature canbe enabled/disabled by re-running vmware-config-tools.pl.would your like to enable VMware automatic kernel Modules? [Yes] Thinprint provides driver-free printing. Does wish to enable this feature? [Yes] Creating a new INITRD boot image for the kernel.update-initramfs:generating/boot/initrd.img-4.4.0-21-generic starting Virtual Printing daemon:done Checking ACPI Hot Plug Donestarting VMware Tools Services in the virtual machine:switching to guest configuration: Done VMware Automatic kmods:done Guest filesystem Driv Er:done mounting HGFS Shares: Done VMware User Agent: Donethe configuration of VMware Tools 10.0.0 build-2977863 for Linux for this running kernel completed SUCCESSFU Lly. Enjoy,--the VMware team[email protected]:~/desktop/vmware-tools-distrib$
[Email protected]:~/desktop/vmware-tools-distrib$ lsmod | grep vmvmw_vsock_vmci_transport 32768 0vsock 32768 1 Vmw_vsock_vmci_transportvmw_balloon 20480 0vmw_vmci 61440 2 vmw_vsock_vmci_transport,vmw_balloonvmw_pvscsi 24576 0vmxnet3 49152 0vmwgfx 204800 3ttm 90112 1 vmwgfxdrm_kms_helper 131072 1 vmwgfxdrm 311296 6 ttm,drm_kms_helper,vmwgfx
There is still no vmhgfs! in the lsmod execution result, but the shared directory has already appeared in/mnt/hgfs.
Ubuntu16 using shared folders in VMware