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. Display error in Qt5
Forum Updated to NodeBB v4.3 + New Features

Display error in Qt5

Scheduled Pinned Locked Moved Mobile and Embedded
10 Posts 2 Posters 3.5k 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.
  • B Offline
    B Offline
    bharat446
    wrote on 6 Dec 2016, 07:29 last edited by A Former User 12 Jun 2016, 17:04
    #1

    I have cross compiled Qt5 and Beaglebone black using linaro toolchain. Every thing went well but when i am running helloworld program I am getting the following error? how to get rid of this error?

    stdin: is not a tty
    No protocol specified
    QXcbConnection: Could not connect to display :0.0
    bash: line 1: 2409 Aborted DISPLAY=':0.0' /root/hi
    Application finished with exit code 134.

    J 1 Reply Last reply 6 Dec 2016, 07:41
    0
    • B bharat446
      6 Dec 2016, 07:29

      I have cross compiled Qt5 and Beaglebone black using linaro toolchain. Every thing went well but when i am running helloworld program I am getting the following error? how to get rid of this error?

      stdin: is not a tty
      No protocol specified
      QXcbConnection: Could not connect to display :0.0
      bash: line 1: 2409 Aborted DISPLAY=':0.0' /root/hi
      Application finished with exit code 134.

      J Offline
      J Offline
      jsulm
      Lifetime Qt Champion
      wrote on 6 Dec 2016, 07:41 last edited by
      #2

      @bharat446 Do you have a X server running on your Beaglebone?

      https://forum.qt.io/topic/113070/qt-code-of-conduct

      B 1 Reply Last reply 6 Dec 2016, 07:49
      0
      • J jsulm
        6 Dec 2016, 07:41

        @bharat446 Do you have a X server running on your Beaglebone?

        B Offline
        B Offline
        bharat446
        wrote on 6 Dec 2016, 07:49 last edited by bharat446 12 Jun 2016, 09:44
        #3

        @jsulm Yes my beaglebone has X server running.

        B 1 Reply Last reply 6 Dec 2016, 09:45
        0
        • B bharat446
          6 Dec 2016, 07:49

          @jsulm Yes my beaglebone has X server running.

          B Offline
          B Offline
          bharat446
          wrote on 6 Dec 2016, 09:45 last edited by bharat446 12 Jun 2016, 09:46
          #4

          @bharat446 said in Display error in qt5:

          @jsulm Yes my beaglebone has X server running.

          Can you tell me how xserver will help me in solving this error.

          J 1 Reply Last reply 6 Dec 2016, 11:29
          0
          • B bharat446
            6 Dec 2016, 09:45

            @bharat446 said in Display error in qt5:

            @jsulm Yes my beaglebone has X server running.

            Can you tell me how xserver will help me in solving this error.

            J Offline
            J Offline
            jsulm
            Lifetime Qt Champion
            wrote on 6 Dec 2016, 11:29 last edited by
            #5

            @bharat446 Your app is apparently not able to connect to X server:

            QXcbConnection: Could not connect to display :0.0
            bash: line 1: 2409 Aborted DISPLAY=':0.0' /root/hi
            

            So, do you have a running UI? Are other graphics applications running?

            https://forum.qt.io/topic/113070/qt-code-of-conduct

            B 1 Reply Last reply 7 Dec 2016, 10:28
            0
            • J jsulm
              6 Dec 2016, 11:29

              @bharat446 Your app is apparently not able to connect to X server:

              QXcbConnection: Could not connect to display :0.0
              bash: line 1: 2409 Aborted DISPLAY=':0.0' /root/hi
              

              So, do you have a running UI? Are other graphics applications running?

              B Offline
              B Offline
              bharat446
              wrote on 7 Dec 2016, 10:28 last edited by
              #6

              @jsulm First of all sorry for the late reply. No other graphics applications are running . Every app is giving the same error. however I have interfaced LCD cape to Beaglebone black and have run helloworld program it is running fine and a simple helloworld application is showing. when i try to run programs through QT I am facing this error.

              B 1 Reply Last reply 7 Dec 2016, 10:53
              0
              • B bharat446
                7 Dec 2016, 10:28

                @jsulm First of all sorry for the late reply. No other graphics applications are running . Every app is giving the same error. however I have interfaced LCD cape to Beaglebone black and have run helloworld program it is running fine and a simple helloworld application is showing. when i try to run programs through QT I am facing this error.

                B Offline
                B Offline
                bharat446
                wrote on 7 Dec 2016, 10:53 last edited by
                #7

                @bharat446 said in Display error in Qt5:

                @jsulm First of all sorry for the late reply. No other graphics applications are running . Every app is giving the same error. however I have interfaced LCD cape to Beaglebone black and have run helloworld program it is running fine and a simple helloworld application is showing. when i try to run programs through QT I am facing this error.

                After doing some changes using xauthority. The output in terminal changed from QXcbConnection: Could not connect to display :0.0 to this.
                0_1481107260002_upload-1e9bceea-fc43-4f1d-943e-fe5d23874f03 file:///home/cse/Pictures/Screenshot%20from%202016-12-07%2016-10-20.png

                I am attaching screenshot of QT file along with error.
                0_1481107374028_upload-5ce09630-e823-4eaf-9324-243e3bfcf183 file:///home/cse/Pictures/Screenshot%20from%202016-12-07%2016-12-18.png

                J 1 Reply Last reply 7 Dec 2016, 11:54
                0
                • B bharat446
                  7 Dec 2016, 10:53

                  @bharat446 said in Display error in Qt5:

                  @jsulm First of all sorry for the late reply. No other graphics applications are running . Every app is giving the same error. however I have interfaced LCD cape to Beaglebone black and have run helloworld program it is running fine and a simple helloworld application is showing. when i try to run programs through QT I am facing this error.

                  After doing some changes using xauthority. The output in terminal changed from QXcbConnection: Could not connect to display :0.0 to this.
                  0_1481107260002_upload-1e9bceea-fc43-4f1d-943e-fe5d23874f03 file:///home/cse/Pictures/Screenshot%20from%202016-12-07%2016-10-20.png

                  I am attaching screenshot of QT file along with error.
                  0_1481107374028_upload-5ce09630-e823-4eaf-9324-243e3bfcf183 file:///home/cse/Pictures/Screenshot%20from%202016-12-07%2016-12-18.png

                  J Offline
                  J Offline
                  jsulm
                  Lifetime Qt Champion
                  wrote on 7 Dec 2016, 11:54 last edited by
                  #8

                  @bharat446 Sorry, I cannot see the pictures: attaching pictures does not work properly in this forum.

                  https://forum.qt.io/topic/113070/qt-code-of-conduct

                  B 1 Reply Last reply 7 Dec 2016, 12:04
                  0
                  • J jsulm
                    7 Dec 2016, 11:54

                    @bharat446 Sorry, I cannot see the pictures: attaching pictures does not work properly in this forum.

                    B Offline
                    B Offline
                    bharat446
                    wrote on 7 Dec 2016, 12:04 last edited by bharat446 12 Jul 2016, 12:05
                    #9

                    @jsulm

                    In terminal
                    After doing some changes using xauthority. The output in terminal changed from QXcbConnection: Could not connect to display :0.0 to this.

                    The X11 connection broke: No error (code 0)
                    XIO: fatal IO error 11 (Resource temporarily unavailable) on X server "localhost:10.0"
                    after 16 requests (16 known processed) with 0 events remaining.

                    In QT nothing has changed same error is presant.

                    J 1 Reply Last reply 7 Dec 2016, 12:05
                    0
                    • B bharat446
                      7 Dec 2016, 12:04

                      @jsulm

                      In terminal
                      After doing some changes using xauthority. The output in terminal changed from QXcbConnection: Could not connect to display :0.0 to this.

                      The X11 connection broke: No error (code 0)
                      XIO: fatal IO error 11 (Resource temporarily unavailable) on X server "localhost:10.0"
                      after 16 requests (16 known processed) with 0 events remaining.

                      In QT nothing has changed same error is presant.

                      J Offline
                      J Offline
                      jsulm
                      Lifetime Qt Champion
                      wrote on 7 Dec 2016, 12:05 last edited by
                      #10

                      @bharat446 Sorry, I don't know how to get X server running on Beaglebone.

                      https://forum.qt.io/topic/113070/qt-code-of-conduct

                      1 Reply Last reply
                      0

                      6/10

                      7 Dec 2016, 10:28

                      • Login

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