I have an embedded Qt application crosscompiled that runs on BeagleBone Black. It works Ok, but one thing- It doesn't accept keyboard input if I won't run in directly on BeagleBone Black preceeding with sudo. This is a problem because:I cannot remote debug application and use connected keyboard, as it doesn't work,I cannot use keyboard when the app is in rc.local file to boot at startup (even though sudo is used there).This is critical for me at the moment and I cannot find solution to the problem for very long. I would really apreciate all help regarding this.My /etc/enviroment content is here:QWS_MOUSE_PROTO=IntelliMouse:/dev/input/mouse0QWS_KEYBOARD=LinuxInput:/dev/ttyTSLIB_CONFFILE=/etc/ts.confTSLIB_PLUGINDIR=/usr/lib/tsAlthough I have tried many different configurations for QWS_KEYBOARD. The keyboard I would like to use is /dev/input/event1.Here are my persmissions:My application rights are:-rwxrwxrwx 1 root root  353100 Mar  2  2015 OvenViewerAnd the input device rights are:crwxrwxrwt 1 root root 13, 65 Mar  1 21:45 event1I have set the rights in a file /etc/udev/rules.d/85-pure-data.rules:KERNEL==event1, MODE=777
Cannot use keyboard within Qt app without sudo
linux;keyboard;c++;input;qt