The content of hgfs installed with VmwareTools in Ubuntu9.04 cannot be displayed.

Source: Internet
Author: User
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.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.