banner
言者

言者

言者无罪,闻者足戒,每个人都有表达的自由,同样,每个人都有相信的自由,言你所想,信你所信,这就是对待言论的态度。

Solution to VMware Tools Failure Issue (Ubuntu 22 and Other Systems)

Today, Kubuntu and Ubuntu versions 22x were newly installed. As usual, after the operation, it was found that VMware tools were not working.

Trying to enter "vmware-user" found that it was working again.

Specific manifestations:

    1. Window resolution can be scaled, but unable to copy and paste or copy and paste files.
    1. Window resolution cannot be scaled, and unable to copy and paste or copy and paste files.
    1. After updating the system or restarting, VMware tools become ineffective.

Reasons for the problem:

    1. The system comes with open-vm-tools, which causes conflicts. It is recommended to choose one of the two.
    1. Due to the desktop environment, I encountered the same problem with both KDE and Gnome, but there were no issues with xfce.
    1. Ultimately, it is a problem with the startup, which causes VMware tools to become ineffective.

This may be the charm of bugs~ Sometimes, small problems can be troubling.

Solution:#

Mainly to solve the open-vm-tools problem

1. Uninstall open-vm-tools and open-vm-tools-desktop first#

sudo apt-get --purge remove open-vm-tools
# Completely uninstall open-vm-tools

sudo apt-get --purge remove open-vm-tools-desktop
# Completely uninstall open-vm-tools-desktop

2. Reinstall Open-vm-tools#

# Reinstall open-vm-tools
sudo apt-get install open-vm-tools 
# Install open-vm-tools
sudo apt-get install open-vm-tools-desktop 
# Install open-vm-tools-desktop

Actually, executing this step is enough, but maybe some systems are different, so let's be thorough.

3. Start the service#

systemctl start open-vm-tools.service 
# Start the open-vm-tools service

4. Set to start on boot#

# Set to start on boot

systemctl enable open-vm-tools.service 
## Start open-vm-tools service on boot

# Check status in shell
systemctl status open-vm-tools.service 
## Check status. If it looks like the image, it means OK
Loading...
Ownership of this post data is guaranteed by blockchain and smart contracts to the creator alone.