Prevent Ubuntu 14.04 from locking on virtualbox if Windows is locked
7,917
Solution 1
As thomasa88 suggests, the Win+L command to lock your screen will be received by both your host OS (Windows 7) and your guest OS (Ubuntu).
You have two options to solve this:
- While in your guest OS and wishing to lock your computer screen, navigate via the GUI to the host OS taskbar and lock the computer via the "Lock" option. This will prevent your guest OS from also locking.
- Change the keyboard shortcut for screen-locking in your guest OS. Follow this solution for Ubuntu: Remap Ubuntu keyboard keys
Here is a screenshot of the final step:
(I don't currently have sufficient reputation to add a comment, so I'm providing this answer.)
Solution 2
Go to:
Top right corner > System Settings > Brightness and Lock, and adjust the settings according to your needs.
This is done inside your VM.
Related videos on Youtube
Comments
-
YOBA almost 2 years
I have installed an
Ubuntu 14.04
VM
withVirtualbox
onWindows7
,When I lock my Windows session, then get back to it, Ubuntu session inside the VM is also locked,
How can I prevent
Ubuntu
VM
from locking? (In any situation)-
thomasa88 about 8 yearsI've found that pressing [Win]+[L], when my Ubuntu session is focused in VmWare, locks both Ubuntu and Windows. My shortcut key in Ubuntu for locking is listed as [Ctrl]+[Alt]+[L] though.. Maybe you have problems with that as well.
-
-
YOBA almost 9 yearsThanks for your answer, I've already tried that, but it didn't work.