clay-v / joinMarketDocs

https://clay-v.github.io/joinMarketDocs/
4 stars 1 forks source link

Fastest way to coinjoin on Ubuntu #1

Closed clay-v closed 3 years ago

clay-v commented 3 years ago

Payout: 750k sats (0.0075 btc)

Guide file

We'd like a guide on the fastest way to make a first coinjoin on a desktop. We'd like to have the user to be able to go from zero to be able to make a payment in Joinmarket in the fastest way possible.

  1. Install Virtual Box 01 Ubuntu Node Box - Ubuntu Virtual Machine & Familiarisation

    • [ ] Optimize for minimum requirements necessary in terms of storage, ram and cpu
  2. Install Joininbox - it was brought to my attention by @openoms that Joininbox can do a lot of the hevy lifting and can work on Debian / Ubuntu Linux VM as well.

clay-v commented 3 years ago

@openoms

Everything went great except for the Qt. I go through the menu and get to the screen with the command to open the GUI on Linux ssh -X joinmarket@192.168.1.241 joinmarket-clientserver/jmvenv/bin/python joinmarket-clientserver/scripts/joinmarket-qt.py

I changed it to /home/joinmarket/joinmarket-clientserver/jmvenv/bin/python /home/joinmarket/joinmarket-clientserver/scripts/joinmarket-qt.py since it's the same computer and I get

No protocol specified
qt.qpa.xcb: could not connect to display :0
qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found.
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.

Available platform plugins are: eglfs, linuxfb, minimal, minimalegl, offscreen, vnc, wayland-egl, wayland, wayland-xcomposite-egl, wayland-xcomposite-glx, webgl, xcb.

Aborted (core dumped)
openoms commented 3 years ago

what works for me on Debian Buster desktop:

Screenshot from 2021-06-14 16-19-37

The instructions can be updated to explain these steps in a VM even from the menu.

clay-v commented 3 years ago

Yeah, that didn't work for me. I tried some things that may have messed it up. I may have to restart. I'll get back to you.

openoms commented 3 years ago

By switching user I meant to use the User menu, switch user in Linux and log in with the joinmarket user, not just switching the terminal. Otherwise the desktop environment will get into those permission problems.

clay-v commented 3 years ago

Ok, that was the solution: switch user in the desktop, not just the terminal. Man Joininbox is way better than what I thought it was. This setup just broke all espectations I had. I was used to interact with it through Raspberry Pies so my mind was elsewhere.

I don't have much time left today (and in general) but I hope to be able to attract enough people and reward them for their contribution.

clay-v commented 3 years ago

I am pretty much done with the Ubuntu guide.