bitcoin-qt QXcbConnection: Could not connect to display (bitcoin ppa) #16423

issue WalletCat openend this issue on July 19, 2019
  1. WalletCat commented at 9:42 am on July 19, 2019: none

    After the installation process I receive a notification

    0"Warning: The home dir /var/lib/bitcoin you specified can't be accessed: No such file or directory
    1Adding system user `bitcoin' (UID 113) ...
    2Adding new group `bitcoin' (GID 122) ...
    3Adding new user `bitcoin' (UID 113) with group `bitcoin' ...
    4Not creating home directory `/var/lib/bitcoin'.
    5bitcoind.service is a disabled or a static unit, not starting it. "
    

    I started opening bitcoin-qt unsuccessfully

    0" sudo bitcoin-qt
    1QXcbConnection: Could not connect to display
    2Aborted (core dumped)"
    

    I’m using Ubuntu 16.04 user sudo but not root Is there any way to solve this problem?

  2. fanquake added the label GUI on Jul 19, 2019
  3. fanquake added the label Linux/Unix on Jul 19, 2019
  4. hebasto commented at 10:29 am on July 19, 2019: member
    @WalletCat What is the source of the package you installed?
  5. WalletCat commented at 10:36 am on July 19, 2019: none

    @hebasto What is the source of the package you installed?

    0sudo apt-add-repository ppa:bitcoin/bitcoin
    1sudo apt-get install bitcoin-qt
    

    I installed with PPA

  6. hebasto commented at 11:04 am on July 19, 2019: member

    Cannot reproduce the issue:

    0$ bitcoin-qt -version | grep version
    1Bitcoin Core version v0.18.0.0-g2472733a24a9364e4c6233ccd04166a26a68cc65 (64-bit)
    

    @WalletCat Could you provide your output of bitcoin-qt -version | grep version?

  7. WalletCat commented at 11:25 am on July 19, 2019: none
    0bitcoin-qt -version | grep version
    

    Is there any other way to install new? Pls help me

  8. hebasto commented at 11:33 am on July 19, 2019: member

    @WalletCat

    Is there any other way to install new? Pls help me

    https://bitcoincore.org/en/download/

  9. MarcoFalke renamed this:
    bitcoin-qt QXcbConnection: Could not connect to display
    bitcoin-qt QXcbConnection: Could not connect to display (bitcoin ppa)
    on Jul 19, 2019
  10. hebasto commented at 9:11 am on January 15, 2020: member
    @MarcoFalke It seems this could be closed.
  11. MarcoFalke commented at 4:35 pm on January 15, 2020: member

    @WalletCat The ppa is unmaintained (at least for now). You might want to try the Bitcoin Core snap or flatpak:

  12. MarcoFalke closed this on Jan 15, 2020

  13. laanwj commented at 6:01 pm on January 15, 2020: member

    " sudo bitcoin-qt

    also it’s a bad idea to run a X program with sudo, I don’t think it passes through the DISPLAY and such, also there is no reason why you’d run bitcoind or -qt as root

  14. DrahtBot locked this on Feb 15, 2022

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: 2024-11-21 09:12 UTC

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