-
Notifications
You must be signed in to change notification settings - Fork 13
"Quick Set" button and other mapping buttons causing MIT-MAGIC-COOKIE-1 segmentation fault on Ubuntu 18.10. #39
Comments
So you are trying to import a profile that is 2-years old? If I understand correctly? If that's the case, then could you send me the profile file by email? |
It's not a problem related to old profiles, even with a brand new profile it behaves the same way, mainly crashes with MIT-MAGIC-COOKIE-1 error when clicking on any regular button. |
How is it working now? By the way I hope that you are not using sudo privileges during execution |
It's working without crashing now (and I do not use "sudo" to execute), although it still prints the message "Invalid MIT-MAGIC-COOKIE-1 key" in the terminal. |
I've found some sites with explanations: iwf1.com Probably:
|
I've seen a few of these links before. But I don't execute the antimicro with "sudo", and there is no ".Xauthority" file in my home folder. |
the window is bothered by it because of the lines of code in src/keyboard/virtualkeyboardmousewidget.cpp:
I needed it to know, if numlock is activated or not for keyboard. I haven't found better solution for Linux so far. If you really want to know the reason, you can change ":0" to ":1" and compile it again. |
I see. Unfortunately, I can't suggest a better solution. Thanks for solving the crashing! |
but maybe the problem is related to first attempt with ":0" in the code, so I will remove the first line and you can see again, it it's still appearing |
Yes, the latest commit works fine, without any warnings. |
The profiles from antimicro (2016 version) are working fine with all the mapped buttons.
But when I try to chance the mapping to most of the buttons, by clicking on "Quick Set" or "A:" or "B:" and other buttons, antimicro crashes with this output in the terminal: "Invalid MIT-MAGIC-COOKIE-1 keySegmentation fault (core dumped)".
Buttons that are working as expected: L Trigger, R Trigger, L stick, R stick, Dpad.
Other buttons, for example: Controller Mapping, Properties and Key Checker, are working too.
Tested with the gamepad "Steelseries Stratus Xl" on Ubuntu 18.10 amd64.
I searched for some workarounds but found nothing that helped.
The text was updated successfully, but these errors were encountered: