QA_E_ngineer
Contributor
Contributor

How to prevent guest OS screen resolution changes?

Since our company has upgraded from vmware 5.x to 6.x, QA can only make use of the web interface: VCenter (html 5 based) or vShpere Web Client (flash based)

Now problems have started.

One of the major issues is that each time someone uses a Web or VMWare Remote console, the Guest OS screen resolution changes.

This should not happen, it causes issues with automated UI tests that run on these VM's (which make use of screen shot comparisons).
Either the test fails because the guest os resolution changed and retrieved screenshot doesn't match with expected screenshot anymore.

Or due to manual testset screen shot updates, by accident (the qa engineer doesn't notice the vm resolution changed a few pixels while making a new expected result), the new expected result is invalid (so new run, auto test sets proper resolution at the start of the test, but then it gets a mismatch with the new screen shot).

Since a few weeks we loose a lot of valuable time because of this...

Our IT department tried to solve it by disabling the VM guest setting for automatic video sizing
However, this didn't fully work, e.g. it seems to prevent the guest os resolution to change when making the web console window larger, but not when making it smaller.
How can we make sure that the guest os screen resolution does not change at all / ever when the web / remote console is used to connect to these VM's?

as workaround we use tight vnc now

0 Kudos
3 Replies
parmarr
VMware Employee
VMware Employee

Hello,

Which OS are using? Windows/Linux?.

Did you refer to these KB's:

Linux Distros: https://ikb.vmware.com/kb/748

Linux : https://ikb.vmware.com/kb/1013217

Windows : https://ikb.vmware.com/kb/1003

Work around:

On Windows 2008 and above you can rename the C:\Program Files\VMware\VMware Tools\VMwareResolutionSet.exe to something like "VMwareResolutionSet.OLD" and that does prevent the dynamic resolution change without any other noticeable side effects.

For Win2k3, renaming/deleting the following file will disable resolution changes:

C:\Program Files\VMware\VMware Tools\plugins\vmsvc\resolutionSet.dll

The cleanest is to delete the DLL or move it completely out of Program Files.

Otherwise the uninstaller will not remove the file leaving the whole directory tree in Program Files.

If you want the functionality back you can Repair tools and the file will be restored.

Sincerely, Rahul Parmar VMware Support Moderator
QA_E_ngineer
Contributor
Contributor

Using windows vm's mostly.
Thanks, this works!

It throws an general system error (which doesn't matter) and prevents the resolution sizing.

0 Kudos
deyanp1
Contributor
Contributor

what about if the host OS is Linux? is there an executable to be renamed/removed, analog to the windows one mentioned by you?

0 Kudos