问题描述
背景:Ubuntu虚拟机被从Mac的VMware Fusion 8复制到Win11的VMware WorkStation16。
主要症状:
- 在导入虚拟机之初,提示graphic可能会出错;
-
截图如下,文字描述见文末[1]。
- Ubuntu虚拟机分辨率过高,图标和字体过小;
其他症状:
- Ubuntu虚拟机设置分辨率:Display页面显示unknown display。分辨率框可下拉选择,但调整分辨率后虚拟机发生显示错乱;
尝试过的方法
- 重启,无效;
- 参考博客,
cvt 1920 1080
设置分辨率,虚拟机卡死,关机后再试图开启VMware提示找不到虚拟机。不确定是否为巧合,还好有备份; - Ubuntu重新安装vmware tools
整体思路参照这篇;由于“重新安装vmware tools”为灰,安装文件用的是(从本地VMware目录下找来的)linux.iso
。无效; - 解勾VMware中autofit window / autofit guest,无效;
- 根据报错信息找到了这里,检查新宿主机的显卡配置高于老宿主机,这不应该造成问题,排除;
- 到VMware社区检查了迁移虚拟机的方式1,2,思路是可行的,排除;
- Ubuntu虚拟机中Settings -> Displays -> Resolution调低,并且VMware中View -> Stretch Guest -> Keep Aspect Ratio Stretch选上。问题解决✅
待尝试
“If you only suspend/resume the VM, the initial configuration is maintained in the .vmss file and may cause such messages.”
可行方案 🍺
Ubuntu虚拟机中Settings -> Displays -> Resolution选择较低分辨率,并且 VMware中View -> Stretch Guest -> Keep Aspect Ratio Stretch选上。
玄学,但问题解决了
[1]报错提示:VMware Workstation is unable to provide all of the graphics features expected by this VM. The graphics hardware, graphics drivers, or version of VMware software might have changed since this VM was booted. The VM will continue running but some graphics operations might behave unpredictably until the VM is shut down.
Select one of the following options:
Cancel - Do not resume the VM.
Continue - Attempt to resume the VM despite the graphics feature incompatibility. This might lead to problems such as screen corruption or a VM failure.