Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-45025

[Reg] QXcbConnection:: no screens available

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P2: Important
    • Resolution: Done
    • Affects Version/s: 5.5.0 Alpha
    • Fix Version/s: 5.5.0 Beta
    • Component/s: QPA: X11/XCB
    • Labels:
      None
    • Commits:
      ebdf9916600f0b0cd4d25b538d1fd0fef6e89077

      Description

      Regression introduced by:
      https://codereview.qt-project.org/#/c/107504/

      Reproducible with a remote connection from Windows (Xming/XLaunch) to Ubuntu. This is what I get on application startup:

      QXcbConnection: Failed to get the primary output of the screen
      QXcbConnection: no screen available
      Abort (core dumped)
      

      With earlier versions of Qt 5.x application did start up and worked as expected and output was the following:

      QXcbConnection: Failed to get the primary output of the screen
      

      Ubuntu has 2 screen connected.
      Windows machine has 1 screen connected.

        Attachments

          Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            Activity

              People

              Assignee:
              srutledg Shawn Rutledge
              Reporter:
              paeglis Gatis Paeglis
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Gerrit Reviews

                  There are no open Gerrit changes