Bitcoin Forum

Bitcoin => Bitcoin Technical Support => Topic started by: walletscat on July 19, 2019, 10:22:34 AM



Title: bitcoin-qt QXcbConnection: Could not connect to display
Post by: walletscat on July 19, 2019, 10:22:34 AM
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?



Title: Re: bitcoin-qt QXcbConnection: Could not connect to display
Post by: AdolfinWolf on July 19, 2019, 01:47:50 PM
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.



Title: Re: bitcoin-qt QXcbConnection: Could not connect to display
Post by: walletscat on July 19, 2019, 07:48:01 PM
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