YoRyan / nuxhash

A NiceHash cryptocurrency mining client for Linux.
GNU General Public License v3.0
264 stars 164 forks source link

nuxhashd not working as a daemon and stuck in initial setup #108

Closed shahzebs closed 3 years ago

shahzebs commented 3 years ago

I installed nuxhash from the AUR on Arch Linux and want to run it headless in daemon mode. I am experiencing two issues:

  1. For now, nuxhashd doesn’t seems to run it daemon mode as it it very much a blocking process. It’s possible this is due to the next point.
  2. I cannot get past the initial setup mode of nuxhashd. Every time I try to run it it asked me the wallet address etc. And when I wait forever until it is done benchmarking, I think it starts mining. Although the output is not that informative. NiceHash account tells me something is mining so I guess it is working. Problem is that if I terminate it, it reruns the initial setup when I run nuxhashd again. Why isn’t the config being saved? The only thing is have in my ~/.config/nuxhash is the excavator miner. There is no settings file there.

I am running this on a headless server so I cannot use the gui.

shahzebs commented 3 years ago

Update: it seems I had to run through a benchmark by running nuxhashd —benchmark-all. After that the configs were created and initial setup was done. It still doesn’t really run as a daemon, I mean it does but it has to actively be run in the background by me with e.g. nuxhashd &.

I guess I’ll just close this issue.