ztefn / haguichi

Haguichi provides a graphical frontend for Hamachi on Linux.

Home Page:https://haguichi.net

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Will Not Configure on Fedora 28

tv0ll opened this issue · comments

commented

Installed Haguichi using the instructions for Fedora here.
Successfully installed Hamachi through their rpm.
But after getting Haguichi up and running, it won't go past the 'Hamachi is not configured' screen.
I select the Configure option, I enter in my password, it freezes there for a few seconds, then unfreezes, but doesn't update anything.

When trying to sudo haguichi within the terminal, I do get an here that reads:

No protocol specified
Unable to init server: Could not connect: Connection refused

(haguichi:7059): Gtk-WARNING **: 17:17:55.533: cannot open display: :0

I feel like this might have to do with me running on Wayland, but I wasn't entirely sure..

Hi @tvollscw,

Did you also install redhat-lsb-core before installing the Hamachi rpm as instructed? Because that should have helped to make configuring a bit smoother on Fedora.

Anyway, if you start Haguichi from terminal using the following command without sudo, you can better see what Haguichi detects and sees when trying to configure and restart hamachi:
haguichi --debug

Please copy and paste this output if you want me to take a look at it.

commented

Hey @ztefn,
Yes, I verified before installing that redhat-lsb-core was already installed.
Fortunately, when running haguichi --debug, everything seems to work now.. I'll restart my computer and see if the issue persists. Very strange.

commented

Unfortunately, I was not able to repeat the error. On both of my Fedora 28 machines (where the issue originally happened), the issue had seemingly fixed itself over time. Will post back here if it occurs again to me in the future with any other machines..

Once you shutdown, the hamachi service will undoubtedly have been stopped. And then when you boot your computer and start the hamachi service, the updated configuration is finally used. Effectively a reboot to restart a service, like they do on Windows... ;)

I tested this out on Fedora 28 and the problem appeared to be that the hamachid process isn't successfully terminated by the systemctl or the actual init script itself when you stop or restart the hamachi service.

So in commit aa8aa0f I have added a killall -9 hamachid command after stopping the service. This should clean up any remaining daemons. And thereby fix the configure issue on Fedora 28 in the next release.

commented

Terrific! Makes sense. Glad you were able to find the issue and that I wasn't crazy. Right on!

I'm experiencing this issue on Ubuntu, perpetual hang on clicking "configure".

@martindale Please quit Haguichi completely and start it in debug mode from a terminal using the following command:
haguichi --debug

Click configure one or two times. Copy the output from the terminal and paste it here or send it to me privately.

Only with the debug output I can try to figure out the source of your issue.