$ code
Entering /mnt/stateful_partition/crouton/chroots/code-oss-chroot...
_XSERVTransmkdir: ERROR: euid != 0,directory /tmp/.X11-unix will not be created.
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-45-generic armv7l Ubuntu
Current Operating System: Linux localhost 3.8.11 #1 SMP Thu Jun 29 00:39:10 PDT 2017 armv7l
Kernel command line: cros_secure console= 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 2539520 verity payload=PARTUUID=37fcc9d9-1943-ae49-94db-384ff3826867/PARTNROFF=1 hashtree=PARTUUID=37fcc9d9-1943-ae49-94db-384ff3826867/PARTNROFF=1 hashstart=2539520 alg=sha1 root_hexdigest=d22182ef0caae757186e1e6333900a7afe6a4da0 salt=d6b877d5bbd782f9a37ca69cad5687f96ac42c219c7c54d2bd38ba813bde39e3" noinitrd vt.global_cursor_default=0 kern_guid=37fcc9d9-1943-ae49-94db-384ff3826867
Build Date: 02 November 2016 10:05:15PM
xorg-server 2:1.18.4-0ubuntu0.2 (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: Sun Jul 2 17:27:49 2017
(++) 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-20170619181610~master:980f090f
release: xenial
architecture: armhf
xmethod: xiwi
targets: xiwi
host: version 9693.1.0 (Official Build) dev-channel daisy_skate
kernel: Linux localhost 3.8.11 #1 SMP Thu Jun 29 00:39:10 PDT 2017 armv7l armv7l armv7l GNU/Linux
freon: yes
Error: not connected.
Cannot connect to extension, retrying...
Error: not connected.
Cannot connect to extension, retrying...
Error: not connected.
Cannot connect to extension, retrying...
Connected to extension, launched crouton in a window.
Error: target STRING not available
Terminated
Running exit commands...
/usr/bin/xinit: connection to X server lost
waiting for X server to shut down Hangup
Hangup
(II) Server terminated successfully (0). Closing log file.
Unmounting /mnt/stateful_partition/crouton/chroots/code-oss-chroot...
Sending SIGTERM to processes under /mnt/stateful_partition/crouton/chroots/code-oss-chroot...
ran again a few more time, eventually the extension started working.. i think it was 4th or 5th attempt with "show log" and "enable debugging" checked (not that they should effect the outcome)
Version 61.0.3144.0 (Official Build) dev (32-bit)
Followed here; https://code.headmelted.com/#chromeos-install-scripts
no issues building (approx 40mins)
Any tips?