Keyboard not working in Ubuntu 20.04 LTS as soon as I start Windows 10 as guest

Discussions related to using VirtualBox on Linux hosts.
Post Reply
bhargav_sadhwani
Posts: 3
Joined: 6. Jun 2020, 09:43

Keyboard not working in Ubuntu 20.04 LTS as soon as I start Windows 10 as guest

Post by bhargav_sadhwani »

What ever I type on Ubuntu(after minimizing windows 10 guest window) it get typed in Windows 10. Virtualbox version is 6.0_6.0.22-137980. Mouse is working properly in host machine. Can anybody help me to make keyboard work parallelly on both guest and host machine.
scottgus1
Site Moderator
Posts: 20945
Joined: 30. Dec 2009, 20:14
Primary OS: MS Windows 10
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows, Linux

Re: Keyboard not working in Ubuntu 20.04 LTS as soon as I start Windows 10 as guest

Post by scottgus1 »

Sounds like you might have a USB filter in the guest that matches the host keyboard. This would stick the keyboard into the guest only.

See USB basics and troubleshooting to see how these filters are made and how to check if you have one.
bhargav_sadhwani
Posts: 3
Joined: 6. Jun 2020, 09:43

Re: Keyboard not working in Ubuntu 20.04 LTS as soon as I start Windows 10 as guest

Post by bhargav_sadhwani »

Hi @scottgus1. Thanks for you reply. I removed and reinstalled virtualbox and now keyboard is working parallelly. After reading your message I added only 2 usb which were important for me (2 pendirves) instead of 4(previously). May be you are right. Thanks. :)
mpack
Site Moderator
Posts: 39134
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Mostly XP

Re: Keyboard not working in Ubuntu 20.04 LTS as soon as I start Windows 10 as guest

Post by mpack »

The number of pen drives was not the issue. The issue was a USB filter that was specified too broadly, meaning that the host keyboard matched the filter, got grabbed and ownership assigned to the VM. Naturally this will stop the keyboard from working.
bhargav_sadhwani
Posts: 3
Joined: 6. Jun 2020, 09:43

Re: Keyboard not working in Ubuntu 20.04 LTS as soon as I start Windows 10 as guest

Post by bhargav_sadhwani »

Hi @mpack, may be you are right. But I never added USB filter while selecting my usb drives. However I also don't know how to add it. Does it added automatically ? or user intentionally add it ?
scottgus1
Site Moderator
Posts: 20945
Joined: 30. Dec 2009, 20:14
Primary OS: MS Windows 10
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows, Linux

Re: Keyboard not working in Ubuntu 20.04 LTS as soon as I start Windows 10 as guest

Post by scottgus1 »

USB filters have to be intentionally added. I don't think using the on-the-fly USB grabber in the guest window status bar causes a filter.
Post Reply