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

"QXcbConnection: Failed to get the primary output of the screen" when launching applications when using X forwarding

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P2: Important
    • Resolution: Done
    • Affects Version/s: 5.0.2
    • Fix Version/s: 5.5.0 Beta
    • Component/s: Core: Plugins
    • Environment:
      Windows 7 with Xming installed and X forwarding enabled in Putty + Ubuntu 12.04 64-bit
    • Commits:
      ebdf9916600f0b0cd4d25b538d1fd0fef6e89077

      Description

      This issue can be reproduced only if launching applications remotely.

      Steps to reproduce
      1. Install Putty and Xming on the Windows 7 machine.
      2. Launch Xming
      3. Launch Putty (from "ssh", check "enable X forwarding")
      4. Connect to the Ubuntu 12.04 machine
      5. Launch e.g Qt Designer or any other Qt application e.g. analogclock

      Expected outcome:
      No warnings or errors are shown

      Actual outcome:
      These warnings are shown:
      QXcbConnection: Failed to get the primary output of the screen
      QXcbConnection: XCB error: 170 (Unknown), sequence: 147, resource id: 90, major
      code: 146 (Unknown), minor code: 20
      QXcbConnection: Failed to get the primary output of the screen
      QXcbConnection: XCB error: 170 (Unknown), sequence: 230, resource id: 8388614,
      major code: 146 (Unknown), minor code: 20

        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:
              qtcomsupport Qt Support
              Votes:
              8 Vote for this issue
              Watchers:
              21 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Gerrit Reviews

                  There are no open Gerrit changes