APC

Running the Linux desktop on Android

In this article we’re going to install a fully-featured Linux environment, complete with graphical desktop, onto your Android device.

One of the key technologies many of these systems employ is pRoot (https://proot-me.github.io). This is an implementation of the chroot utility that’s popular in the desktop/server Linux world. But chroot requires root privileges, which aren’t available by default on Android. So pRoot provides most of the benefits of chroot by doing some clever directory binding.

CHECK THE BELOW

Unlike Termux, however, not all of these Linux-on-Android systems use BusyBox (https://busybox.net). The reason is because the whole purpose of these systems is to provide a ‘full’ installation, whereas BusyBox is designed to wrap up a number of common utilities into a single binary. Instead, these systems install a typical Linux bootstrap containing the full-strength versions of programs like ls, cp and mkdir.

There is one bit of additional technology for these systems that wasn’t required for Termux, however. We’ll be installing a full-strength Linux distro, which brings with it the expectation of a GUI desktop. We will get one of these, but in order to do so we’ll need to make an important decision regarding the graphics system.

LINUX-ON-ANDROID

As we’ve said a few times, the packages we’ll be looking at, as well as some others, run in userspace. This means they only have the permissions of the current user, which in the case of Android is always a normal user –that is, not

You’re reading a preview, subscribe to read more.

More from APC

APC6 min readInternet & Web
The Problem Solvers
I was inspired by the Hydra Mini ITX Chassis to go out and build a system to replace my three-year-old setup. However, having only recently reinstalled Windows 11 from scratch, I’m not looking forward to going through the same process again so soon.
APC3 min read
Apple Vision Pro
iFixit is a global community of tinkerers dedicated to helping people fix things through free online repair manuals and teardowns. iFixit believes that everyone has the right to maintain and repair their own products. To learn more, visit www.ifixit
APC3 min read
Create Engaging Slideshows
IT WILL TAKE 10 minutes YOU WILL LEARN How to navigate the changes to the TV app made in tvOS 17.2 YOU’LL NEED An Apple TV running tvOS 17.2 Keynote has long been a powerful tool for creating compelling presentations but now there are even more re

Related Books & Audiobooks