Haguichi don't work on a regular user

Bug #1517695 reported by doums
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Haguichi
Invalid
Undecided
Unassigned

Bug Description

Hi !

I have a bug with Haguichi, i think it's coming of Haguichi and not Hamachi beacause i have setting hamachi before launch and install haguachi.
My conf :
last version of Manjaro FLubox
hamachi version : 2.1.0.139
and last version of haguichi

The problem is when i try to launch haguichi on a regular user (no root), haguichi appears but i have a popup "no connection" and the bouttons refresh and add didn't work.
When i'am root, no problem, haguichi working fine.
However i add manually on /var/lib/logmein-hamachi/h2-engine-override.cfg this line :

Ipc.User Myusername
setup.AutoNick mynick

And hamachi is running and work fine when ia try to launch hamachi.
Also i have try "haguichi --debug", and here is the result :
(haguichi:6655): Gtk-WARNING **: Theme parsing error: mate-applications.css:26:23: 'none' is not a valid color name
[03:00:05.125789 INFO] [Haguichi.startup] Greetings, I am Haguichi 1.3.0
[03:00:05.129951 INFO] [Key.get_value] Getting value for GSettings key connect-on-startup...
[03:00:05.130052 INFO] [Key.get_value] Getting value for GSettings key disconnect-on-quit...
[03:00:05.130125 INFO] [Key.get_value] Getting value for GSettings key reconnect-on-connection-loss...
[03:00:05.130173 INFO] [Key.get_value] Getting value for GSettings key update-network-list...
[03:00:05.130238 INFO] [Key.get_value] Getting value for GSettings key customizable...
[03:00:05.130310 INFO] [Key.get_value] Getting value for GSettings key super-user...
[03:00:05.130377 INFO] [Key.get_value] Getting value for GSettings key check-internet-hostname...
[03:00:05.130444 INFO] [Key.get_value] Getting value for GSettings key check-internet-ip...
[03:00:05.130490 INFO] [Key.get_value] Getting value for GSettings key nickname...
[03:00:05.130543 INFO] [Key.get_value] Getting value for GSettings key protocol...
[03:00:05.130606 INFO] [Key.get_value] Getting value for GSettings key reconnect-interval...
[03:00:05.130663 INFO] [Key.get_value] Getting value for GSettings key update-interval...
[03:00:05.130724 INFO] [Key.get_value] Getting value for GSettings key collapsed-networks...
[03:00:05.130775 INFO] [Key.get_value] Getting value for GSettings key member-template-large...
[03:00:05.130826 INFO] [Key.get_value] Getting value for GSettings key member-template-small...
[03:00:05.130869 INFO] [Key.get_value] Getting value for GSettings key network-template-large...
[03:00:05.130919 INFO] [Key.get_value] Getting value for GSettings key network-template-small...
[03:00:05.130959 INFO] [Key.get_value] Getting value for GSettings key show-offline-members...
[03:00:05.131008 INFO] [Key.get_value] Getting value for GSettings key sort-by...
[03:00:05.131062 INFO] [Key.get_value] Getting value for GSettings key connection-loss...
[03:00:05.131104 INFO] [Key.get_value] Getting value for GSettings key member-join...
[03:00:05.131150 INFO] [Key.get_value] Getting value for GSettings key member-leave...
[03:00:05.131216 INFO] [Key.get_value] Getting value for GSettings key member-offline...
[03:00:05.131275 INFO] [Key.get_value] Getting value for GSettings key member-online...
[03:00:05.131333 INFO] [Key.get_value] Getting value for GSettings key height...
[03:00:05.131388 INFO] [Key.get_value] Getting value for GSettings key maximized...
[03:00:05.131442 INFO] [Key.get_value] Getting value for GSettings key position-x...
[03:00:05.131484 INFO] [Key.get_value] Getting value for GSettings key position-y...
[03:00:05.131534 INFO] [Key.get_value] Getting value for GSettings key prefer-dark-theme...
[03:00:05.131587 INFO] [Key.get_value] Getting value for GSettings key sidebar-position...
[03:00:05.131646 INFO] [Key.get_value] Getting value for GSettings key width...

(haguichi:6655): GLib-CRITICAL **: g_str_has_prefix: assertion 'str != NULL' failed
[03:00:05.142331 ENVIRONMENT] [Command.determine_remote_desktop_thread] Command for remote desktop: vinagre
[03:00:05.146627 ENVIRONMENT] [Command.determine_sudo_thread] Command for sudo: pkexec
[03:00:05.157636 ENVIRONMENT] [Command.determine_terminal_thread] Command for terminal: gnome-terminal
[03:00:05.158770 ENVIRONMENT] [Command.determine_file_manager_thread] Command for file manager: nautilus
[03:00:05.238896 HAMACHI] [Hamachi.get_info] version : 2.1.0.139
  pid : 4190
  status : logged in
  client id : 1XXXXXXX
  address : XXXXXXXX
  nickname : root
  lmi account: -

