The hgfs installed with VmwareTools in Ubuntu9.04 cannot display the content. Solution: 1. set the directory to be shared and enable read/write in the setting-& gt; option Virtual Machine of Vmware Ubuntu. run the VmwareTools installation. The Vmware-tools installation package should appear on the Ubuntu Desktop. select the tar package, copy it to the/tmp directory, decompress it, and run it. /Vmware-inst
Solution:
1. Specify the directory to be shared and enable read/write in the setting-> option Virtual Machine of Vmware Ubuntu.
2. Run the Vmware Tools installation package. The Vmware-tools installation package should appear on the Ubuntu Desktop.
3. Select the tar package, copy it to the/tmp directory, decompress it, and run the./Vmware-install.pl process will find an error. If this error is ignored, the subsequent compilation will continue, so pay attention to this problem. Configuration procedure can run only Vmware-config-tools.pl
The problem is described as follows:
/Tmp/Vmware-config0/vmhgfs-only/page. c: In the 'hgfswritebegin' function:
/Tmp/Vmware-config0/vmhgfs-only/page. c: 867: Error: Implicit declaration function '_ grab_cache_page'
4. the solution is to enter the/usr/lib/Vmware-tools/modules/sourcedirectory to decompress the page in vmhgfs.tar. c; then modify vmhgfs-only/page. c. Edit page. in c, modify row 867 to page = grab_cache_page (mapping, index); that is, remove the two underscores.
Note that you may need to remove the read-only attribute of the file before opening the file, chmod + w page. c
Save and exit.
5. Then, pack vmhgfs-onlyinto the vmhgfs.tar file tar-cvf./vmhgfs-only vmhgfs.tar.
This is because the script will decompress the file during installation and compilation.
6. Clear the original Library File
Sudo rm/lib/modules/$ (uname-r)/misc/vm *. {o, ko}
7. Run the Vmware-config-tools.pl again.