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

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: P2: Important P2: Important
    • 5.5.0 Beta
    • 5.0.2
    • Core: Plugins
    • Windows 7 with Xming installed and X forwarding enabled in Putty + Ubuntu 12.04 64-bit
    • ebdf9916600f0b0cd4d25b538d1fd0fef6e89077

      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

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

            srutledg Shawn Rutledge
            qtcomsupport Qt Support
            Votes:
            8 Vote for this issue
            Watchers:
            21 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes