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.4k 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 last edited by A Former User
    #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.

    jsulmJ 1 Reply Last reply
    0
    • B bharat446

      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.

      jsulmJ Offline
      jsulmJ Offline
      jsulm
      Lifetime Qt Champion
      wrote on 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
      0
      • jsulmJ jsulm

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

        B Offline
        B Offline
        bharat446
        wrote on last edited by bharat446
        #3

        @jsulm Yes my beaglebone has X server running.

        B 1 Reply Last reply
        0
        • B bharat446

          @jsulm Yes my beaglebone has X server running.

          B Offline
          B Offline
          bharat446
          wrote on last edited by bharat446
          #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.

          jsulmJ 1 Reply Last reply
          0
          • B bharat446

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

            jsulmJ Offline
            jsulmJ Offline
            jsulm
            Lifetime Qt Champion
            wrote on 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
            0
            • jsulmJ jsulm

              @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 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
              0
              • B bharat446

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

                jsulmJ 1 Reply Last reply
                0
                • B bharat446

                  @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

                  jsulmJ Offline
                  jsulmJ Offline
                  jsulm
                  Lifetime Qt Champion
                  wrote on 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
                  0
                  • jsulmJ jsulm

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

                    B Offline
                    B Offline
                    bharat446
                    wrote on last edited by bharat446
                    #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.

                    jsulmJ 1 Reply Last reply
                    0
                    • B bharat446

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

                      jsulmJ Offline
                      jsulmJ Offline
                      jsulm
                      Lifetime Qt Champion
                      wrote on 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

                      • Login

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