[HowTo] Enabling shared folders on Manjaro Guest with Vmware Fusion

First you must have open-vm-tools installed which has happened by default for me even when I used the minimal Gnome release.

Then you need to start and then enable some services from within the Manjaro guest vm.
These commands are typed into the terminal (bash) you do not type the $.

$ sudo systemctl start vmtoolsd.service
$ sudo systemctl start vmware-vmblock-fuse.service

After starting the services without seeing any errors then you can Enable them which will start them at boot time.

$ sudo systemctl enable vmtoolsd.service
$ sudo systemctl enable vmware-vmblock-fuse.service

Make sure the service is running after a reboot

$ sudo systemctl status vmtoolsd.service
[sudo] password for lee: 
● vmtoolsd.service - Open Virtual Machine Tools (VMware Tools)
   Loaded: loaded (/usr/lib/systemd/system/vmtoolsd.service; enabled; vendor preset: disabled)
   Active: active (running) since Thu 2019-12-05 13:39:52 EST; 3min 6s ago
 Main PID: 425 (vmtoolsd)
    Tasks: 3 (limit: 3539)
   Memory: 6.6M
   CGroup: /system.slice/vmtoolsd.service
           └─425 /usr/bin/vmtoolsd

Dec 05 13:39:52 lee-manjaro systemd[1]: Started Open Virtual Machine Tools (VMware Tools).

Set some Folders to share from your Mac desktop.

Set some folders you want to share from MacOS in the VMware Sharing settings (see menu items under Virtual Machine)
For example in mine I had set Desktop and Downloads from my Mac OS.

Make a Folder in your linux users home folder where these shared folders will show up.
For example I made /home/lee/Shares

Now mount the shares you have selected from the Vmware GUI under sharing to the folder you just created by doing the following at a terminal.

$ /usr/bin/vmhgfs-fuse -o auto_unmount,allow_other .host:/ /home/lee/Shares

Your Mac will ask you if you want to allow VMware to share folders, please allow.
Your folders from your Mac desktop and downloads should now appear in the /home/user/Shares folder.

IF everything has gone fine without errors and you have tested the folders Then proceed as below.

Now we can put this line (the bottom line in our fstab file below) in our /etc/fstab file and have the whole thing automagically happen.

$sudo nano /etc/fstab
/etc/fstab: static file system information.
#
# Use 'blkid' to print the universally unique identifier for a device; this may
# be used with UUID= as a more robust way to name devices that works even if
# disks are added and removed. See fstab(5).
#
# <file system>             <mount point>  <type>  <options>  <dump>  <pass>
UUID=D3E4-4CF2                            /boot/efi      vfat    umask=0077 0 2
UUID=84ef5c14-5b87-41fa-b405-b9b5988c56dd /              ext4    defaults,noati>
.host:/ /home/lee/Shares fuse.vmhgfs-fuse defaults,allow_other 0 0
2 Likes

Forum kindly sponsored by