PDA

View Full Version : Using keyboard when remote debbuging



bremenpl
11th October 2014, 18:46
Hello there,
I am suing QT and QT creator to deploy and debug a QT Widget application on a remote target (BeagleBone Black). The problem is that when I turn on the application from ssh I cannot use the keyboard attached to the target- it doesnt work. If I open the application directly on the target the keyboatd works perfectly fine.

Is there a way of resolving this besides attaching debug session to a working already process?

anda_skoa
11th October 2014, 19:09
What kind of platform backend are you using?

If it is XCB, i.e. if you are running an XServer on the device, simply make sure that your SSH connection does not forward the X11 socket but that the DISPLAY variable points to the local connection (usually ":0")

Cheers,
_

bremenpl
11th October 2014, 19:17
Hello there,
I am using gdbserver on bbb. I dont have any gui enviremonet on the bbb. Was this what you were asking? Am i supposed to just add a linker variable?