Skip to content
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
102 lines (97 sloc) 5.79 KB
<!doctype html>
<html class="no-js" lang="">
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<title>Building X11 on iOS</title>
<meta name="description" content="Instructions for building X11 and Xorg on jailbroken iOS. ">
<meta name="keywords" content="Max,Leiter,Max Leiter, X11, iOS, Linux, Xorg, Cydia, jailbreak, projects">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="../css/normalize.min.css">
<link rel="stylesheet" href="css/main.css">
<link rel="stylesheet" href="X11.css">
<!--[if lt IE 9]>
<script src=""></script>
<script>window.html5 || document.write('<script src="js/vendor/html5shiv.js"><\/script>')</script>
<div class="main-container">
<aside class="contents">
<p class="contents-title" style="text-align: center;">
<b> Table of Contents </b>
<ol style="margin-left: 20%;">
<li> <a href="#intro">Introduction</a></li>
<li> <a href="#how">How it works</a> </li>
<li> <a href="#why">Why</a> </li>
<li> <a href="#features">Features</a> </li>
<li> <a href="#roadmap">Roadmap</a> </li>
<li> <a href="#contribute">Want to contribute?</a> </li>
<li> <a href="#instructions">Building instructions</a> </li>
<li> <a href="#tips">Tips, bugs, etc.</a> </li>
<div class="blog main wrapper clearfix">
<h1>X11 on iOS</h1>
<h3 class="header" id="intro"> Introduction </h3>
I'm excited to announce that X11 is coming soon to iOS. Most (see below) packages and dependencies for a fully functioning X11 desktop system have been compiled and are available on Cydia for iOS 11+. All packages have been compiled for arm64 and have been tested on iOS 12.4 and iOS 13.1. This requires a jailbroken device.
This site will serve largely as documentation for building yourself. You can add the Cydia repo below for the deb packages. Please let me know if you run across any issues with the debs; it's likely I messed up including a library or something like that. <i> (These aren't done just yet.) </i>
<a style="opacity: 1;" href="cydia://url/"><button>Add to Cydia</button></a>
<img src="./front.png" alt="X11 on iOS with a desktop, text editor, and OpenGL demo">
<i>Above: adie (text editor), glxgears (GL demo), xterm (terminal emulator), fluxbox (window manager), compton (compositor), PathFinder (files). <a href="./onipad.jpg"><br>Image of programs running on device</a></i>
<h3 class="header" id="how"> How it works </h3>
At the moment, a virtual screen is accessed via a VNC client to an Xvnc <sup><a href="#1" id="1src">[1]</a></sup>instance running on the iDevice. If you're unfamiliar, Xvnc is an X server with a virtual screen that can be accessed via VNC. The best part of this is no drivers are required: it's all handled by Xvnc.
<h3 class="header" id="why"> Why </h3>
I want to turn my iPad into a proper development environment, and a windowing system helps with that. It's a powerful machine with a Unix-like OS, so X11 seemed like a reasonable project. X11 allows running arbirtary applications like browsers and IDEs, assuming you can make them compile.
<h3 class="header" id="features"> Current Features </h3>
<li>X11 on iOS via Xvnc </li>
<li>Working window managers (<a href="">jwm</a> / <a href="">twm</a> / <a href="">fluxbox</a>) </li>
<li>Text editor (<a href="">adie</a>)</li>
<li>Image editor (<a href="">azpainter</a>)</li>
<li>OpenGL (via Mesa)</li>
<li> <a href="">Loads</a> of other libraries, tools, and applications. </li>
<li> All available in a <a href="">Cydia repo</a></li>
<h3 class="header" id="roadmap"> What's next? </h3>
<li> <strike>Fix modern versions of fontconfig (> 2.8.0)</strike> &mdash; <i>this has been addressed.</i></li>
<li> Desktop enviroments like XFCE, GNOME, and KDE</li>
<li> requires GTK or QT </li>
<li><strike>Experiment with Wayland via wayvnc</strike> &mdash; <i> not feasible on iOS</i></li>
<h3 class="header" id="contribute"> Want to contribute? </h3>
If you're interested in using X11 now, or helping make it available sooner, feel free to <a href="">email me</a> or find me on IRC as MaxLeiter in #X11iOS on Freenode. More information on contributing is in the works.
<h3 class="header" id="instructions"> Building instructions </h3>
<a href="./instructions.html">On a separate page</a>
<h3 class="header" id="tips"> Tips, bugs, etc. </h3>
<li>Getting <code>checking build system type... Invalid configuration `arm64-apple-darwin19.0.0': machine `arm64-apple' not recognized</code>? Run <code>echo 'echo arm-apple-darwin' > config.sub</code></li>
<li>Once I finish this it should be a little easier porting libraries and apps</li>
<a class="footnote" id="1" href="#1src">[1] </a> <br>
<footer class="blog main wrapper" style="display: flex; justify-content: space-between;">
<span> By <a href="">Max Leiter</a> </span>
<a href="" id="source">This page on GitHub</a>
You can’t perform that action at this time.