Bitcoin Forum

Bitcoin => Electrum => Topic started by: coolio42 on September 19, 2021, 02:00:22 PM



Title: Debian 10 Terminal hell
Post by: coolio42 on September 19, 2021, 02:00:22 PM
I want to run electrum in my terminal and connect it thru tor

i'm using
Code:
./electrum -1 -s explorerzydxu5ecjrkwceayqybizmpjjznk5izmitf2modhcusuqlid.onion:110:t -p socks5:localhost:9050


I get the following error:
Quote
qt.qpa.screen: QXcbConnection: Could not connect to display
Could not connect to any X display.


System info:
VPS

OS: Debian 10 Buster
No access to gui just terminal

Help!


Title: Re: Debian 10 Terminal hell
Post by: jackg on September 19, 2021, 05:43:14 PM
Can't remember what I did but I thought you had to run commands to get the console to work? Like these: https://electrum.readthedocs.io/en/latest/cmdline.html

I think you could try adding a help flag along you're command or just on its own to see if it does anything.


Title: Re: Debian 10 Terminal hell
Post by: coolio42 on September 19, 2021, 07:40:00 PM
Can't remember what I did but I thought you had to run commands to get the console to work? Like these: https://electrum.readthedocs.io/en/latest/cmdline.html

I think you could try adding a help flag along you're command or just on its own to see if it does anything.


I resolved it by creating an offline wallet first and then running the command with the --gui text handle.


Cheers


Title: Re: Debian 10 Terminal hell
Post by: NotATether on September 22, 2021, 07:18:49 AM
I resolved it by creating an offline wallet first and then running the command with the --gui text handle.

Just to clarify, you have started the daemon first (using electrum daemon), right?

If you don't run the daemon it will automatically try to create an X window.