In this article, we will install VMware Tools for Linux virtual machine, which is installed on the VMware Workstation virtualization program. And finally, we’ll test how to make a file transfer between the virtual machine and the physical computer.
How to Setup VMware Tools Step by Step
The latest version of Mint is 19.1 Tessa. After installing Linux Mint on Workstation, the first thing you should do is to install VMware software. With VM software, you can use your VM more efficiently. You can also use the machine in full-screen mode.
Follow the steps below to build VM software on Linux Mint 19.1 step by step.
After running your Mint virtual machine, you will see that View / Fit Guest Now is disabled. This is because you have not installed VM software.
To start the setup, click VM / Install VMware Tools.
Once the image file is mounted on the system, drag and drop the VMwareTools.tar.gzfile to the desktop.
Then open the VMwareTools.tar.gz file and drag and drop the vmware-tools-distrib folder to the desktop.
You will make the setup with vmware-install.pl file in the VMware-Tools-Distrib folder.
On the virtual machine, open Terminal and list the vmware-tools-distrib folder. To start the setup, execute sudo ./vmware-install.pl in Terminal. Press the Enter button repeatedly to complete the setup.
After the Linux VM Tools setup is complete, restart the virtual machine.
Restart your Linux Mint system.
After installing VMware Tools, you can now set up your virtual machine into full-screen mode. To do this, click View / Fit Guest Now.
You can now use your virtual machine as a full screen and transfer files with your physical computer.
Create a new text document on your Host and test whether the file copy process works by dragging and dropping it to the desktop of your virtual machine.
As with the image below, the file copy process between Host and virtual machine will be done successfully.
The setup of VM Tools on the latest version of Linux Mint 19 (Tessa) is the same as the above steps. You can watch the video below to build VM Tools on it!
How to Build Virtual Machine Tools for Linux Mint 18
After setting up VMware Tools, you will be able to use the virtual machine in full-screen mode. In addition, you can transfer files between your computer and the virtual machine and also use hardware devices such as USB 3.0, Webcam.
Run Mint on VM and then check whether the Fit Guest Now option in View is active. As you can see in the image below, you can see that VM Tools is not installed for VM.
For Mint VM software, first open the Terminal on your desktop.
Ping any site to check the internet connection. For example, you can use the ping -c 3 www.google.com command.
ping -c 3 www.google.com
To update existing software packages, run sudo apt-get update.
sudo apt-get update
To download and build the VM software, execute the following command.
sudo apt-get install open-vm-tools-desktop -y
Now, restart the Mint 18/19 virtual machine using the shutdown -r now command.
shutdown -r now
After restarting the Mint 18/19 virtual machine, you can see that the Fit Guest Now option is active. Click Fit Guest Now to expand the virtual machine’s display.
After clicking Fit Guest Now, the virtual machine screen resolution will be as follows.
How to Transfer a File Between Physical Computer and Virtual Machine
After installing VMware Tools, you can transfer files between the physical computer and the machine. You can transfer a file by following the steps below.
Create the test.txt file on the physical computer and drag and drop the file to the Mint machine.
The generated test.txt file has been successfully copied to the machine!
Open the test.txt file on the machine and type 123 in it. And then save the file by clicking on the Save button.
Drag the test.txt file from the machine to the host machine and click on Replace the file in the destination.
On the physical computer, open the file test.txt and you can see from the following image that the content of the file changed.
You can watch VM Tools installation video for the VM installed on VM Workstation 14.1.1 Pro.
In this article, we have installed the VM Tools software required for VM virtual machines through the terminal. Thanks for following us!