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:
-
- Window resolution can be scaled, but unable to copy and paste or copy and paste files.
-
- Window resolution cannot be scaled, and unable to copy and paste or copy and paste files.
-
- After updating the system or restarting, VMware tools become ineffective.
Reasons for the problem:
-
- The system comes with open-vm-tools, which causes conflicts. It is recommended to choose one of the two.
-
- Due to the desktop environment, I encountered the same problem with both KDE and Gnome, but there were no issues with xfce.
-
- 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