Whenever I leave my PC locked for a long period of time, the number of virtual screens on the VM resets to 1, instead of 2. Selecting "View->Virtual Screen 2->Enable" doesn't change anything. The only way to restore the second virtual screen is shutdown and then restart. A reboot of the virtual machine is insufficient.
I have looked into the log file from this morning and I see the following lines:
Code: Select all
44:29:47.846095 GUI: UIMachineLogic: Guest-screen count changed
44:29:48.040260 GUI: UIMachineLogic: Host-screen count changed
I have looked into the source code I see the following method in:
src/VBox/Frontends/VirtualBox/src/runtime/UIMachineLogic.cpp
Code: Select all
void UIMachineLogic::sltHostScreenCountChange()
{
LogRel(("GUI: UIMachineLogic: Host-screen count changed\n"));
/* Make sure all machine-window(s) have proper geometry: */
foreach (UIMachineWindow *pMachineWindow, machineWindows())
pMachineWindow->showInNecessaryMode();
}
I have attached the virtual machine configuration (vbox file) and a portion of the log file when this occurred.
Host:
Windows 10, 64 bit, 1903 / (Build 18362.175)
3 Physical Screens each 1920x1200, rotated so they are 1200x1920 (width x height)
Virtual Box:
Version 6.0.10 r132072 (Qt5.6.2)
Guest:
Ubuntu 18.04 64 bit
2 Virtual Screens in windowed mode
Many thanks for taking the time to look at this, any advice would be welcome.