一、首先是安装VMWare tools安装成功后,可看的如下信息:#########################二、解决安装VMWare tools后/mnt中有hgfs但没共享文件 前提:在虚拟机软件中设置了共享目录 此时在linux中进入 /mnt/hgfs 文件夹,但发现共享的文件没有显示 使用以下办法解决(root权限): 1. vmware-hgfsclient 命令查看当前有哪些共享的目录,这里我只使用了shared文件夹 2. 使用 mount -t vmhgfs .host:/shared /mnt/hgfs 命令挂载该共享文件夹(注意:带.号的哦),其中.host:/Documents是共享名,只需把Documents换成 使用vmware-hgfsclient 命令得到的目录,/mnt/hgfs是挂载点 3. 到此为止是可以使用该共享文件夹了,但每次都得重复mount一次,所以需要设置为随机启动后自动挂载 编辑 /etc/fstab,添加下面一行 .host:/shared /mnt/hgfs vmhgfs defaults 0 0 (按需写) 补充: 如果显示 Error: cannot mount filesystem: No such device ubuntu则先执行 sudo apt-get install open-vm-dkms 然后再执行3The configuration of VMware Tools 9.6.2 build-1688356 for Linux for thisrunning kernel completed successfully.You must restart your X session before any mouse or graphics changes takeeffect.You can now run VMware Tools by invoking "/usr/bin/vmware-toolbox-cmd" from thecommand line.To enable advanced X features (e.g., guest resolution fit, drag and drop, andfile and text copy/paste), you will need to do one (or more) of the following:1. Manually start /usr/bin/vmware-user2. Log out and log back into your desktop session; and,3. Restart your X session.Enjoy,--the VMware team############################
查看原文:http://www.51xyyx.com/3222.html
安装VMWare tools,以及解决安装后/mnt中有hgfs但没共享文件的方法
最新推荐文章于 2023-11-01 17:20:30 发布
本文介绍如何在Ubuntu虚拟机上安装VMWare Tools,并详细解释安装成功后的提示信息。此外,还提供了当安装完成后无法看到共享文件夹时的解决方案,包括使用vmware-hgfsclient命令查看共享目录、手动挂载共享文件夹的方法,以及如何设置开机自动挂载。
1421

被折叠的 条评论
为什么被折叠?



