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

XCB error: 2 and incorrect rendering at first run over SSH forwarding

    XMLWordPrintable

Details

    • Bug
    • Resolution: Invalid
    • Not Evaluated
    • None
    • 5.7.1
    • QPA: X11/XCB
    • None
    • Debian Stretch, standard install of Qt5 using apt-get.

      Container is of the type systemd-nspawn, also Debian Stretch,

    Description

      I have a simple PDF viewer program   https://github.com/amkhlv/pdq  which I run in container using  ssh -X .   When started first time, it reports many errors of the type:

      QXcbConnection: XCB error: 2 (BadValue), resource id: 1024, major code: 130 (Unknown), minor code: 3

      and rendering is all wrong (cannot resize window, garbled text on dialogs etc)

      {{This only happens if I run it forwarded over ssh -X }}

      If I stop the program and run it again, it runs perfectly fine. Only the very first run is problematic.

      It seems that the first run somehow changes the state of the X server, and this change corrects the problem. (If so, would it be possible to just execute some command at startup, which would cause the same change?)

       

      Attachments

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

        Activity

          People

            paeglis Gatis Paeglis
            amkhlv Andrei Mikhailov
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes