Important: Please read the Qt Code of Conduct -

failed to initialize XrandR

  • I am develop my application in Ubuntu(without display) with QT5.15.2
    But when i click the Run. The Qt Creator build fail and tell me:

    qt.qpa.xcb: failed to initialize XRandr
    qt.qpa.xcb: XKeyboard extension not present on the X server

    By the way, I am using xrdp to operate the remote server. I try many methods, but they not work for me. What should I do? Give me advise.

Log in to reply