FreeRDP sessions crash when using Right mouse button or Back Button

FreeRDP sessions crash when using Right mouse button or Back Button

0 vote

avatar

Tested with the latest RDM Free version 2020.2.3.0.

FreeRDP sessions crash every time i use the Right mouse button. Same thing happens with the back button.
I use a Logitech MX master 3 mouse. Strangely when i use a different mouse (Steelseries) i don't have the right click issue.

I know that this issue was also present in the Mac OS version of RDM. There the back button was disabled.

All Comments (3)

avatar

Thank you for report this issue.
If you run RDM in a terminal, do you have a callstack when the crash occurs?
To run RDM in a terminal, execute remotedesktopmanager

Regards

Jonathan Lafontaine

avatar

Hello Jonathan,

I managed to fix this issue. It was not a issue specific to RDM but a Mouse issue in general. Different mice use different bindings for the back/forward buttons.
In windows the basic mouse driver makes it work out of the box, linux does not.

The fix was as follows:

  1. Install imwheel package from the package manager of the distro. It should be in the default repos (checked on Arch and Fedora)
  2. Then creating a config file for IMwheel with the following lines:


".*" 
None, Thumb1, Alt_L|Left 
None 
Thumb2, Alt_L|Right 

And then i typ imwheel into the terminal and test the back/forward mouse buttons. And it now works fine.

I tested this with Arch linux and Gnome 3.36. WIth this fix it works now in both Xwayland and Xorg.

Finally made imwheel a service that runs at startup.

avatar

Glad you could make it work and thank you for providing the solution, it's appreciated.

Jonathan Lafontaine