[03:00:05.242022 HAMACHI] [Hamachi.determine_version] Hamachi 2.1.0.139 detected
[03:00:05.244889 ENVIRONMENT] [Hamachi.determine_service] systemctl {0} logmein-hamachi
[03:00:05.389894 HAMACHI] [Hamachi.get_account] -
[03:00:05.390042 HAMACHI] [Hamachi.get_address] IPv4:XXXXX
[03:00:05.390071 HAMACHI] [Hamachi.get_address] IPv6:XXXXXX
[03:00:05.390233 HAMACHI] [Hamachi.get_client_id] XXXXXXX
[03:00:05.390323 ENVIRONMENT] [Controller.has_internet_connection] Trying to ping '8.8.8.8'...
[03:00:05.391856 ERROR] [Controller.has_internet_connection] ping: icmp open socket: Operation not permitted

[03:00:05.391899 ENVIRONMENT] [Controller.has_internet_connection] Ping failed. Trying to resolve hostname 'www.google.com'...
[03:00:05.392940 ERROR] [Controller.has_internet_connection] L'exécution du processus fils « dig » a échoué (Aucun fichier ou dossier de ce type)
[03:00:05.392978 INFO] [Controller.status_check] No internet connection.
[03:00:05.394646 GUI] [Window.on_state_changed] Minimized: false
[03:00:05.394679 GUI] [Window.on_state_changed] Maximized: false
[03:00:08.524120 INFO] [Key.set_value] Setting value for GSettings key position-x...
[03:00:08.524619 INFO] [Key.value_changed] Value for GSettings key position-x has been changed
[03:00:08.524709 INFO] [Key.get_value] Getting value for GSettings key position-x...
[03:00:08.524848 INFO] [Key.set_value] Setting value for GSettings key position-y...
[03:00:08.525060 INFO] [Key.value_changed] Value for GSettings key position-y has been changed
[03:00:08.525135 INFO] [Key.get_value] Getting value for GSettings key position-y...
[03:00:08.525271 INFO] [Key.set_value] Setting value for GSettings key width...
[03:00:08.525446 INFO] [Key.value_changed] Value for GSettings key width has been changed
[03:00:08.525488 INFO] [Key.get_value] Getting value for GSettings key width...
[03:00:08.525566 INFO] [Key.set_value] Setting value for GSettings key height...
[03:00:08.525664 INFO] [Key.value_changed] Value for GSettings key height has been changed
[03:00:08.525702 INFO] [Key.get_value] Getting value for GSettings key height...
[03:00:08.525784 INFO] [Key.set_value] Setting value for GSettings key maximized...
[03:00:08.525879 INFO] [Key.value_changed] Value for GSettings key maximized has been changed
[03:00:08.525918 INFO] [Key.get_value] Getting value for GSettings key maximized...
[03:00:08.526012 INFO] [Key.set_value] Setting value for GSettings key sidebar-position...
[03:00:08.526120 INFO] [Key.value_changed] Value for GSettings key sidebar-position has been changed
[03:00:08.526159 INFO] [Key.get_value] Getting value for GSettings key sidebar-position...

Thanks you for your help !

Revision history for this message
Stephen Brandt (ztefn) wrote :

Hi doums,

This is the relevant part:

[03:00:05.390323 ENVIRONMENT] [Controller.has_internet_connection] Trying to ping '8.8.8.8'...
[03:00:05.391856 ERROR] [Controller.has_internet_connection] ping: icmp open socket: Operation not permitted

[03:00:05.391899 ENVIRONMENT] [Controller.has_internet_connection] Ping failed. Trying to resolve hostname 'www.google.com'...
[03:00:05.392940 ERROR] [Controller.has_internet_connection] L'exécution du processus fils « dig » a échoué (Aucun fichier ou dossier de ce type)
[03:00:05.392978 INFO] [Controller.status_check] No internet connection.

Haguichi doesn't see any Internet connection, because that regular user is apparently not allowed to execute "ping" commands and the alternative "dig" command (to resolve a hostname) is not available on your system either.

Revision history for this message
doums (dommerc-pierre) wrote :

Ok,

And how i configure ping for regular user ? Because i try "# chmod 777 /usr/bin/ping" and doesn't work.

Revision history for this message
doums (dommerc-pierre) wrote :

Okey i found a solution, with
sudo chmod u+s ping

it's working fine !

Thanks you for your help !

Revision history for this message
Stephen Brandt (ztefn) wrote :

No problem!

Changed in haguichi:
status: New → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.