解决ubuntu 22.04 vmware无法共享文件问题
环境:
vmware: 16.2
OS: ubuntu 22.04
问题
安装完ubuntu 22.04后,vmtool安装报错,无法使用共享文件和屏幕自适应等功能
解决方案
使用open-vm-tools替代vmtool
1. 安装open-vm-tools
sudo apt install open-vm-tools open-vm-tools-desktop
2. 配置共享文件夹
虚拟机 -> 设置 -> 选项 -> 共享文件夹 -> 设置为 总是启用 -> 添加
3. 挂载文件夹
vmware-hgfsclient
sudo mkdir /mnt/hgfs
sudo vmhgfs-fuse .host:/ /mnt/hgfs
sudo cp /etc/fstab /etc/fstab.bak
sudo gedit /etc/fstab
文本最后加入
.host:/ /mnt/hgfs fuse.vmhgfs-fuse allow_other,defaults 0 0
Reference:
NULL
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)