monero-gui icon indicating copy to clipboard operation
monero-gui copied to clipboard

Monero Wallet GUI fails to detect already running monerod

Open adrelanos opened this issue 2 years ago • 3 comments

If monerod is already running or better said if port 18081 on localhost is already open, Monero Wallet CLI auto detects that, uses that port to connect to to that monerod.

Monero Wallet GUI however ignores existing localhost port 18081 and starts its own monerod.

Could you please autodetect if monerod is running on the default port on localhost and in that case avoid Monero Wallet GUI from starting its own monerod?

adrelanos avatar Nov 02 '21 13:11 adrelanos

That must be some configuration issue. The GUI does auto detect if a daemon is running on port 18081 and uses it. Is anything special with your setup?

selsta avatar Nov 02 '21 14:11 selsta

This is the full setup: https://www.whonix.org/wiki/Monero_Wallet_Isolation

Special because socat opens the listening port and forwards it. Monero Wallet CLI can deal with it. Monero Wallet GUI seems to do something else. Does it attempt to detect the process instead of the listening port?

adrelanos avatar Nov 02 '21 14:11 adrelanos

For what it's worth, for me (on bog-standard Linux) sometimes it does not detect an already-running daemon fast enough, the GUI wallet kind of gives up and starts to show its "countdown to daemon start" dialog box. If I click the "special settings" button there to prevent any daemon start attempt it takes only a few seconds more until it finally connects to the daemon. No idea why detecting the daemon should take so long ...

rbrunner7 avatar Dec 24 '21 10:12 rbrunner7