Linux Format

Running the Linux desktop on Android

Over the past couple of issues we’ve seen how Linux and Android get along. In the first part, we explored the ‘under the bonnet’ Linux that makes up the foundation of Android (LXF253). Then we installed Termux to set up a capable, if small, Linux shell environment. This enabled us to install some additional software, and offered a great selection of tools.

But this was still only a subset of what a real Linux distribution would provide. So in this article we’re going for the full monty: installing a fully featured Linux environment, complete with graphical desktop, onto your Android device.

As with Termux, one of the key technologies many of these systems employ is pRoot (https://proot-me. ). In case you missed the previous instalment in this series, pRoot 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 ( 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 , 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.

Citiți o mostră, înregistrați-vă pentru a citi în continuare.

Mai multe de la Linux Format

Linux Format4 min cititeInternet & Web
User Experience
At the very minimum, we’re looking for a browser that strikes the right balance between features and performance. It should be able to work with and render the popular websites and online services just as they’re intended. Of course, simply piling fe
Linux Format3 min cititeComputers
Kernel Watch
Tinus Torvalds announced the release of Linux 5.12-rc7, noting that it was likely there would be (relatively rare) RC8 (Release Candidate 8) this time around due to the large number of patches that went in at the last minute, in particular to address
Linux Format1 min cititeMathematics
Collision Warning
Our collision detection is pretty basic, but it does the job. Within we have a class set up specifically to calculate if two given shapes have collided: Given a point and a rectangle, if the points at teach end are interacting ou