Ubuntu 10.04 with vmhgfs and open-vm-tools

In an earlier post by me I described how to get open-vm-tools working in Ubuntu 9.10. Turns out that this doesn’t quite work for the latest version of Ubuntu, 10.04. A few tickets were spent on it at Launchpad and finally last night someone, I presume the module author, said you also need to install open-vm-dkms. Which I did. After this the module vmhgfs is available again and can be loaded.

So, when you install open-vm-tools and you want to make use of the vmhgfs driver you need to install open-vm-dkms. Otherwise compiling it yourself with m-a will fail. Note that with this step you no longer need to compile it yourself, as apt-get does it for you.

sudo apt-get install open-vm-tools open-vm-dkms

4 thoughts on “Ubuntu 10.04 with vmhgfs and open-vm-tools”

  1. I am trying Ubuntu 10.04 in a VMWare session (6.5.4) on Fedora 10. I followed your directions on installing open-vm-tools and open-vm-dkms, and made the changes to fstab and rc.local you suggested in the previous post on this. When I restart Ubuntu, I get a message that the mount on /mnt/hgfs failed, and press S to skip this step. After the system is up, I type mount -l and get:

    .host:/ on /mnt/hgfs type vmhgfs (rw,ttl=1)

    but when I try to start the VMWare User Agent in a terminal with:

    vmware-user-suid-wrapper

    I get:

    vmware-user: could not open /proc/fs/vmblock/dev
    Another instance of vmware-user already running. Exiting.

    This is my first try at Ubuntu, I’ve been running linux since the old Red hat days. Also, I have both Windows XP (with access to my home directory on the host FC10) and MS-DOS running under VMWare, so I have some experience with that.

    Any idea what is causing my problem? How should I be accessing and using my home directory on the Ubuntu guest (using the “Places” menu, I drill down to /mnt/hgfs/, but it’s empty)?

    Thanks in advance for your help.

  2. No clue really. I’ve never used vmware-user-suid-wrapper.

    What is it that you’re trying to do? The only thing I wanted to do was to be able to mount a shared directory from VMWare (Workstation). I haven’t used any other tools as I didn’t need them yet.

  3. That’s what I’m trying to do — mount my home directory on the host system (FC10) under the Ubuntu guest. I ran the vmware program hoping it would allow me to do that, but apparently not.
    How do you access your shared directory? I’ve checked /mnt/hgfs/, but it’s empty.

  4. I really just did as I wrote down. Remember, in VMWare Workstation (the host) you tell which directories directories to share. On your virtual machine (the guest) you mount the shared directory.

Comments are closed.

Scroll to Top