put a TEdit on Form1, BUILD, got a program file "project1".
FPC 3.3.1, Widgetset is gtk2.
==============================
run in kylinos desktop V10 (银河麒麟桌面操作系统V10,
https://www.kylinos.cn/scheme/desktop/2.html),
run a terminal, input: sudo ./project , after Form1 Show, press char key in Edit1, recieve 2chars.
run as normal user will no problem.
----------------------------------
run in ubuntu18, everything is fine.
===========================
i found another similar msg here but no replies.
https://forum.lazarus.freepascal.org/index.php/topic,6133.msg28528.html