返回> 网站首页 

VMware虚拟机中高版本Ubuntu重新安装"VMware Tools"方法

yoours2023-03-08 19:30:27 阅读 1661

简介一边听听音乐,一边写写文章。

1. 启动光驱并打开C:\Program Files (x86)\VMware\VMware Workstation\linux.iso

2. 解压 tar -zxvf VMwareTools-10.3.10-13959562.tar.gz

3. 安装 sudo ./vmware-install.pl

4. 我安装后不起作用,接着通过指令操作

    sudo apt-get autoremove open-vm-tools -y

    sudo apt-get install open-vm-tools -y

    sudo apt-get install open-vm-tools-desktop -y

5. 更新并重启系统

    sudo apt-get upgrade

    sudo apt-get update

    sudo reboot

6. 在VMware的新版Ubuntu中,无法跨虚拟机复制粘贴和拖拽文件的解决方法

    a) 首先确保已经安装了VMware Tools:

        sudo apt install open-vm-tools

    b) 然后发现还是不能复制粘贴和拖拽文件?原因是Ubuntu(22.04,20.04等)默认启用了新版的窗口系统Wayland而非原来的X11。而VMware Tools尚未支持这个特性(见https://github.com/vmware/open-vm-tools/issues/592)

    c) 我们需要禁用Wayland(见https://linuxconfig.org/how-to-enable-disable-wayland-on-ubuntu-22-04-desktop):

        sudo gedit /etc/gdm3/custom.conf

        删掉WaylandEnable=false这一行最开始的#号以解开注释,然后保存文件。

    d) 接着重启虚拟机系统即可,或者:

        sudo systemctl restart gdm3


微信小程序扫码登陆

文章评论

1661人参与,0条评论