Bitcoin Forum
May 25, 2024, 06:34:50 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: bitcoin-qt QXcbConnection: Could not connect to display  (Read 186 times)
walletscat (OP)
Newbie
*
Offline Offline

Activity: 8
Merit: 1


View Profile
July 19, 2019, 10:22:34 AM
 #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?

AdolfinWolf
Legendary
*
Offline Offline

Activity: 1946
Merit: 1427


View Profile
July 19, 2019, 01:47:50 PM
Merited by malevolent (1)
 #2

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.


walletscat (OP)
Newbie
*
Offline Offline

Activity: 8
Merit: 1


View Profile
July 19, 2019, 07:48:01 PM
 #3

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
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!