Cannot use keyboard within Qt app without sudo

前端 未结 1 1892
深忆病人
深忆病人 2021-01-17 04:34

I have an embedded Qt application crosscompiled that runs on BeagleBone Black. It works Ok, but one thing- It doesnt accept keyboard input if i wont run in directly on Beagl

相关标签:
1条回答
  • 2021-01-17 05:05

    I also facing this issue. But in my situation, I use remote desktop from Windows OS to raspberry / beaglebone.

    My solution (make sure at least you know how to configure ssh in raspberry) :

    1. install xrdp (sudo apt-get install xrdp) on raspberry / beaglebone / other embedded linux
    2. in PC instal xming (search sourceforge)
    3. open XLaunch, select multiple windows > start no client > clipboard > finish
    4. open putty >> session, enter host name / IP address, putty >> SSH >> X11 >> check 'Enable X11 forwarding' putty >> click Open button
    5. login ssh and then type qcreator

    now the keyboard should be fine

    0 讨论(0)
提交回复
热议问题