vmwared shared folder not working

5,589

Vmware workstation has a tool called VMware tools which allows you to share files between your vm and your host computer here is a reference to install on workstation 14

https://docs.vmware.com/en/VMware-Workstation-Pro/14.0/com.vmware.ws.using.doc/GUID-391BE4BF-89A9-4DC3-85E7-3D45F5124BC7.html

Try to install this before run the perl installer sudo apt-get install build-essential and sudo apt-get install linux-headers-$(uname -r).

Execute the perl file with sudo perl vmware-config-tools.pl sometimes you need dependencies like headers or builtin tools.

Share:
5,589

Related videos on Youtube

Nicolasome
Author by

Nicolasome

Updated on September 18, 2022

Comments

  • Nicolasome
    Nicolasome over 1 year

    I have a Ubuntu 16.04 guest operating system running on a windows 10 host, I am using VMware workstation 15 player. I have been trying to set up a shared folder but the shared folder doesn't seem to be showing up.

    The Problem

    My shared folder doesn't seem to be appearing under the default path /mnt/hgfs on Ubuntu. In fact /mnt/hgfs doesn't even exist only /mnt/ exist.

    What I tried

    After some digging around I discovered that running sudo vmware-config-tools.pl should fix my problem. Unfortunetly when I run sudo vmware-config-tools.pl I get sudo: vmware-config-tools.pl: command not found. I checked if open-vm-tools and open-vm-tools-desktop is installed and it is with the latest version.
    The next thing I did was to check if my Ubuntu guest was able to detect that there is a shared folder on my host OS by running vmware-hgfsclient and the name of my shared folder came up.
    Here's a screenshot of my terminal after running the "what I tried" commands

    Any idea on things I can do to access my shared folder in Ubuntu (my guest OS)?

  • Nicolasome
    Nicolasome about 5 years
    yes that is correct
  • Holly Doge
    Holly Doge about 5 years
    Do not worry vmware workstation has a tool called vmware tools which allows you to share files between your vm and your host computer here is a reference to install vmware.com/support/ws55/doc/ws_newguest_tools_linux.html, execute the perl file with sudo perl vmware-config-tools.pl sometimes you need dependencies like headers or builtin tools.
  • Holly Doge
    Holly Doge about 5 years
    Try to install this before run the perl installer sudo apt-get install build-essential and sudo apt-get install linux-headers-$(uname -r) hope this help.
  • Nicolasome
    Nicolasome about 5 years
    Thanks Holly your comment lead me to finding a solution. The reference that you sent is for an outdated Workstation. What I had to do was go under Player -> Manage -> Reinstall VMwareTools. After re-installing the tools, everything worked as expected.
  • Mureinik
    Mureinik about 5 years
    This does not provide an answer to the question. Once you have sufficient reputation you will be able to comment on any post; instead, provide answers that don't require clarification from the asker. - From Review
  • Nicolasome
    Nicolasome about 5 years
    @Mureinik What is the correct protocol here. The correct answer appears in the comment section of what was originally a lousy answer. Should I be marking the lousy answer as correct or should I re-post the comment in a new answer? I want to be able to give credit to Holly if possible.
  • Mureinik
    Mureinik about 5 years
    @Nicolasome personally, I'd ask Holly to edit the answer so it includes the right details from the comments.
  • Nicolasome
    Nicolasome about 5 years
    @HollyDoge Can you edit your answer to include the right details so that I can mark it as correct?
  • Holly Doge
    Holly Doge about 5 years
    Ok, I will edit the comment thank you @Mureinik