一、解決不顯示共享文件夾
1.apt-get install open-vm-tools
2.vmhgfs-fuse .host:/ /mnt/hgfs
但重啟之后會失效,需要重新執行vmhgfs-fuse .host:/ /mnt/hgfs
二、解決重啟后共享文件夾失效
#vi /etc/fstab
在最后添加一行: .host:/ /mnt/hgfs fuse.vmhgfs-fuse allow_other 0 0
以后重啟都會自動掛載。
參考鏈接:https://blog.csdn.net/weixin_43583605/article/details/106112844?utm_medium=distribute.pc_relevant.none-task-blog-baidujs_title-0&spm=1001.2101.3001.4242