From Core to Knots

Hi, I am trying to switch from Core to Knots on Linux but when I click on “bitcon-qt” nothing happens. It is already executable.

Just to let you know I am very new with Linux, don’t even know how to make a shortcut. The Node is pruned by the way, maybe has something to do with the issue?

Question. A prune Node can be reachable?

Thanks

Yes, a pruned node can be reachable.

To gather more information, please reboot (in case anything is cached), and then go to the folder where bitcoin-qt is located, and open that folder in the terminal. Then type:

./bitcoin-qt

That should hopefully print out any error messages into the terminal window when it fails to launch. Post here what you see.

Good day

./bitcoin-qt: error while loading shared libraries: libxcb-xinerama.so.0: cannot open shared object file: No such file or directory

I get this.

That error means the binary can’t find one of its GUI dependencies. You need the XCB “xinerama” library that provides libxcb-xinerama.so.0.

Quick fix (pick your distro):

Ubuntu/Debian/Linux Mint:

sudo apt update
sudo apt install libxcb-xinerama0

Fedora / RHEL / CentOS (dnf):

sudo dnf install xcb-util-xinerama

Arch / Manjaro:

sudo pacman -S xcb-util-xinerama

openSUSE:

sudo zypper install libxcb-xinerama0

Then try launching again from the terminal as before:

./bitcoin-qt

If it still won’t start, let me know what errors you see this time.

Is working perfectly Knots now, but it is synchronizing from scratch.

Do you recall how you configured Core? It must have used a custom datadir rather than the default. If you can figure out where that is, you should be able to configure Knots to look there instead. It is probably a good idea to find that out anyway, since the other copy of the blockchain data will continue to use up disk space otherwise.

Hi. Yes I know where the folder is. How can I direct Knots to that folder?

Thanks Paul

I believe you can launch bitcoin-qt from the terminal like this to have it ask you for the datadir via graphical interface;

./bitcoin-qt -choosedatadir

Let me know if that doesn’t work. It won’t delete the other folder, so once you confirm it is working, you can clear up the duplicate folder to free up the space.

Finally is working. Thanks for your time.