I noticed most of the answers are pretty ancient.
What worked for me on Ubunt 18.04 (bionic) is:
sudo vmhgfs-fuse .host:/ /mnt/hgfs/ -o allow_other -o uid=1000
That magically mounted all shared folders for me. You might have to do that for a specific folder instead of .host:/
. In that case you can find out the share's name wiht vmware-hgfsclient
.
If you want them mounted on startup:
# Use shared folders between VMWare guest and host
#+goes in /etc/fstab
.host:/ /mnt/hgfs/ fuse.vmhgfs-fuse defaults,allow_other,uid=1000 0 0
I choose to mount them on demand and have them ignored by sudo mount -a
and the such with the noauto
option, because I noticed the shares have an impact on VM performance.
I of course have done sudo apt-get install open-vm-tools open-vm-tools-desktop
beforehand. It didn't take anything else as far as I can remember. However, other have claimed a sudo apt-get install build-essential module-assistant linux-headers-virtual linux-image-virtual && dpkg-reconfigure open-vm-tools
was necessary.
vmware-config-tools.pl
worked for me. – jchook Jul 20 '15 at 17:16