Author

Topic: Unable to launch bitcoin core - getting X11 connection broke: Maximum allowed... (Read 1854 times)

newbie
Activity: 1
Merit: 0
I had the same problem. Solved now.

I was using TMUX, it's a screen manager for bash on Linux. (similar to `screen`).

When I ran bitcoin GUI from within TMUX I would get that error. But when I ran it from a fresh new terminal, it worked.

So, you should make sure the terminal has access to X11. Running `xclock` is a good way to test that as others mentioned.
newbie
Activity: 11
Merit: 1
Hi btc_enigma,

Thank you for your suggestion. Unfortunately it did not help:

Code:
root@server:/opt/bitcoin-0.13.1/bin# sudo dpkg-reconfigure xserver-xorg
root@server:/opt/bitcoin-0.13.1/bin# ./bitcoin-qt
QXcbConnection: Failed to initialize XRandr
Qt: XKEYBOARD extension not present on the X server.
The X11 connection broke: Maximum allowed requested length exceeded (code 4)
XIO:  fatal IO error 2 (No such file or directory) on X server ":10.0"
      after 209 requests (205 known processed) with 0 events remaining.
root@server:/opt/bitcoin-0.13.1/bin#

I guess I will try to re-install bitcoinwallet next Sad

Thank you for your time.
hero member
Activity: 692
Merit: 569
I believe the X server is running, but I am unable to start wallet even after system restart:
Code:
root@server:/opt/bitcoin-0.13.1/bin# ls -l
total 57460
-rwxr-xr-x 1 user user  2748184 Oct 27 00:10 bitcoin-cli
-rwxr-xr-x 1 user user  8860824 Oct 27 00:10 bitcoind
-rwxr-xr-x 1 user user 33109328 Oct 27 00:10 bitcoin-qt
-rwxr-xr-x 1 user user  3080120 Oct 27 00:10 bitcoin-tx
-rwxr-xr-x 1 user user 11032784 Oct 27 00:10 test_bitcoin
root@server:/opt/bitcoin-0.13.1/bin# ./bitcoin-qt
QXcbConnection: Failed to initialize XRandr
Qt: XKEYBOARD extension not present on the X server.
The X11 connection broke: Maximum allowed requested length exceeded (code 4)
XIO:  fatal IO error 2 (No such file or directory) on X server ":10.0"
      after 209 requests (205 known processed) with 0 events remaining.
root@server:/opt/bitcoin-0.13.1/bin# ps -e|grep X
 3043 ?        00:00:45 Xvnc
 4200 tty7     00:00:01 Xorg
root@server:/opt/bitcoin-0.13.1/bin#

XClock starts fine:
Code:
root@server:/opt/bitcoin-0.13.1/bin# xclock
root@server:/opt/bitcoin-0.13.1/bin#

Any suggestions? Thank you for your time.

Cheers,

Strange, can you see if this works
Code:
sudo dpkg-reconfigure xserver-xorg

By the way, why is the display :10 , are you using a vnc session ?
newbie
Activity: 11
Merit: 1
I believe the X server is running, but I am unable to start wallet even after system restart:
Code:
root@server:/opt/bitcoin-0.13.1/bin# ls -l
total 57460
-rwxr-xr-x 1 user user  2748184 Oct 27 00:10 bitcoin-cli
-rwxr-xr-x 1 user user  8860824 Oct 27 00:10 bitcoind
-rwxr-xr-x 1 user user 33109328 Oct 27 00:10 bitcoin-qt
-rwxr-xr-x 1 user user  3080120 Oct 27 00:10 bitcoin-tx
-rwxr-xr-x 1 user user 11032784 Oct 27 00:10 test_bitcoin
root@server:/opt/bitcoin-0.13.1/bin# ./bitcoin-qt
QXcbConnection: Failed to initialize XRandr
Qt: XKEYBOARD extension not present on the X server.
The X11 connection broke: Maximum allowed requested length exceeded (code 4)
XIO:  fatal IO error 2 (No such file or directory) on X server ":10.0"
      after 209 requests (205 known processed) with 0 events remaining.
root@server:/opt/bitcoin-0.13.1/bin# ps -e|grep X
 3043 ?        00:00:45 Xvnc
 4200 tty7     00:00:01 Xorg
root@server:/opt/bitcoin-0.13.1/bin#

XClock starts fine:
Code:
root@server:/opt/bitcoin-0.13.1/bin# xclock
root@server:/opt/bitcoin-0.13.1/bin#

Any suggestions? Thank you for your time.

Cheers,
legendary
Activity: 4228
Merit: 1313
Seems like your server's X display didn't start properly. Do you have a monitor connected to the server and can other ubuntu gui applications like xclock.

Thank you for your reply. Yes, I have monitor connected. The deskop shows correctly. And yes, other programs starts ok (for example truecrypt). Any other suggestions? I guess I will try another reboot...  Undecided

There are various ways to see if X is running, but a more robust way might be to try something like this:

if ! xset q &>/dev/null; then
    echo "No X server at \$DISPLAY [$DISPLAY]" >&2
    exit 1
fi

see
(http://stackoverflow.com/questions/637005/how-to-check-if-x-server-is-running)
newbie
Activity: 11
Merit: 1
Seems like your server's X display didn't start properly. Do you have a monitor connected to the server and can other ubuntu gui applications like xclock.

Thank you for your reply. Yes, I have monitor connected. The deskop shows correctly. And yes, other programs starts ok (for example truecrypt). Any other suggestions? I guess I will try another reboot...  Undecided
hero member
Activity: 692
Merit: 569
Seems like your server's X display didn't start properly. Do you have a monitor connected to the server and can other ubuntu gui applications like xclock.
newbie
Activity: 11
Merit: 1
Quote

Which version? What OS and version? 😀

Wallet: bitcoin-0.13.1
OS: 4.4.0-47-generic #68-Ubuntu SMP x86-64

Thank you for your reply
legendary
Activity: 4228
Merit: 1313
I've installed bitcoin core and it was running OK. We had an electric surge recently, consequently server running the wallet restarted. Now when I try to start bitcoin core wallet by "./bitcoin-qt" I get

QXcbConnection: Failed to initialize XRandr
Qt: XKEYBOARD extension not present on the X server.
The X11 connection broke: Maximum allowed requested length exceeded (code 4).
XIO:  fatal IO error 2 (No such file or directory) on X server ":10.0"

Thank you for your time.

Please help Smiley



Which version? What OS and version? 😀
newbie
Activity: 11
Merit: 1
I've installed bitcoin core and it was running OK. We had an electric surge recently, consequently server running the wallet restarted. Now when I try to start bitcoin core wallet by "./bitcoin-qt" I get

QXcbConnection: Failed to initialize XRandr
Qt: XKEYBOARD extension not present on the X server.
The X11 connection broke: Maximum allowed requested length exceeded (code 4).
XIO:  fatal IO error 2 (No such file or directory) on X server ":10.0"

Thank you for your time.

Please help Smiley

Jump to: