Author

Topic: bitcoin-qt QXcbConnection: Could not connect to display (Read 215 times)

legendary
Activity: 2870
Merit: 7490
Crypto Swap Exchange
Ubuntu Server don't include any desktop environment, you should follow @AdolfinWolf suggestion

If you're confused how to do it, check https://askubuntu.com/q/53822, then run bitcoin-qt from your selected GUI/desktop environment
newbie
Activity: 8
Merit: 1
How exactly did you install bitcoin core on ubuntu? Is your main OS Windows 10?

If you can't connect to a display, and you're running ubuntu localhost, you'll need to install a X-server.

https://sourceforge.net/projects/vcxsrv/

Then run something like

Code:
echo "export DISPLAY=localhost:0.0" >> ~/.bashrc
. ~/.bashrc
https://seanthegeek.net/234/graphical-linux-applications-bash-ubuntu-windows/

Just tried and it worked for me.



I am using Ubuntu server 16.04
Not the App store
legendary
Activity: 1946
Merit: 1427
How exactly did you install bitcoin core on ubuntu? Is your main OS Windows 10?

If you can't connect to a display, and you're running ubuntu localhost, you'll need to install a X-server.

https://sourceforge.net/projects/vcxsrv/

Then run something like

Code:
echo "export DISPLAY=localhost:0.0" >> ~/.bashrc
. ~/.bashrc
https://seanthegeek.net/234/graphical-linux-applications-bash-ubuntu-windows/

Just tried and it worked for me.

newbie
Activity: 8
Merit: 1
After the installation process I receive a notification
Code:
"Warning: The home dir /var/lib/bitcoin you specified can't be accessed: No such file or directory
Adding system user `bitcoin' (UID 113) ...
Adding new group `bitcoin' (GID 122) ...
Adding new user `bitcoin' (UID 113) with group `bitcoin' ...
Not creating home directory `/var/lib/bitcoin'.
bitcoind.service is a disabled or a static unit, not starting it. "

I started opening bitcoin-qt unsuccessfully
Code:
" sudo bitcoin-qt
QXcbConnection: Could not connect to display
Aborted (core dumped)"

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

Jump to: