So you followed the newest instructions on how to run Kali Linux on Chrome? Everything went well but then you try to run sudo startxfce4 and wham! You get:


X.Org X Server 1.19.3
Release Date: 2017-03-15
X Protocol Version 11, Revision 0
Build Operating System: Linux 4.9.0-3-amd64 x86_64 Debian
Current Operating System: Linux localhost 3.18.0-13530-g8bc6aca #1 SMP PREEMPT Fri Feb 17 18:52:03 PST 2017 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 3584000 verity payload=PARTUUID=b6dcef95-db3f-2b46-abbd-1ceecbd4ec34/PARTNROFF=1 hashtree=PARTUUID=b6dcef95-db3f-2b46-abbd-1ceecbd4ec34/PARTNROFF=1 hashstart=3584000 alg=sha1 root_hexdigest=c5772735b0869e8288b53c9720f3ce840904ae2b salt=52fbf842b02bbe43fac65a59e64d382dd7efbd20a0ae73481ab086db41e2e510″ noinitrd vt.global_cursor_default=0 kern_guid=b6dcef95-db3f-2b46-abbd-1ceecbd4ec34 add_efi_memmap boot=local noresume noswap i915.modeset=1 tpm_tis.force=1 tpm_tis.interrupts=0 nmi_watchdog=panic,lapic
Build Date: 07 July 2017 06:22:09AM
xorg-server 2:1.19.3-2 (
Current version of pixman: 0.34.0
Before reporting problems, check
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: Wed Oct 4 16:30:48 2017
(==) Using system config directory “/usr/share/X11/xorg.conf.d”
Fatal server error:
(EE) parse_vt_settings: Cannot open /dev/tty0 (No such file or directory)
Please consult the The X.Org Foundation support
for help.
(EE) Please also check the log file at “/tmp/Xorg.crouton.1.log” for additional information.
(EE) Server terminated with error (1). Closing log file.
/usr/bin/xinit: giving up
/usr/bin/xinit: unable to connect to X server: Connection refused
/usr/bin/xinit: server error
Unmounting /mnt/stateful_partition/crouton/chroots/kali-rolling…

The Fix:

chronos@localhost / $ sudo enter-chroot -n YOURCHROOTNAME

I will assume you followed the this article on how to run Kali on Chrome. If you did follow then your commands will look like:

chronos@localhost / $ sudo enter-chroot -n kali-rolling

(kali-rolling)admin@localhost:~$ sudo apt remove xserver-xorg-legacy

(kali-rolling)admin@localhost:~$ exit

chronos@localhost / $ sudo startxfce4