Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. xinit: unexpected signal 2
Forum Updated to NodeBB v4.3 + New Features

xinit: unexpected signal 2

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
2 Posts 2 Posters 1.9k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • T Offline
    T Offline
    Tirupathi Korla
    wrote on last edited by
    #1

    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

    E 1 Reply Last reply
    0
    • T Tirupathi Korla

      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

      E Offline
      E Offline
      Eeli K
      wrote on last edited by
      #2

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

      1 Reply Last reply
      1

      • Login

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved