[已解决] VMware中Ubuntu虚拟机迁移后分辨率过高

问题描述

背景:Ubuntu虚拟机被从Mac的VMware Fusion 8复制到Win11的VMware WorkStation16。

主要症状:

  • 在导入虚拟机之初,提示graphic可能会出错;
  • 截图如下,文字描述见文末[1]。
    在这里插入图片描述

  • Ubuntu虚拟机分辨率过高,图标和字体过小;

其他症状:

  • Ubuntu虚拟机设置分辨率:Display页面显示unknown display。分辨率框可下拉选择,但调整分辨率后虚拟机发生显示错乱;

尝试过的方法

  1. 重启,无效;
  2. 参考博客cvt 1920 1080设置分辨率,虚拟机卡死,关机后再试图开启VMware提示找不到虚拟机。不确定是否为巧合,还好有备份
  3. Ubuntu重新安装vmware tools
    整体思路参照这篇;由于“重新安装vmware tools”为灰,安装文件用的是(从本地VMware目录下找来的)linux.iso。无效;
  4. 解勾VMware中autofit window / autofit guest,无效;
  5. 根据报错信息找到了这里,检查新宿主机的显卡配置高于老宿主机,这不应该造成问题,排除;
  6. 到VMware社区检查了迁移虚拟机的方式1,2,思路是可行的,排除;
  7. Ubuntu虚拟机中Settings -> Displays -> Resolution调低,并且VMware中View -> Stretch Guest -> Keep Aspect Ratio Stretch选上。问题解决✅

待尝试

  1. 关闭Accelerate 3D graphics参考
  2. shutdown虚拟机(而非suspend)后再迁移,参考1,2

“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.

  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值