VMware shared folders are not displayed, reinstalling VMware Tools is grayed out

1. The VMware shared folder cannot be displayed

When installing Ubuntu Server 16.04.7 in VMware Workstation 16 Pro, open-vm-tools will be installed by default. It took a long time to install successfully, but the function of the default installation seems to be incomplete, and the shared folder cannot be displayed.

As shown in the figure below, although the shared folder is enabled, the shared folder cannot be seen under /mnt/hgfsthe directory .

insert image description here

insert image description here

VMware Tools is official. open-vm-tools is an open source implementation of VMware Tools, which is also officially recommended. However, there seems to be a conflict between open-vm-tools and VMware Tools, just choose one of them.

In order to solve the above problems, here I uninstall open-vm-tools and choose VMware Tools.

The command to uninstall open-vm-tools is as follows:

sudo apt-get autoremove open-vm-tools --purge

2. Reinstall VMware Tools is gray

Next, install VMware Tools, but suddenly found that the option "Reinstall VMware Tools" is grayed out and cannot be clicked.

The solution is actually very simple: Don't wait for Ubuntu Server 16.04.7 to fully boot before clicking "Reinstall VMware Tools", but click "Reinstall VMware Tools" during Ubuntu Server 16.04.7 booting, then you can Click Success, and the CD/DVD is automatically inserted into the virtual machine, and the linux.iso image file in the VMware Workstation 16 Pro installation directory is automatically loaded.

insert image description here

/dev/cdromMount the CD-ROM /mnt/cdromto the directory you created:

sudo mount /dev/cdrom /mnt/cdrom

insert image description here

As can be seen from the figure above, there is a compressed package in the CD-ROM drive VMwareTools-10.2.0-7259539.tar.gz, copy this compressed package /mntto :

sudo cp VMwareTools-10.2.0-7259539.tar.gz ../

The command to decompress is as follows:

sudo tar -zxvf VMwareTools-10.2.0-7259539.tar.gz

After decompression, there is an extra vmware-tools-distribdirectory :

insert image description here

Enter vmware-tools-distribthe directory and you can see a vmware-install.plscript:

insert image description here

Execute vmware-install.plthe script to complete the VMware Tools installation:

sudo ./vmware-install.pl

Guess you like

Origin blog.csdn.net/qq_42815188/article/details/127359859