qt.qpa.xcb: could not connect to display #25926

issue techy2 opened this issue on August 25, 2022
  1. techy2 commented at 12:08 AM on August 25, 2022: none

    <!-- This issue tracker is only for technical issues related to Bitcoin Core. General bitcoin questions and/or support requests are best directed to the Bitcoin StackExchange at https://bitcoin.stackexchange.com. For reporting security issues, please read instructions at https://bitcoincore.org/en/contact/. If the node is "stuck" during sync or giving "block checksum mismatch" errors, please ensure your hardware is stable by running memtest and observe CPU temperature with a load-test tool such as linpack before creating an issue! -->

    <!-- Describe the issue -->

    ubuntu 20.04 desktop with necessary build tools for bitcoin core

    QFactoryLoader::QFactoryLoader() ignoring "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3" since plugins are disabled in static builds qt.qpa.xcb: could not connect to display qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found

    bitcoin core v23.0 built using depends on ubuntu 20.04 NOTE: same issue is present with 22.0 binaries built on ubuntu 18.04 the binaries run just fine on the 18.04 server

    This appears to be a dependency issue in the build tree

    Expected behavior

    <!--- What behavior did you expect? -->

    bitcoin-qt to start Actual behavior bitcoin-qt failed to start, error message above

    <!--- What was the actual behavior (provide screenshots if the issue is GUI-related)? -->

    To reproduce install fresh ubuntu 20.04 or lubuntu 20.04 desktop apt-get install ..... the build stuff for bitcoin core cd depends make cd .. ./autogen.sh configure --- with lots of stuff normally used run binary with normal config

    <!--- How reliably can you reproduce the issue, what are the steps to do so? -->

    100% every time System information lubuntu 20.04 and ubuntu 20.04

    <!-- What version of Bitcoin Core are you using, where did you get it (website, self-compiled, etc)? -->

    github checkout tag v23.0

    <!-- What type of machine are you observing the error on (OS/CPU and disk type)? -->

    proliant GL380-G7 192G/ram 2T disk

    <!-- GUI-related issue? What is your operating system and its version? If Linux, what is your desktop environment and graphical shell? -->

    see above

    <!-- Any extra information that might be useful in the debugging process. -->

    tried all the solutions found with google, about a half dozen of them The error message about platforms not included in static build appears to be the key, do not know how to resolve that.

    <!--- This is normally the contents of a `debug.log` or `config.log` file. Raw text or a link to a pastebin type site are preferred. -->

  2. techy2 added the label Bug on Aug 25, 2022
  3. techy2 commented at 12:30 AM on August 25, 2022: none

    config parameters ./configure --enable-glibc-back-compat --prefix=$(pwd)/depends/x86_64-pc-linux-gnu LDFLAGS="-static-libstdc++" --enable-cxx --enable-static --disable-shared --disable-debug --disable-tests --disable-bench --with-pic CPPFLAGS="-fPIC -O2 --param ggc-min-expand=1 --param ggc-min-heapsize=32768" CXXFLAGS="-fPIC -O2 --param ggc-min-expand=1 --param ggc-min-heapsize=32768"

  4. hebasto commented at 6:14 AM on August 25, 2022: member

    @techy2

    ~Please move this issue int the dedicated https://github.com/bitcoin-core/gui repo.~ (this looks like a build issue)

    What is Qt configure summary when you built Qt package in your depends?

  5. hebasto commented at 6:19 AM on August 25, 2022: member

    @techy2

    config parameters ./configure --enable-glibc-back-compat --prefix=$(pwd)/depends/x86_64-pc-linux-gnu LDFLAGS="-static-libstdc++" --enable-cxx --enable-static --disable-shared --disable-debug --disable-tests --disable-bench --with-pic CPPFLAGS="-fPIC -O2 --param ggc-min-expand=1 --param ggc-min-heapsize=32768" CXXFLAGS="-fPIC -O2 --param ggc-min-expand=1 --param ggc-min-heapsize=32768"

    Building with depends requires to use CONFIG_SITE variable.

    tried all the solutions found with google, about a half dozen of them

    Mind trying to follow the docs?

  6. fanquake commented at 2:30 PM on August 28, 2022: member
  7. fanquake closed this on Aug 28, 2022

  8. bitcoin locked this on Aug 28, 2023
Labels

github-metadata-mirror

This is a metadata mirror of the GitHub repository bitcoin/bitcoin. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2026-04-29 03:14 UTC

This site is hosted by @0xB10C
More mirrored repositories can be found on mirror.b10c.me