Skip to content
Widely but improperly known as X-windows

40 years later, X Window System is far more relevant than anyone could guess

One astrophysics professor's memories of writing X11 code in the 1980s.

Kevin Purdy
low angle view of Office Buildings in Hong Kong from below, with the sky visible through an X-like cross
Credit: Getty Images
Credit: Getty Images

Often times, when I am researching something about computers or coding that has been around a very long while, I will come across a document on a university website that tells me more about that thing than any Wikipedia page or archive ever could.

It's usually a PDF, though sometimes a plaintext file, on a .edu subdirectory that starts with a username preceded by a tilde (~) character. This is typically a document that a professor, faced with the same questions semester after semester, has put together to save the most time possible and get back to their work. I recently found such a document inside Princeton University's astrophysics department: "An Introduction to the X Window System," written by Robert Lupton.

X Window System, which turned 40 years old earlier this week, was something you had to know how to use to work with space-facing instruments back in the early 1980s, when VT100s, VAX-11/750s, and Sun Microsystems boxes would share space at college computer labs. As the member of the AstroPhysical Sciences Department at Princeton who knew the most about computers back then, it fell to Lupton to fix things and take questions.

"I first wrote X10r4 server code, which eventually became X11," Lupton said in a phone interview. "Anything that needed graphics code, where you'd want a button or some kind of display for something, that was X... People would probably bug me when I was trying to get work done down in the basement, so I probably wrote this for that reason."

Glass windows crossed in a reflection.
Credit: Getty Images

Where X came from (after W)

Robert W. Scheifler and Jim Gettys at MIT spent "the last couple weeks writing a window system for the VS100" back in 1984. As part of Project Athena's goals to create campus-wide computing with distributed resources and multiple hardware platforms, X fit the bill, being independent of platforms and vendors and able to call on remote resources. Scheifler "stole a fair amount of code from W," made its interface asynchronous and thereby much faster, and "called it X" (back when that was still a cool thing to do).

That kind of cross-platform compatibility made X work for Princeton, and thereby Lupton. He notes in his guide that X provides "tools not rules," which allows for "a very large number of confusing guises." After explaining the three-part nature of X—the server, the clients, and the window manager—he goes on to provide some tips:

  • Modifier keys are key to X; "this sensitivity extends to things like mouse buttons that you might not normally think of as case-sensitive."
  • "To start X, type xinit; do not type X unless you have defined an alias. X by itself starts the server but no clients, resulting in an empty screen."
  • "All programmes running under X are equal, but one, the window manager, is more equal."
  • Using the "--zaphod" flag prevents a mouse from going into a screen you can't see; "Someone should be able to explain the etymology to you" (link mine).
  • "If you say kill 5 -9 12345 you will be sorry as the console will appear hopelessly confused. Return to your other terminal, say kbd mode -a, and make a note not to use -9 without due reason."

I asked Lupton, whom I caught on the last day before he headed to Chile to help with a very big telescope, how he felt about X, 40 years later. Why had it survived?

"It worked, at least relative to the other options we had," Lupton said. He noted that Princeton's systems were not "heavily networked in those days," such that the network traffic issues some had with X weren't an issue then. "People weren't expecting a lot of GUIs, either; they were expecting command lines, maybe a few buttons... it was the most portable version of a window system, running on both a VAX and the Suns at the time... it wasn't bad."

Credit: Getty Images

Waylaid heading toward Wayland

The last official release of X, X11R7.7, arrived in June 2012. After a very long series of rights, licensing, and development debates, it has landed right where it is now: no plans for any future releases but still in use on Unix-like systems wherever its successor, Wayland, has not taken hold (or macOS isn't running).

Ars Technica's archives are full of pronouncements that, any day now, this or that distribution is going to leave X behind. As Evan Jenkins wrote 13 years ago:

X is the oldest lady at the dance, and she insists on dancing with everyone. X has millions of lines of source, but most of it was written long ago, when there were no GPUs, and no specialized transistors to do programmable shading or rotation and translation of vertexes. The hardware had no notion of oversampling and interpolation to reduce aliasing, nor was it capable of producing extremely precise color spaces. The time has come for the old lady to take a chair.

And yet, X is still something your Linux distribution might fall back to today in 2024 if graphics drivers have a hard time with Wayland. Ubuntu, having previously taken a shot at its own X replacement with Mir, switched to Wayland by default in 17.10 (Artful Aardvark), then back to X in 18.04 because of bugs, and only Wayland again in 21.04 in 2021. By then, most major distributions had landed on Wayland. But it will probably be quite some time until the last one does.

These days, a lot of astrophysics students and post-docs at Princeton are working on Mac computers; they get their hands dirty by interfacing with big Linux compute nodes (for which Lupton also wrote a beginner's guide). Lupton's X Windows guide was so old that he had trouble pinpointing a date on its creation. I tried a second time to ask him, in a slightly different, big-picture way, about X. Was he surprised, I asked, at how X was still something you could encounter on a computer, decades later?

"I'm not sure," he said. "It works. Maybe some people don't love how it works, but... I don't know, it's hard to think of why [it's still around]. It just is."

Listing image: Getty Images

Photo of Kevin Purdy
Kevin Purdy Senior Technology Reporter
Kevin is a senior technology reporter at Ars Technica, covering open-source software, PC gaming, home automation, repairability, e-bikes, and tech history. He has previously worked at Lifehacker, Wirecutter, iFixit, and Carbon Switch.
Most Read
  1. Listing image for first story in Most Read: Helene ravaged the NC plant that makes 60% of the country’s IV fluid supply
    1. Helene ravaged the NC plant that makes 60% of the country’s IV fluid supply
  2. 2. Apple couldn’t tell fake iPhones from real ones, lost $2.5M to scammers
  3. 3. Neo-Nazis head to encrypted SimpleX Chat app, bail on Telegram
  4. 4. X fails to avoid Australia child safety fine by arguing Twitter doesn’t exist
  5. 5. Halls of Torment is Diablo cranked up to 50,000 kills/hour