当前位置:网站首页>VMware Tools和open-vm-tools的安装与使用:解决虚拟机不全屏和无法传输文件的问题
VMware Tools和open-vm-tools的安装与使用:解决虚拟机不全屏和无法传输文件的问题
2022-07-04 16:34:00 【萌褚】
镜像下载、域名解析、时间同步请点击 阿里云开源镜像站
在VMware Workstation上新建了一个虚拟机,安装了Ubuntu 10.04版本的iso,创建好后发现了两个问题:
(1) 虚拟机界面并不能填充满整个屏幕,使用起来十分反人类。
(2) 主机和虚拟机不能随意相互复制粘贴,无论是文件还是剪贴板。
一、安装VMware Tools
首先我们安装一下官方的工具VMware Tools,但是软件中VMware Tools的安装图标是灰色的。这是因为VMware会自动检测CD镜像文件中的VMware Tools安装包,检测不到时就会显现灰色无法安装。
关闭虚拟机,打开虚拟机设置。
将虚拟机设置中的CD/DVD、CD/DVD2和软盘三个选项均设置为自动检测。
重启虚拟机,灰色的字就被点亮。
如果上述方法不行,那就参考这篇文章再配置吧。
点击安装VMware Tools。
VMware会自动虚拟一个光盘出来,里面是Vmware tools的软件。同时底部会弹出一个提示,告诉用户VMware Tools怎么安装。看到这个提示说明光盘加载成功。
打开VMware Tools的路径,将里面的内容复制到别的目录下。
将tar包解压缩,使用下面的指令安装vmware-install.pl。
sudo perl vmware-install.pl
安装时会可以根据提示进行自定义配置,这里我都直接回车default了。
安装成功后,首先可以看到虚拟机全屏显示了!
二、解决主机与虚拟机数据互传的问题
本来以为安装了VMware Tools后就可以随意实现拖拽文件互传了,结果还是不行。于是打开虚拟机设置。
在“选项”选项卡中,找到“客户机隔离”选项,确保两个勾都是勾上的。
如果还是不行,那就不用VMware Tools,改用open-vm-tools工具。在一些版本的Linux中(例如Kali),VMware Tools有时候并不能成功完成相关功能。
open-vm-tools简单来说就是开源的VMware Tools,已经被官方认可。开源代码官网。
如果想装open-vm-tools,一定要先删除VMware Tools,否则两者会冲突。卸载程序是tar包解压缩后的/bin目录下的vmware-uninstall-tools.pl。
sudo vmware-uninstall-tools.pl
安装新的open-vm-tools-desktop。这里注意,有图形化界面的ubuntu装open-vm-tools-desktop,没有图形化界面的ubuntu装open-vm-tools。
sudo apt-get open-vm-tools-desktop
如果出现了这样的error。
这样解决。首先换一个源,打开ubuntu的一个应用software & Updates,这个应用找不到的话可以在系统里搜一下能搜到。
选Ubuntu Software选项卡,在Download from中选择others。
找到China,选择其中一个源,这里我选了阿里云,点Choose Server。
更新源地址。
sudo apt-get update
更新完成后,再安装open-vm-tools工具。
sudo ap-get install open-vm-tools-desktop
reboot
终于成功了!!!
原文链接:https://blog.csdn.net/baidu_38797690/article/details/124191747
边栏推荐
- [HCIA continuous update] network management and operation and maintenance
- 内核中时间相关的知识介绍
- Make a grenade with 3DMAX
- Is BigDecimal safe to calculate the amount? Look at these five pits~~
- regular expression
- 要上市的威马,依然给不了百度信心
- Introduction of time related knowledge in kernel
- 网上开户安全吗?是真的吗?
- 明星开店,退,退,退
- 力扣刷題日記/day6/6.28
猜你喜欢
【Hot100】32. Longest valid bracket
Unity makes revolving door, sliding door, cabinet door drawer, click the effect of automatic door opening and closing, and automatically play the sound effect (with editor extension code)
Just today, four experts from HSBC gathered to discuss the problems of bank core system transformation, migration and reconstruction
Is it science or metaphysics to rename a listed company?
输入的查询SQL语句,是如何执行的?
Superscalar processor design yaoyongbin Chapter 7 register rename excerpt
【Go语言刷题篇】Go完结篇|函数、结构体、接口、错误入门学习
The block:usdd has strong growth momentum
12 - explore the underlying principles of IOS | runtime [isa details, class structure, method cache | t]
提升复杂场景三维重建精度 | 基于PaddleSeg分割无人机遥感影像
随机推荐
12 - explore the underlying principles of IOS | runtime [isa details, class structure, method cache | t]
I2C子系统之适配器的设备接口分析(i2c-dev.c文件分析)
Thawte通配符SSL证书提供的类型有哪些
曾经的“彩电大王”,退市前卖猪肉
[211] go handles the detailed documents of Excel library
LD_LIBRARY_PATH 环境变量设置
TCP waves twice, have you seen it? What about four handshakes?
Set the transparent hidden taskbar and full screen display of the form
2022年全国CMMI认证补贴政策|昌旭咨询
基于NCF的多模块协同实例
使用3DMAX制作一枚手雷
Detectron2 installation method
High school physics: force, object and balance
Make a grenade with 3DMAX
Tutorial on the use of Huawei cloud modelarts (with detailed illustrations)
regular expression
五千字讲清楚团队自组织建设 | Liga 妙谈
Recast of recastnavigation
[HCIA continuous update] network management and operation and maintenance
[proteus simulation] printf debugging output example based on VSM serial port