Resuming multiple VMs produces incorrect screen resolution in first Windows guest

This post was originally published on this site

When I suspend all VMs in VMware Workstation Pro, using vmrun suspend, and then resume them all using vmware -x, the Windows VM in the leftmost (first) tab always resumes at the wrong screen resolution: the default 640×480. Anybody else experience this? Any tips?

 

To reproduce

1. Run VMware Workstation Pro with two or more VMs running in tabs. (For me, it’s VMs for Windows 10 Professional and Windows XP.)

2. Set the screen resolution in both VMs to 1920×1200 pixels.

3. Suspend all VMs by running:

 

#!/bin/bash

/usr/bin/vmrun list | grep -v ‘^Total’ | while read vm

do

echo “$0: suspending ‘$vm'”

vmrun suspend “$vm”

done

 

4. Shut down VMware Workstation Pro by clicking the close icon on its main window.

5. Restart VMware Workstation Pro, resuming all VMs, by running:

 

#!/bin/bash

# Substitute the names of your own .vmx files below

vmware -x

“$HOME/.vmware/WindowsXP/WindowsXP.vmx”

“$HOME/.vmware/Windows10Pro/Windows10Pro.vmx”

>& /dev/null &

 

6. BUG: The leftmost (first) VM tab opens with its VM screen resolution set incorrectly to 640×480. The rest of the VMs are at their correct screen resolutions (1920×1200). It doesn’t matter which Windows VM is in the leftmost tab — the problem still happens.

 

System specs

  • VMware Workstation Pro 15.5.6 build-16341506
    • VMware Tools is up to date in all VMs
  • Ubuntu Linux Ubuntu 18.04.5 LTS
  • KDE Plasma 5.12.9
  • NVIDIA GeForce GTX 1660 SUPER/PCIe/SSE2

 

This problem has been present for several major versions of Workstation Pro, not just version 15.

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.