-
Notifications
You must be signed in to change notification settings - Fork 1.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Loss of keyboard input on Windows client while mouse input still correctly interpreted #129
Comments
This is happening here as well. It was working just fine with an Ubuntu 19.04 server and a Windows 10 client until I just ran It also appears inconsistent. I'm pretty sure at one point the arrow keys were not working but now they appear to be working. The return, windows, and alt-tab keys haven't worked at all. Normal letter keys seem to work fine. |
same here! not working... |
found the culprit here, in my case was Bitwarden app that was making my keyboard don't work in the other machine. Turned it off and everything works again. So check if you installed some new app recently, try to remove any new app running and see if barrier start to work as expected! |
Thank you @rodfersou, turns out Bitwarden was the problem for me also. Unfortunately removing Bitwarden isn't an option for me, and the desktop client has to remain active as I use it often and the fingerprint login is so useful! Happy to help troubleshoot if anyone has ideas. |
Running Big Sur Barrier server and Windows 11 Barrier client. Using SSL on both sides. The mouse works fine, but the keyboard does not work anymore. Probably company's firewall is blocking some of its communication. I'm not able to request it to be whitelisted. Could you provide an option to modify the path used? I tried changing the default port to something else, but still, only the mouse passes through. I can share logs from both sides if needed. (I'm a dev as well) |
Your Mac probably has a service or app that left Secure Input active (used to protect you when entering passwords). To check if any app is using secure input, run: https://www.nickjvturner.com/blog/2020/08/20/secure-input-mode |
This found the culprit on my mac (Catalina, ymmv) -
Turns out damn iterm2 was the culprit; disabling "Secure Keyboard Entry" in the root menu made barrier work again. Might be nice to check for something like this on startup? Took me far too long to find this issue. |
I also had this issue on OSX. @arminanton's I locked screen and logged in and |
@arminanton thank you so much!! |
Operating Systems
Server: Mac OSX on 10.13.6 (High Sierra)
Client: Windows 10 on Version 1709 (Build 16299.402)
Barrier Version
Mac: 2.1.0-RELEASE-8b69f9fe
Windows: 2.1.0-RELEASE-0b2dfd80
Steps to reproduce bug
If this doesn't happen the first time, repeat steps 2-4 a few times.
Other info
Disabling the clipboard in Server settings does not make the problem go away. However, whether that checkbox is properly respected is questionable, as it resulted in the following curious debug log output, where you can see that despite being disabled, clipboard-related code is still executing:
[2018-09-13T14:12:16] NOTE: clipboard sharing is disabled [2018-09-13T14:12:16] DEBUG: clipboard changed: barrier owned [2018-09-13T14:12:16] DEBUG: desk Default window is 0x000c00b2 [2018-09-13T14:12:16] DEBUG: switched to desk "Default" [2018-09-13T14:12:16] DEBUG: desktop is now accessible [2018-09-13T14:12:16] DEBUG: open clipboard [2018-09-13T14:12:16] DEBUG: empty clipboard [2018-09-13T14:12:16] DEBUG: close clipboard [2018-09-13T14:12:16] DEBUG: open clipboard [2018-09-13T14:12:16] DEBUG: empty clipboard [2018-09-13T14:12:16] DEBUG: close clipboard
Another potentially related condition: The Mac server was running on a Macbook with all three of (1) builtin keyboard (2) wired keyboard and (3) bluetooth keyboard active at any given time. The Windows client had no keyboards nor mice connected at the time the bug exhibited.
Workaround #1: Restarting the server and/or client brings the keyboard back to life (whether which one, or both, needs to be restarted is not consistent).
Workaround #2: This bug does not exhibit when using a Windows server with a Mac client.
The normal log on the Mac also shows many of these warning messages, unknown if related but seems suspicious given the observed non-deterministic behavior in workaround #1:
pid(67177)/euid(1901998861) is calling TIS/TSM in non-main thread environment, ERROR : This is NOT allowed. Please call TIS/TSM in main thread!!!
The text was updated successfully, but these errors were encountered: