How to fix the issue of missing Ubuntu shared file hgfs?

To resolve the issue of invisible HGFS shared files in Ubuntu, you can try the following methods:

  1. Reinstall VMware Tools by selecting “Install VMware Tools” from the Virtual Machine menu. This will mount a virtual optical drive, allowing you to run the installation script. Once installation is complete, restart the virtual machine.
  2. Check the mounting point of the shared folder: Use the command “mount | grep hgfs” to verify if the shared folder is properly mounted. If no output is found, it means that the shared folder is not correctly mounted. You can manually mount the shared folder using the following command.
  3. Grant elevated permissions to mount the VMware shared folders from the host machine to the specified directory in the guest machine.
  4. Please ensure that the /mnt/hgfs directory exists and has the proper permissions.
  5. Check the VMware Tools service: Verify if the VMware Tools service is running by using the following command.
  6. Check the status of the VMware Tools service.
  7. If the service is not running, you can try restarting the service.
  8. Please start the VMware Tools service.
  9. Update Ubuntu and VMware Tools: Make sure that both your Ubuntu system and VMware Tools are up to date. You can use the following command to update the Ubuntu system:
  10. – Update your system by running “sudo apt update” and then upgrade by running “sudo apt upgrade”.
  11. Then restart the virtual machine and check again if the shared folder is visible.

If none of the above methods have resolved the issue, you may need to reconfigure the shared folder in the VMware virtual machine, or try using another file sharing method.

bannerAds