hogo_fogo (OP)
Newbie
Offline
Activity: 11
Merit: 1
|
|
December 08, 2016, 11:55:01 PM |
|
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
|
|
|
|
|
|
|
|
"Your bitcoin is secured in a way that is physically impossible for others to access, no matter for what reason, no matter how good the excuse, no matter a majority of miners, no matter what." -- Greg Maxwell
|
|
|
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
|
|
|
|
cr1776
Legendary
Offline
Activity: 4018
Merit: 1299
|
|
December 09, 2016, 12:04:52 AM |
|
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 Which version? What OS and version? 😀
|
|
|
|
hogo_fogo (OP)
Newbie
Offline
Activity: 11
Merit: 1
|
|
December 09, 2016, 12:38:34 AM |
|
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
|
|
|
|
btc_enigma
|
|
December 09, 2016, 06:34:29 AM |
|
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.
|
|
|
|
hogo_fogo (OP)
Newbie
Offline
Activity: 11
Merit: 1
|
|
December 09, 2016, 01:25:27 PM |
|
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...
|
|
|
|
cr1776
Legendary
Offline
Activity: 4018
Merit: 1299
|
|
December 09, 2016, 01:57:45 PM |
|
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... 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)
|
|
|
|
hogo_fogo (OP)
Newbie
Offline
Activity: 11
Merit: 1
|
|
December 12, 2016, 04:09:54 AM |
|
I believe the X server is running, but I am unable to start wallet even after system restart: 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: 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,
|
|
|
|
btc_enigma
|
|
December 12, 2016, 04:18:38 AM |
|
I believe the X server is running, but I am unable to start wallet even after system restart: 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: 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 sudo dpkg-reconfigure xserver-xorg
By the way, why is the display :10 , are you using a vnc session ?
|
|
|
|
hogo_fogo (OP)
Newbie
Offline
Activity: 11
Merit: 1
|
|
December 12, 2016, 11:51:08 PM |
|
Hi btc_enigma, Thank you for your suggestion. Unfortunately it did not help: 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 Thank you for your time.
|
|
|
|
MrAlexar
Newbie
Offline
Activity: 1
Merit: 0
|
|
January 02, 2018, 10:33:40 PM |
|
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.
|
|
|
|
|