Crouton: Snap Store Integration

Created on 14 May 2020  ·  3Comments  ·  Source: dnschneid/crouton

Please paste the output of the following command here: sudo edit-chroot -all

chronos@localhost / $ sudo edit-chroot -all
name: xenial
encrypted: no
Entering /mnt/stateful_partition/crouton/chroots/xenial...
crouton: version 1-20200428114634~master:67dc8d77
release: xenial
architecture: amd64
xmethod: xiwi
targets: xiwi,xfce
host: version 12871.102.0 (Official Build) stable-channel candy 
kernel: Linux localhost 4.4.211-17203-gbe96242e05a2 #1 SMP PREEMPT Tue May 5 00:06:55 PDT 2020 x86_64 x86_64 x86_64 GNU/Linux
freon: yes
Not unmounting /mnt/stateful_partition/crouton/chroots/xenial as another instance is using it.

Please describe your issue:

Unable to perform any successful Snapcraft program installs.

This is despite a successful command line install of snapd per instructions found at:
https://snapcraft.io/install/hello-world/ubuntu#install

If known, describe the steps to reproduce the issue:

  1. Here is the output from the initial chroot entry:

crosh> shell
chronos@localhost / $ sudo startxfce4 -n xenial
Entering /mnt/stateful_partition/crouton/chroots/xenial...
/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-128-generic x86_64 Ubuntu
Current Operating System: Linux localhost 4.4.211-17203-gbe96242e05a2 #1 SMP PREEMPT Tue May 5 00:06:55 PDT 2020 x86_64
Kernel command line: cros_secure console= loglevel=7 init=/sbin/init cros_secure 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 4077568 verity payload=PARTUUID=f2bcbb13-acac-df4f-82d3-797bb0c24353/PARTNROFF=1 hashtree=PARTUUID=f2bcbb13-acac-df4f-82d3-797bb0c24353/PARTNROFF=1 hashstart=4077568 alg=sha256 root_hexdigest=ebaa128ddd69d380115e55610c9b01ff5d80e4694adb8bf528dd8159df8445e0 salt=dd8d5db71fc6b62411b086281481678b49200d4d763dd1977526cda6e7751a21" noinitrd vt.global_cursor_default=0 kern_guid=f2bcbb13-acac-df4f-82d3-797bb0c24353 add_efi_memmap boot=local noresume noswap i915.modeset=1 nmi_watchdog=panic,lapic
Build Date: 10 August 2018 09:33:05AM
xorg-server 2:1.18.4-0ubuntu0.8 (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: Thu May 14 06:27:21 2020
(++) Using config file: "/etc/X11/xorg-dummy.conf"
(==) Using system config directory "/usr/share/X11/xorg.conf.d"
/usr/bin/xinit: XFree86_VT property unexpectedly has 0 items instead of 1
crouton: version 1-20200428114634~master:67dc8d77
release: xenial
architecture: amd64
xmethod: xiwi
targets: xiwi,xfce
host: version 12871.102.0 (Official Build) stable-channel candy
kernel: Linux localhost 4.4.211-17203-gbe96242e05a2 #1 SMP PREEMPT Tue May 5 00:06:55 PDT 2020 x86_64 x86_64 x86_64 GNU/Linux
freon: yes
Error: not connected.
Cannot connect to extension, retrying...
Connected to extension, launched crouton in a window.
_IceTransmkdir: Owner of /tmp/.ICE-unix should be set to root
xfce4-session: No GPG agent found
/usr/bin/xbindkeys_autostart: line 24: CONF: unbound variable

(xfwm4:12495): xfwm4-WARNING **: output size (1100x672) and logical screen size (1366x768) do not match

** (xfdesktop:12627): CRITICAL : xfce_backdrop_loader_closed_cb: assertion 'XFCE_IS_BACKDROP(backdrop)' failedCurrent 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: Thu May 14 06:27:21 2020
(++) Using config file: "/etc/X11/xorg-dummy.conf"
(==) Using system config directory "/usr/share/X11/xorg.conf.d"
/usr/bin/xinit: XFree86_VT property unexpectedly has 0 items instead of 1
crouton: version 1-20200428114634~master:67dc8d77
release: xenial
architecture: amd64
xmethod: xiwi
targets: xiwi,xfce
host: version 12871.102.0 (Official Build) stable-channel candy
kernel: Linux localhost 4.4.211-17203-gbe96242e05a2 #1 SMP PREEMPT Tue May 5 00:06:55 PDT 2020 x86_64 x86_64 x86_64 GNU/Linux
freon: yes
Error: not connected.
Cannot connect to extension, retrying...
Connected to extension, launched crouton in a window.
_IceTransmkdir: Owner of /tmp/.ICE-unix should be set to root
xfce4-session: No GPG agent found
/usr/bin/xbindkeys_autostart: line 24: CONF: unbound variable

(xfwm4:12495): xfwm4-WARNING **: output size (1100x672) and logical screen size (1366x768) do not match

* (xfdesktop:12627): CRITICAL *: xfce_backdrop_loader_closed_cb: assertion 'XFCE_IS_BACKDROP(backdrop)' failed

  1. Here is the output from the xenial chroot command line:

➜ ~ sudo apt update
[sudo] password for killshot:
Hit:1 http://packages.microsoft.com/repos/vscode stable InRelease
Hit:2 http://archive.ubuntu.com/ubuntu xenial InRelease
Hit:3 http://archive.ubuntu.com/ubuntu xenial-updates InRelease
Hit:4 http://archive.ubuntu.com/ubuntu xenial-security InRelease
Reading package lists... Done
Building dependency tree
Reading state information... Done
All packages are up to date.
➜ ~ sudo apt install snapd
Reading package lists... Done
Building dependency tree
Reading state information... Done
snapd is already the newest version (2.42.1).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
➜ ~ sudo snap install hello-world
error: cannot communicate with server: Post http://localhost/v2/snaps/hello-world: dial unix /run/snapd.socket: connect: no such file or directory
➜ ~

Thoughts?

All 3 comments

Snap has never really worked with crouton, as far as I can tell.

I figured this might be the response. It's a damn shame though. Snap offers so much awesome integration with Ubuntu. But I may as well just run it on a VM if I'm trying to be that fancy I guess...

Closing since so much has changed since I wanted this integration to work.

I haven't had a change to check out the new developer features on the updated Chromebooks, but I'm guessing this issue is no longer relevant at this point.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

jvschiavo picture jvschiavo  ·  4Comments

shichuzhu picture shichuzhu  ·  5Comments

kgingging picture kgingging  ·  5Comments

aarwdc picture aarwdc  ·  5Comments

duck955 picture duck955  ·  5Comments