Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
xinit: unexpected signal 2
Tirupathi Korla last edited by
We are running a Qt application on embedded platform. We are running the application using script. Inside script we are using "startx appname". When we send interrupt (ctrl+c), it is throwing error "xinit: unexpected signal 2" . If we run the application properly using Xorg, it is exiting properly.
Eeli K last edited by
@Tirupathi-Korla See http://man7.org/linux/man-pages/man7/signal.7.html for the signal 2 (I suppose it's linux you are using). In your application you can handle that signal and exit normally. That should help if normal exit() works as you wish.