Skip to content
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

libuihook not able to find keyboard/mouse when invoked over SSH on an UDOO Quad #58

Open
tsantor opened this issue Mar 2, 2018 · 0 comments

Comments

@tsantor
Copy link

tsantor commented Mar 2, 2018

I am using the Node package iohook which leverages libuiohook. The original issue was here for context. However, now that I can run iohook on the UDOO Quad ARM computer locally when run from the terminal on the physical machine, I cannot run iohook when invoking the app from a remote computer via SSH.

I was told this was an libuiohook issue so here I am.

The usage example iohook provides works when run from the terminal on the actual machine with a monitor, keyboard and mouse.

However, when disconnecting the monitor and keyboard (and even with them connected) and SSHing into the UDOO, I get this when running the usage example:

on_library_load [456]: XOpenDisplay failure!
load_input_helper [1907]: XkbGetKeyboard failed to locate a valid keyboard!
PID 7608 received SIGSEGV for address: 0x94
Error: Couldn't find per display information

Also, the intent is for this to be run on an UDOO Quad without a monitor or mouse connected, just a USB button which essentially acts as a keyboard.

Doing the reverse and SSHing into my Mac from the UDOO, I am able to run the usage example remotely on my Mac and press the USB button connected to the Mac and get the keyup event. However, doing the opposite and SSHing into my UDOO from the Mac and running the usage example provides the above error. Any ideas?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant