Mouse capture broken in remote desktop sessions for several apps #27
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Mouse capture doesn't work well in several apps including osu!lazer #5, Minecraft, Teeworlds, and Hedgewars. These apps seem to have their own processing for mouse capture which breaks in remote desktop sessions. They work fine using X forwarding and
vglrun
.Mouse capture broken in remote desktop sessions for several apps.to Mouse capture broken in remote desktop sessions for several appsMouse capture is also broken in Portal.
Here are some online resources:
https://superuser.com/questions/849918/erratic-mouse-movement-in-3d-games-over-rdp-with-remotefx
https://www.reddit.com/r/windows/comments/8wkj0m/any_way_to_designate_a_second_keyboardmouse_to/
https://bugs.mojang.com/browse/MC-126875?page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel&showAll=true
I'm just going to say, this issue is really cursed. https://m.xkcd.com/2531/
So apparently xrdp doesn't support USB redirection ☹️.
Using Barrier for mouse sharing might work with some caveats: https://github.com/debauchee/barrier/issues/164
OK, so this issue is an inherent problem with the RDP protocol only supporting absolute mouse positions while the games are using relative mouse positions. One (very hacky) workaround is to use
xfreerdp --disable-mouse-motion
and Barrier to share the mouse. If possible, using X forwarding is also a possible solution, with caveats of course, such as no Vulkan support.