An error occurred when installing VMware Tools on Ubuntu 22.04

Project scenario:

Prepare to enter ROS2 and install Ubuntu22.04 on VMware


Problem Description

1. When installing VMware Tools:
客户机操作系统已将 CD-ROM 门锁定,并且可能正在使用 CD-ROM,这可能会导致客户机无法识别介质的更改。如果可能,请在断开连接之前从客户机内部弹出 CD-ROM。确实要断开连接并覆盖锁定设置吗?

The error message as shown below:
insert image description here

2. The window of the virtual machine is small and cannot be stretched

Cause Analysis:

Question 1: The operating system selected for the new virtual machine is Ubuntu22.04, and the default installation path is the CD-ROM file path where Ubuntu22.04 is saved, but the virtual machine cannot load the VMware Tools installation image into the CD-ROM when installing VMware Tools, so We need to choose to manually load VMware Tools in the VMare installation directory, or eject the installation CD-ROM;
Problem 2: The window of the virtual machine does not adapt to the window size


solution:

1. Solve the problem that the operating system is locked when VMware tools is installed:
1. Close the current client first, and edit the virtual machine
insert image description here
2. In the CD/DVD, switch to the VM installation space, and look for the Linux.iso file
insert image description here
3 .Restart the virtual machine, open the virtual machine and click VMware tools, the prompt will not pop up, and the VMware Tools installation package will be loaded
insert image description here
insert image description here
automatically .

sudo apt install  open-vm-tools

insert image description here
2. Make sure that the virtual machine can be connected to the Internet,
press Enter to install: ypress the prompt to enter, and wait for the installation
insert image description here. 3. After the installation is complete, remind whether to keep the current version according to the default processing method, and keep pressing N or O:
insert image description here
at this time, you can find that the window is automatically adjusted , has adapted to the screen size!

Guess you like

Origin blog.csdn.net/TianHW103/article/details/127109781