关于vmplayer 和vmrun 同时使用说明文档

89 篇文章 1 订阅
84 篇文章 4 订阅

根据需要,同时使用vmplayer和vmrun (说明以下,vmrun后台无界面先启动,之后再启动vmplayer,这样模板加载可以省略模板启动过程,直接跳转到模板使用界面,但由于版本的区别,必定会导致一系列问题)
1,验证版本的兼容性(在debian 9 系统,内核版本:4.19.0-0.bpo.6-amd64)
1.1安装包
VMware-Player-14.1.7-12989993.x86_64.bundle和 VMware-VIX-1.17.0-6661328.x86_64.bundle
# chmod 755 给其文件执行权限
#./VMware-Player-14.1.7-12989993.x86_64.bundle (弹出界面,同意即可,其他自行选择,等待安装完成)
#./VMware-VIX-1.17.0-6661328.x86_64.bundle (弹出界面,同意即可)
安装完上述两个包后,会在/usr/lib/目录下发现:vmware、vmware-installer、vmware-ovftool、vmware-vix 等目录,vmplayer和vmrun会生成。此时可以查看vmplayer 和vmrun版本是否和安装包版本一致。
1.2 启动模板
#vmrun -T player start “模板路径/模板.vmx”
#vmplayer -X “模板路径/模板.vmx”
两条命令都可以启动模板,并且能够全屏化界面。但这不是我们想要的。
#vmrun -T player start “模板路径/模板.vmx” nogui
发现 :error:unknown error
经过查看下面资料,发现是VMware-VIX版本问题 导致nogui参数不能正常使用。
https://communities.vmware.com/thread/538478https://communities.vmware.com/message/2561459
https://communities.vmware.com/thread/597920

https://gns3.com/community/discussion/gns3-doesn-t-work-on-vmware-play 可查看另一篇文章
https://communities.vmware.com/thread/597346
1.3 更换vmware版本
(查看安装:vmware-installer -l .卸载vmplayer,vix等操作。Uninstall vmware player: vmware-installer -u vmware-player Uninstall vmware-vix: vmware-installer -u vmware-vix)
使用VMware-Workstation-Full-14.1.7-12989993.x86_64.bundle
经过安装测试,发现vmrun 和vmplayer 都可以使用,并且vmrun -T player start “模板路径/模板.vmx” nogui 也可以使用。
不过当第一步:vmrun -T player start “模板路径/模板.vmx” nogui ,第二步:vmplayer -X “模板路径/模板.vmx” 出现了vmware界面固定尺寸问题,不能在启动的瞬间全屏。
迫不得已,再次更换vmware版本:VMware-Workstation-Full-15.1.0-13591040.x86_64.bundle
经过测试验证,出现了:the operation was canceled。
没办法,只能乖乖的选择其他版本。在某一天早起蹲马桶的时候想着能不能兼容下1.2操作和1.3操作,由于在测试15.1.0版本时发现之前在14.1.7版本上遇到的启动瞬间先跳转到固定大小窗口,然后再全屏的问题已经被解决,于是有了测试15.1.0版本的冲动。
正式测试,下载VMware-Player-15.1.0-13591040.x86_64.bundle 和VMware-VIX-1.17.0-6661328.x86_64.bundle
安装测试,发现,vmplayer 启动直接全屏,但vmrun是不能使用的,错误如下:
unable to connect to the host ,the virtual machine …(类似错误提示)
解决方案:修改/usr/lib/vmware-vix 下的vixwrapper-config.txt文件

在这里插入图片描述
在此文件中末尾的#EOF上方添加:
#latest un-versioned
ws 19 vmdb 15.1.0 Workstation-14.0.0
player 19 vmdb 15.1.0 Workstation-14.0.0

同时/usr/lib/vmware-vix/Workstation-14.0.0/64bit/下的libvix.so 库更换为VMware-Workstation-Full-15.1.0-13591040.x86_64.bundle 安装生成的libvix.so ,不然会出现,vmrun 带有nogui参数
运行时unknown error。

此时,再次运行:
#vmrun -T player start "模板路径/模板.vmx"或者 #vmplayer -X “模板路径/模板.vmx”
可看到模板启动自动全屏
运行:#vmrun -T player start “模板路径/模板.vmx” nogui 能够后台启动,不再报错。
隔一段时间后: #vmplayer -X “模板路径/模板.vmx” 看到模板开机启动过程已经跳过。

VIX 1.17 does not work for VMware Workstation Player 15

