xinit: unexpected signal 2
Unsolved
Mobile and Embedded
-
Hi,
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.Thanks
Tirupathi -
@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.