-
-
Notifications
You must be signed in to change notification settings - Fork 134
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
Mouse control works, but keyboard does not #46
Comments
Hi Brian! In my case, this problem occurs (sometimes) when Safari is open at the same time. |
Thanks for your response, @tomads :) Unfortunately this is happening for me without Safari open. I've tried restarting both computers, (which seemed to resolve it before) but am still having this issue. No idea why it stopped working. |
FWIW, I gave up trying to get teleport to work like it used to. I just purchased Synergy. Synergy takes a little patience to get it working properly, but once you do it works well. Mouse AND KEYBOARD(!) are now being shared across Macs. I've been using Synergy for the past couple of hours, and so far the only thing I miss are the visual "bezel" notification showing me which mac I'm controlling. Other than that, everything else seems to be in parity with teleport. |
With Synergy you can not use trackpad gestures and magic trackpad from one screen to another |
Interesting, @tchek |
This work on mojave https://github.com/abyssoft/teleport/files/2648694/teleport-1.2.2-build2.zip From this thread 👍 |
Thanks for reporting this issue, glad to see you found a workaround with Synergy. I'm cleaning things up around here and hoping to get teleport into a bit better shape. @briantully @tomads Are either of you still experiencing this issue? Did you find any workarounds? I haven't had this problem so I'll likely close the issue unless someone can provide steps to reproduce. |
Hi there @johndbritton -- yes I still experience the problem intermittently. Last year I saw that @Grunerd was kind enough to build a patched version to support Mojave ( from #42 ) and have been using that since with some success. But every now and then the keyboard just stops working when switched over to the remote computer. The mouse still works. When this happens I can occasionally resolve it by rebooting both computers. Otherwise I just fall back to using Synergy. I was surprised to see your comment. Am I to assume that Teleport is once again being maintained or should I curb my enthusiasm? ;) |
Thanks for following up here. The next time it happens can you please follow up on this thread with as much information as you can. Ideally we're looking for steps to reproduce.
I'm a big fan of Teleport and am going to do my best to maintain the project as I use it every day. I'm not an incredibly skilled macOS developer but I've done my fair share of hacking on Obj-C and Swift for desktop and mobile. My hope is that others will be willing to work on the project now that someone is here to provide code review and ensure that things get merged and released. So yes, this project is maintained once again and contributions are welcome. My focus is going to be on fixing bugs and improving stability. |
I did some searching of the error message from your console:
It seems this error message is related to making network requests that are not permitted by the settings of the build. I learned about this in an apple development class, there are some settings in the project file that essentially tell the app what types of network connections are allowed. I don't know why it would happen intermittently though. Is it possible anything is changing about your network setup? Do you have a wired and wireless connection at the same time? Do you use a VPN? Maybe one of those is experiencing an issue and the traffic changes routes (and thus IP addresses). Just some ideas as to what could be the cause. If you do have multiple connections, can you try to reproduce the issue by switching network connections while the two computers are paired? Any other detail you can provide will be helpful. |
Here's the relevant documentation for App Transport Security (ATS): https://developer.apple.com/documentation/bundleresources/information_property_list/nsapptransportsecurity |
What operating system version are you using on each machine? I think the behavior of |
Thanks for the updates @johndbritton and many thanks for taking Teleport under your wing!
Both machines are running the latest version of Mojave. In terms of networking, both machines are on the same network managed by my Airport Extreme. The "primary" computer with the mouse/keyboard attached is a MacBook Pro using WiFi. The "secondary" computer that I use Teleport to control is a Mac Pro desktop that is connected via Ethernet and is also running a VPN (Mullvad). Initially when I had these issues I thought that I might need to set up port forwarding in both the Apple Extreme and VPN, but I wasn't able to see what ports Teleport uses and/or if I can change them. But even without port forwarding, Teleport works, so I'm guessing it's not necessary. For the most part, the latest version of Teleport (1.2.2) is working for me, it's just that every now and then the keyboard stops working on the secondary computer. Rebooting both machines usually resolves it. Thanks again! |
This jumps out as a potential culprit. I'm not familiar with Mulvad, but ExpressVPN has an option that let's you disable VPN for some apps. Maybe see if there's something similar for your VPN and try that to see if it helps. Another debugging thing would be to disable the VPN for a few days and see if you can replicate the issue with the VPN disabled so that we can try and eliminate that as a source of the issue. |
So i've had the VPN disabled for the past couple of days, and the issue just occurred again. Again, the mouse works on the remote computer, but the keyboard does not. I opened Console.app on both computers and searched by "teleport" to see if there was anything obvious getting logged. Surprisingly nothing on the remote computer's log, but on the host computer I see the following messages appear whenever I am controlling the remote computer and pressing a key on the keyboard:
|
Does the keyboard work on the local computer when you move the mouse back or does it stop working on both machines when the issue occurs? I'm pretty sure the
When this happenes again can you check activity monitor on the remote machine and see if teleport is still responsive? I can't figure out why the mouse would continue to work but the keyboard would stop. Also any information about what you were doing immediately prior to experiencing the issue could be helpful. Appreciate you taking the time to keep giving detail. If you can figure out how to reproduce the issue reliably that would be a huge help for debugging. |
Hi again - Yes the keyboard works on the local computer. In fact the issue is observed most times when I am moused over to the remote computer, where the mouse IS working, and on the keyboard I press COMMAND-TAB to bring up the app switcher, but the app switcher appears on the local machine and not the remote machine, even though Teleport is controlling the remote machine. At that point the keyboard only works on the local machine. When this happened the other day, I did check Activity Monitor, and teleport was normal/responsive (i.e., it wasn't displayed in red text), and the Console logs didn't reveal anything obvious. I haven't observed a pattern of "things I'm doing when this happens", but I'll certainly be more mindful of this when it happens in the future, so that it might get us a step closer to being able to reproduce this. |
Having used several similar tools (ShareMouse, Synergy, etc.), I've noticed the same symptoms when an application on my host box has turned on SecureInput -- https://www.sharemouse.com/doc/troubleshooting/#secureinput. Unfortunately, tracking down which applications are responsible doesn't appear to be straightforward. Things like keybase, password managers, browsers, etc. can all enable secure input. And if that app is terminated (e.g. force quit) before it disables the request for secure input, the keystrokes won't be sent to target systems. |
@stk0vrfl0w I think you hit the nail on the head! While I haven't force-quit any applications today, I certainly was using my browser and logging into sites using both passwords and yubikey. I also used several password managers (LastPass and 1Password). The keyboard control from host to remote stopped working again today while the mouse still worked. So I'm inclined to believe your theory that SecureInput is involved, and that one of the apps is not releasing it. For now I am logging out of my host Mac when this occurs, and this resolves it. My next step is to not log out, but to quit open apps one at a time until the keyboard works on the remote again. I suspect it's Google Chrome, but I'll post an update if and when I find out more info. Thanks for enlightening me and putting me on the right path!!! 🍺 |
Hi Brian.
I've read here now and want to inform you that I have exactly this problem (Big Sur).
In my case it concerns Safari only, since I only use this browser together with 1Password. And it also occurs exclusively, but not always, when I use the auto-login function to log into devices on my LOCAL network (e.g. the router).
But anyway, to my knowledge this is a widespread problem. It not only affects Teleport, but also e.g. BetterTouchTool (see here: https://community.folivora.ai/t/how-to-get-out-of-secure-input-macos-mojave/5129) or TextExpander (see here: https://smilesoftware.com/textexpander/secureinput/).
There is no solution from within the affected program, because 'secureinput' is a central macos security feature and, once enabled, can only be disabled by the triggering program. And turning off the auto-submit feature of any auto-login ist not an option.
But I think it would be a good idea to show, e.g. with a notification when changing screens or in the icon of teleport, if secureinput is still active and by which program it was triggered (TextExpander does it like this for example). Then you won't be surprised that keyboard input on the other computer suddenly doesn't work ...
I hope I could contribute something to solve the problem ...
Tom
… Am 02.12.2020 um 01:57 schrieb Brian Tully ***@***.***>:
Having used several similar tools (ShareMouse, Synergy, etc.), I've noticed the same symptoms when an application on my host box has turned on SecureInput -- sharemouse.com/doc/troubleshooting/#secureinput <https://www.sharemouse.com/doc/troubleshooting/#secureinput>. Unfortunately, tracking down which applications are responsible doesn't appear to be straightforward. Things like keybase, password managers, browsers, etc. can all enable secure input. And if that app is terminated (e.g. force quit) before it disables the request for secure input, the keystrokes won't be sent to target systems.
@stk0vrfl0w <https://github.com/stk0vrfl0w> I think you hit the nail on the head! While I haven't force-quit any applications today, I certainly was using my browser and logging into sites using both passwords and yubikey. I also used several password managers (LastPass and 1Password). The keyboard control from host to remote stopped working again today while the mouse still worked. So I'm inclined to believe your theory that SecureInput is involved, and that one of the apps is not releasing it. For now I am logging out of my host Mac when this occurs, and this resolves it. My next step is to not log out, but to quit open apps one at a time until the keyboard works on the remote again. I suspect it's Google Chrome, but I'll post an update if and when I find out more info. Thanks for enlightening me and putting me on the right path!!! 🍺
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub <#46 (comment)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/ABLVU4CKKAZKYWKK6TBFAZTSSWGILANCNFSM4GPRBRKQ>.
|
Thanks for sharing all these details. I have experienced the secure input issue in other apps and agree it would be good to add a feature to teleport to at least detect secure input status, that way we can inform the use as to what is happening. @briantully please report back if you are able to confirm that secure input is causing the issue. I would assume that secure input on the controlling computer is the issue, not on the controlled computer. |
Next time this happens run the command |
When this occurs for me the Edit: For programmatically determining this information and displaying it to the user in teleport so they know what is going on https://github.com/phodal/typing/blob/e2e25009fa10c307d963688ceefb4fb70c18ec2b/native/macos/bridge.mm#L61-L85 might be helpful. |
Interesting! So it finally happened for me this week. I was beginning to think it had gone away. Running the |
awesome @briantully, that did it for me too! My laptop was unplugged for too long and went into low-power mode, and after juicing up teleport wouldn't accept keyboard input. So, based on your trick, i put the machine into screensaver mode, which requires a fingerprint/pwd to get back in, then it immediately works again. Hooray! was driving me nuts. (Long live teleport!) |
For what it's worth, I just ran into this on a 16ʺ M1 MBP on Monterey, so not fixed yet. |
As a sidenote: one can use bettertouchtool to see, if securemode is on - and why … |
Ooh! @nriley does that mean that Teleport works on Monterey? I'd been holding off on a new laptop for fear that teleport is not supported on Monterey. Throughout the day I am constantly using teleport to go back and forth from my Macbook (Mojave) to old Mac Pro (Mojave), so I would hate not being able to continue doing that. Assuming teleport works on Monterey, would it still be able to connect to my old Mac Pro which is forced to run Mojave? |
Yes, Teleport works great on Monterey — I use it between a Monterey and Catalina Mac. There was just a release a few weeks ago in fact! |
It seems we have found the source of this issue. The next step here is to add a feature to Teleport that will detect when SecureInput is activated and causing issues for Teleport. We could update the menubar icon with a warning or something like that. It's not likely I'll have the time to add this feature, but if someone sends a PR I will happily review and release an update after we get it merged. |
Hi there. I realize Teleport has been abandonware for some time now, but I still use it on a daily basis and haven't found a better replacement.
Sending this out into the ether in case someone else has experienced the following issue and figured out a workaround.
Every now and then, when switching over to control a secondary Mac, the mouse control works as expected but the keyboard control does not. When typing on the keyboard I hear an alert sound on the master computer.
Inspecting the Console when this occurs shows the following:
Any idea why this is occurring and how to resolve it?
Sometimes if I restart both computers it starts working again.
Alternatively, can anyone recommend an alternative app?
The text was updated successfully, but these errors were encountered: