ArchLinux安装开源VMware Tools

时间:2024-04-17 22:15:27

首先按照传统的Linux下安装VMware Tools的方法[1]]出现了很多的错误,安装过程完全没有办法进行下去.我在ArchLinux Wiki中看到这样一句说:VMware Tools for linux exists in 2 forms: the official VMware Tools and Open-VM-Tools. VMware Tools is based on a stable snapshot of Open-VM-Tools. Open-VM-Tools contains more experimental code and features.The official VMware Tools are not available for Archlinux.

从上面这段话中得知:官方的VMware Tools不能用于Archlinux(红色标注),我们应该安装Open-VM-Tools,好了有了方向,我们开始我们的安装之路.

https://wiki.archlinux.org/index.php/Installing_Arch_Linux_in_VMware

详细参考上面的链接!

1.安装VMware Tools

 

pacman -S open-vm-tools open-vm-tools-modules

2.安装gtkmm	

pacman -S gtkmm

3.修复Tools中的60秒BUG


nano /usr/lib/systemd/system/vmtoolsd.service

在[service]项的后面增加一行    KillSignal=SIGKILL

 

4.使vmware tools开机自启动


cat /proc/version > /etc/arch-release
systemctl start vmtoolsd
systemctl enable vmtoolsd

5.重启,在虚拟机操作面板上选择查看->自动调整大小.