Attempting to configure fully crashes Xubuntu environment

Bug #1770736 reported by An Anonymous Todokete on 2018-05-11
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Haguichi
Undecided
Unassigned

Bug Description

This might be a bit of a hard request to solve, but I'm running Haguichi on Xubuntu on a chroot Chromebook environment. I'm trying to use Haguichi on it, and I believe I have the newest versions of both Haguichi and Hamachi. After attempting to configure Haguichi, the whole environment freezes, and when I switch back to my normal Chrome OS environment, I can't switch to the Chroot again, and it says:

** (haguichi:1059): CRITICAL **: file /build/haguichi-yoAQVG/haguichi-1.3.8~ubuntu16.04.1/src/inhibitor.vala: line 28: unexpected error: Error calling StartServiceByName for org.freedesktop.login1: GDBus.Error:org.freedesktop.DBus.Error.Spawn.ChildExited: Launch helper exited with unknown return code 1 (g-dbus-error-quark, 25)

(haguichi-indicator:1064): Gdk-CRITICAL **: gdk_window_thaw_toplevel_updates: assertion 'window->update_and_descendants_freeze_count > 0' failed

==== AUTHENTICATING FOR org.freedesktop.policykit.exec ===
Authentication is needed to run `/bin/bash' as the super user
Authenticating as: okto
Password: (II) AIGLX: Suspending AIGLX clients for VT switch
Error org.freedesktop.DBus.Error.UnknownMethod: Method "TakeDisplayOwnership" with signature " " on interface "org.chromium.LibCrosServiceInterface" doesn't exist

Please help quickly. I spent about a full 30 minutes typing this as I was reading the log off of my chromebook and typing it into here.

Stephen Brandt (ztefn) wrote :

Right... so this has nothing to do with any problems with Haguichi, but more so trying to run it inside a crippled bug-ridden[1] pseudo Linux OS where DBus isn't properly functioning?

Maybe it's a good idea to go back to basics and try to configure and start Hamachi from command line first. Add your username as Ipc.User to the Hamachi engine override:
sudo sh -c 'echo "Ipc.User okto" >> /var/lib/logmein-hamachi/h2-engine-override.cfg'

Then try to restart the service:
sudo systemctl restart logmein-hamachi

Once that seems to work, try if you can run Hamachi:
hamachi

After that's all out of the way, you can consider to launch Haguichi again and hope all the missing DBus methods aren't necessary beyond this stage...

[1] https://github.com/dnschneid/crouton/issues

Changed in haguichi:
status: New → Invalid
An Anonymous Todokete (oktoroc) wrote :
Download full text (187.2 KiB)

Hmm. Now just running Haguichi freezes the environment, flooding my chroot terminal with DBus errors.

Some of the lines below might contain stuff unrelated to Haguichi, but this is basically what Xubuntu vomited after running Haguichi.

Loading extra module: /usr/share/crosh/dev.d/50-crosh.sh
Welcome to crosh, the Chrome OS developer shell.

If you got here by mistake, don't panic! Just close this tab and carry on.

Type 'help' for a list of commands.

If you want to customize the look/behavior, you can use the options page.
Load it by using the Ctrl+Shift+P keyboard shortcut.

crosh> shell
chronos@localhost / $ sudo enter-chroot
Entering /mnt/stateful_partition/crouton/chroots/xenial...
(xenial)okto@localhost:~$ startxfce4
/usr/bin/startxfce4: Starting X server

_XSERVTransmkdir: Owner of /tmp/.X11-unix should be set to root

X.Org X Server 1.18.4
Release Date: 2016-07-19
X Protocol Version 11, Revision 0
Build Operating System: Linux 4.4.0-97-generic x86_64 Ubuntu
Current Operating System: Linux localhost 4.4.118-13212-g6c21f415c5d1 #1 SMP PREEMPT Fri May 4 00:00:38 PDT 2018 x86_64
Kernel command line: cros_secure console= loglevel=7 init=/sbin/init cros_secure oops=panic panic=-1 root=/dev/dm-0 rootwait ro dm_verity.error_behavior=3 dm_verity.max_bios=-1 dm_verity.dev_wait=1 dm="1 vroot none ro 1,0 4710400 verity payload=PARTUUID=299fc213-5b68-f146-aeb6-c5421add6c70/PARTNROFF=1 hashtree=PARTUUID=299fc213-5b68-f146-aeb6-c5421add6c70/PARTNROFF=1 hashstart=4710400 alg=sha1 root_hexdigest=03a6cbd6c9c9f0d456e8947945275469da88a42d salt=9e19fe7e7a11a2258594304bb4dda7cda7f2896df8626044e8fb3f5c298f5444" noinitrd vt.global_cursor_default=0 kern_guid=299fc213-5b68-f146-aeb6-c5421add6c70 add_efi_memmap boot=local noresume noswap i915.modeset=1 tpm_tis.force=1 tpm_tis.interrupts=0 nmi_watchdog=panic,lapic disablevmx=off
Build Date: 13 October 2017 01:57:05PM
xorg-server 2:1.18.4-0ubuntu0.7 (For technical support please see http://www.ubuntu.com/support)
Current version of pixman: 0.33.6
        Before reporting problems, check http://wiki.x.org
        to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
        (++) from command line, (!!) notice, (II) informational,
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(++) Log file: "/tmp/Xorg.crouton.1.log", Time: Mon May 14 21:42:11 2018
(==) Using system config directory "/usr/share/X11/xorg.conf.d"
Error org.freedesktop.DBus.Error.UnknownMethod: Method "ReleaseDisplayOwnership" with signature "" on interface "org.chromium.LibCrosServiceInterface" doesn't exist

xf86EnableIOPorts: failed to set IOPL for I/O (Operation not permitted)
Error executing command as another user: Not authorized

This incident has been reported.
crouton: version 1-20180329190032~master:d287904a
release: xenial
architecture: amd64
xmethod: xorg
targets: xfce
host: version 10452.85.0 (Official Build) stable-channel eve
kernel: Linux localhost 4.4.118-13212-g6c21f415c5d1 #1 SMP PREEMPT Fri May 4 00:00:38 PDT 2018 x86_64 x86_64 x86_64 GNU/Linux
freon: yes
xrandr: Output eDP1 is not disconnected but has no modes
xrandr: Output DP1 is not disco...

Stephen Brandt (ztefn) wrote :

Some of the lines? 99% percent of your log is related to running Steam...

Only line 2378 Haguichi is reporting unable to reach the logind[1] managers' DBus interface. That's an issue with your OS. You seem to have numerous DBus issues. Why don't you report your problems at crouton issue tracker[2] itself?

[1] https://www.freedesktop.org/wiki/Software/systemd/logind/
[2] https://github.com/dnschneid/crouton/issues

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers