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

APC2 min read
Ducky ProjectD Outlaw 65
PRICE $499 WEB www.duckychannel.com.tw If you’ve ever wanted to build your own keyboard, then the Ducky ProjectD Outlaw65 is a simple and easy way to go about it. Included in this compact kit are most of the pieces required to build a mechanical key
APC6 min read
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
Linux Mint 21.3
DEVELOPER Clément Lefèbvre and community WEB linuxmint.com LICENCE Mainly GPL Originally released in 2006, Linux Mint is one of the most popular distros. This may be because it uses the Cinnamon desktop environment by default, which provides a more

Related Books & Audiobooks