First: This is my first post being a VB user for a decade now. This is because I always find a solution to my problems thanks to you guys! I've been searching for this issue on different forums but could not find anything related to Ubuntu. My apologies if this is related to a known issue or a solved issue in some other post I couldn't find.
My stack: Running Ubuntu 18.04 with AMD FX6300 @ 16GB RAM with VB 6.0.4 r128413 (Qt5.9.5) and Windows 10 Guest with 8GB RAM (any config of ram and CPU in the Win10Guest trigger the error anyhow)
The Issue: Running both Ubuntu (host) and Win10(guest) at the same time (as I usually do) I find that Ubuntu is never able to block after a few minutes (as is intended) if the Win10 VM is ON and "selected" as "the last application" in use. Message in Ubuntu's notification bar reads "Unable to lock: lock was blocked by an application"
My "tests": I find that if this "last application" in use before lock is another ubuntu app (whichever: for the sake of example lets say "folders") and the Win10 VM is ON Ubuntu WILL lock as intended.
So I tried:
- Check Win10 is always in power save (just screens off) before Ubuntu's lock kicks in. Win10 power save is set to 5 min, Ubuntu's is set to 8min.
- I didn't set Win10 to sleep mode because I simply don't want to wait for wakeup. Just to lock my PC while I'm not using it (not a super strange thing to ask, right?)
- I tried to set Win10 to lock itself after 5 min of "no use" but couldn't. The thing is I also don't want to enter my Ubuntu's Password and Windows PIN eeeeevery time it locks. So that wouldn't be a solution either.
Any ideas on how to solve this?
Thanks