xinit: unexpected signal 2

  • 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.


  • @Tirupathi-Korla See 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.

Log in to reply