The current standalone VIX version 1.17 that you can download from Download VMware Workspace ONE doesn’t work for VMware Workstation Player 15 vmrun.exe fails with ““Unable to connect to host” Error: the specified version was not found”, vmrun.exe is version 1.17.0 build-6661328. This version of VIX does not contain a directory named “Workstation-15.0.0” and the correct entries in vixwrapper-config.txt

However VIX 1.17 taken from a Workstation Pro 15 installation works, vmrun.exe is version 1.17.0 build-10134415

Is there any downloadable VIX version that supports Player 15?

Please see the following post for details of how we found out about this problem: https://gns3.com/community/discussion/gns3-doesn-t-work-on-vmware-play

I actually think that standalone VIX became incompatible with Workstation version 14.1.2.

 

I launch VMs using the "nogui" option to the vmrun "start" command, and this stopped working ("Error: unknown error") with standalone VIX 1.17 and Workstation 14.1.2

 

However, the good news is that the VIX 1.17 distributed with Workstation 15 fixes the issue (and seems to be compatible) with Workstation 14.1.2 and newer (including 15 obviously).

 

But it is going to be very annoying if incompatible versions (of the same version number) of VIX are maintained.
    


Seems like newer version of VIX still isn't available as a separate download, I could find 1.17 in dowloads list but nothing newer.

In the end, I manually extracted files VIX32.cab, VIX64.cab from workstation 15 installation file, extracted those cabs and renamed files according to vix 1.17 existing files (compare file sizes and dll names in file details; and vix and vixd libraries are exact copies). Then I put them in same structure in Workstation-15.0.0 folder, and added workstation 15 strings from txt file (inside VIX32.cab) to vixwrapper-config.txt

Seems to be working - started my home web server with vmrun and -nogui, everything's working so far.

 

I didn't want to install full workstation package since I think it'll mess up my player installation.

Of course, I am still hoping for a separate download of VIX api...



Hello,

I have the same problem, does anyone have a solution for this?



This resolved.

Replace following lines in "vixwrapper-config.txt"

# latest un-versioned
ws       19 vmdb e.x.p Workstation-14.0.0
player   19 vmdb e.x.p Workstation-14.0.0

to

# latest un-versioned
ws       19 vmdb e.x.p Workstation-14.0.0
player   19 vmdb 15.1.0 Workstation-14.0.0

It works for GNS3 2.1.11 Workstation Player 15.1.0 and VIX 1.17.0-6661328
  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
# GNS3概述       GNS3 是一款具有图形化界面、可以运行在多平台(包括Windows, Linux和Mac OS等)上的网络虚拟软件。该软件能够在计算机上虚拟出思科路由器和交换机的硬件,且加载思科路由器和交换机的IOS(真实模拟),通过它可以体验 Cisco 网际操作系统 IOS或检验将要在真实的路山器上部署实施的相关配置。       Cisco 网络设备管理员或是想要通过 CCNA、CCNP、CCIE等Cisco认证考试的相关人士可以通过它来完成相关的实验;同时让我们体验和真实路由器和交换机完全一样的学习过程,在某些方面比真实设备的功能还要强大。       所以 GNS3 对于我们学习计算机网络原理的学生,也是必不可少的工具。# VMWare Workstation       桌面级虚拟化产品,大名鼎鼎,不言而喻。# Wireshark 抓包工具       本章还演示了在GNS3搭建的网络环境,使用Wireshark抓包工具捕获数据包,可以捕获网络拓扑中任意链路上通过的数据包,为学习后面的章节打下坚实的基础。# SecureCRT       连接、操作和管理 GNS3 的强大功能软件,之前Linux教学中已经详细介绍使用。# PacketTracer       思科路由器交换机模拟软件,Packet Tracer 是由Cisco公司发布的一个辅助学习工具,为学习CCNA课程的网络‘初学者’设计、配置、排除网络故障提供了网络模拟环境。学生可在软件的图形用户界面上直接使用拖曳方法建立网络拓扑,软件中实现的IOS子集允许学生配置设备;并可提供数据包在网络中行进的详细处理过程,观察网络实时运行情况。 # 重点提示       本章不属于计算机网络原理的内容,但要想更好地理解后面讲到的计算机网络原理,更具体地探索计算机通信过程,还需要捕获数据包、分析数据包的数据链路层首部、网络层首部、传输层首部以及应用层协议,这就需要使用网络设备来搭建学习环境。
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值