Install Kali Linux on Chromebook



Kali Linux is a popular security focused operating system. It offers a lot of…eh…”interesting” use case scenarios. To install Kali Linux on the Chromebook is very easy. Crouton (the popular open source script that is used to install other operating systems on the Chromebook such as Ubuntu on Chromebook) can be used to install Kali Linux on Chromebook.

What You Will Need:

Install Kali Linux on Chromebook

On your Chromebook, start by opening the terminal:

CRTL + ALT + T

Inside of terminal, enter shell:

shell

Now begin by downloading the latest version of Kali Linux and setting your desktop environment. I am sticking with xfce for my desktop environment but you can change it to whatever you desire:

sudo sh -e ~/Downloads/crouton -r kali-rolling -t xfce

This will begin the installation of Kali Linux. Give it a couple of minutes to complete.

Starting up Kali Linux

To start up Kali Linux, simply enter in:

sudo startxfce4

Now there might be a good chance that it fails to start up. You might get the following error: Owner of /tmp/.X11-unix should be set to root. There seems to be a bug with an old X-org file causing it to crash. Don’t worry, there’s a way around this. We simply need to enter the Kali Linux environment and remove it. Type in the following to enter Kali Linux without gui:

sudo enter-chroot -n kali-rolling

Then make sure the repository is up to date:

sudo apt-get update

Finally, remove the offending file:

sudo apt remove xserver-xorg-legacy

Then type exit to exit the chroot. Finally, type in:

sudo startxfce

Your desktop environment should start and you will have Kali Linux running on your Chromebook.

6 thoughts on “Install Kali Linux on Chromebook

  1. guys this was really hard to find out i had to scour the web and come up with this piece of code so i minus well share it with you. if you were impatient like me or just accidentally closed the window during the installation, and now its not letting you download it again because its already partially downloaded, just type this code in and it will delete it! (you can also use this if u just want to delete the chroot)

    (make sure youre in shell when executing this)

    sudo edit-chroot -d kali-rolling

  2. ACER C7: I get this:

    “Package gksu is not available, but is referred to by another package.
    This may mean that the package is missing, has been obsoleted, or
    is only available from another source

    E: Package ‘gksu’ has no installation candidate
    Failed to complete chroot setup.
    Unmounting /mnt/stateful_partition/crouton/chroots/kali-rolling…”

Leave a Reply

Your email address will not be published. Required fields are marked *

Name *