Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. QXcbConnection: XCB error: 165 (Unknown)...
Qt 6.11 is out! See what's new in the release blog

QXcbConnection: XCB error: 165 (Unknown)...

Scheduled Pinned Locked Moved General and Desktop
2 Posts 2 Posters 6.8k Views 3 Watching
  • 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.
  • mgilormaM Offline
    mgilormaM Offline
    mgilorma
    wrote on last edited by
    #1

    I have be struggling with this error showing up on my system after upgrading the qtlibs from qt4 to qt5. I am running Ubuntu Server 12.04. My qt4 applications run fine, but any qt5 applications were not running and getting the following error:

    QXcbConnection: XCB error: 165 (Unknown), sequence: 148, resource id: 0, major code: 149 (Unknown), minor code: 20

    After lots of digging and installing everything under the sun I found a comment on a QT bug tracker that worked for me. It might just be a bug in the particular version of Qt libs that are installed on my system, but I needed to enable Xinerama in my xorg.conf file by adding the following to the ServerLayout section:

    Option "Xinerama" "true"

    Just wanted to put this up on the forum in case it helps anybody.

    1 Reply Last reply
    0
    • Z Offline
      Z Offline
      zhaoweiwei
      wrote on last edited by
      #2

      Thanks a lot. Qt5 works normally now. I want to know how do you locate the problem?

      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