X Window System
The X Window System, also called X11 or simply X, is a windowing system for bitmap displays. It is common on Unix-like operating systems, which are computer systems related to the Unix family. A windowing system is the part of a computer that lets people open, move, and work with multiple windows on the screen at once.
X began as part of Project Athena at the Massachusetts Institute of Technology (MIT) in 1984. Its rules for how programs talk to each other, called the X protocol, have been at version 11 since September 1987. That is why it is often called "X11."
The X.Org Foundation leads the X project. Its current reference version, called X.Org Server, is available as free and open-source software. This means anyone can use, study, and share it at no cost.
The software is released under the MIT License and similar permissive licenses. These licenses give people a lot of freedom to use and change the software.
Purpose and abilities
X is a system that works on many kinds of computers and shows graphical screens. Each person using a networked terminal can interact with the display using any type of input device. The standard version gives a toolkit and protocol stack for building graphical user interfaces on most Unix-like operating systems and on OpenVMS. It has also been ported to many other common operating systems. X provides the basic framework for building these screens, such as drawing and moving windows on the display and using a mouse, keyboard, or touchscreen. X does not decide how the user interface looks. Individual programs handle that, so X-based screens can look very different from one another.
Unlike most earlier display systems, X was designed to work over network connections. Its network transparency means a program running on one computer can show its screen on another computer on the network. The X server is usually the computer in front of the user, and it provides the graphics and receives keyboard and mouse input. The X clients can run anywhere on the network and ask the server to draw graphics. X's network approach also supports 2D and 3D graphics, including classic OpenGL. X does not have built-in sound support, but some other projects fill this gap.
Software architecture
X uses a client–server model. An X server talks with different client programs. The server takes requests for graphical windows and sends back user input from a keyboard, mouse, or touchscreen. The server may be an application that shows output in a window of another display system, a program that controls the video output of a PC, or a dedicated piece of hardware. The names can seem backwards to new users, because X looks at things from the application's point of view. X gives display and input services to applications, so it is the server, and the applications that use those services are the clients.
The communication protocol between server and client works across networks. The client and server can run on the same computer or on different ones, even with different designs or operating systems. They can also communicate securely over the Internet by sending their connection through an encrypted network session. A client can even act as a server for other clients, which is called "X nesting". Open-source clients such as Xnest and Xephyr support this. This also makes remote use possible: a user can run an X client program on a distant machine and see its display and controls on their own computer.
User interfaces
X sets the rules for how programs send graphics to the screen, but it does not decide how buttons, menus, or window title bars should look. Other programs, such as window managers, toolkits, and desktop environments, decide those details. Because of this, there is no single typical look for X, and several desktop environments are popular. A window manager controls where windows appear and how they look. Some look like Microsoft Windows or the Apple Macintosh (such as GNOME 2, KDE Plasma, and Xfce). Others, like the tiling window manager Ratpoison or wmii, work in very different ways. Some interfaces, such as Sugar or ChromeOS, do not use the desktop idea at all.
Many users run X with a desktop environment. This includes a window manager and other programs that share the same look. Popular desktop environments include GNOME, KDE Plasma, and Xfce. The standard desktop for UNIX 98 is the Common Desktop Environment (CDE). The freedesktop.org initiative helps different desktops work well together.
Implementations
The X.Org implementation is the standard version of X. Because its license is generous, many versions have appeared, some free and open-source (FOSS) and some proprietary. Companies that sell Unix systems often take the standard version and change it for their own hardware, usually adding their own private extras.
Until 2004, XFree86 was the most common version of X on free Unix-like systems. Since 2004, the X.Org Server, which grew out of XFree86, has become the most popular. X also runs inside other systems. On macOS, Apple's X11.app has been replaced by XQuartz. Windows does not include X, but third-party versions such as Cygwin/X and Xming are available.
X terminals
Main article: X terminal
An X terminal is a thin client that only runs an X server. Many people can use the same large computer server through their own X terminals, which matches the original goal of the MIT project. X terminals look for available hosts on the local broadcast domain using the X Display Manager Control Protocol, and one of those hosts should run an X display manager. Today, a PC or modern thin client with an X server usually does the same job for the same or lower cost than a dedicated X terminal.
Limitations and criticism
See also: Keystroke logging
Critics have pointed out many problems with X. The Unix-Haters Handbook (1994) has a full chapter on them. X has few design rules, so programs often look very different and do not always work well together. The Inter-Client Communication Conventions Manual (ICCCM) is hard to use correctly, and later efforts like Motif and CDE did not solve these problems. Many programmers now avoid them by building for one look and feel or one desktop. X also cannot run NeWS-style user programs on the server, and it has no Turing-complete scripting. Some users with disabilities may find X hard to use, with issues involving accessibility, right click, double click, middle click, mouse-over, and focus stealing. Some programs handle these better than others, and X11 has no accessibility standard. The Orca project adds support using AT-SPI and GNOME's ATK. Usually an X program cannot move from one server to another, though Emacs is one exception. Tools such as Virtual Network Computing (VNC), NX, and Xpra let a session be reached from different servers, similar to GNU Screen, and x11vnc can also help.
Network traffic between an X server and remote programs is not encrypted by default, so a packet sniffer could read what appears on the screen. Using a Secure Shell (SSH) tunnel is the most common way to protect it. Like other thin clients, X can be slowed by bandwidth limits when programs need to update large parts of the bitmap quickly. X's design also separates clients and servers, which adds overhead, mostly from round-trip delay time and latency. Modern versions use Unix domain sockets and shared memory (via MIT-SHM) for faster local connections, and extensions like Mesa help local graphics. X also lacks sandboxing, so any program connected to the server can read keystrokes and screen content. Switching to Wayland is one solution. Poorly configured systems may also run X11 as root, which allows privilege escalation.
Competitors
People have tried to write other systems to replace X. Earlier ones include Sun's NeWS and NeXT's Display PostScript. Both were based on PostScript and let programs define their own display procedures, which X did not have. Today, macOS and its phone version, iOS, use a windowing system called Quartz. When Apple Computer bought NeXT and used NeXTSTEP to build Mac OS X, it replaced Display PostScript with Quartz. One of Quartz's authors said that adding all the features Apple wanted to X11 would have changed it so much that it would hardly look like X11 and would not work well with other servers.
The Wayland protocol is being developed by several X.Org developers as a replacement for X, along with Wayland compositors. It works directly with the GPU hardware through DRI, and Wayland compositors can use XWayland, an X server that can be rootless. The project reached version 1.0 in 2012. Mir, from Canonical Ltd., had goals similar to Wayland, but it has since become a Wayland compositor instead of an alternative display server. Other projects, such as DirectFB, try to avoid the extra work of X by working directly with the hardware. To get a similar result over a network, some tools send pictures of the screen, such as Virtual Network Computing (VNC), or use the Remote Desktop Protocol (RDP), which began on Microsoft Windows. NX, Citrix XenApp, and Tarantella are other examples.
History
Several bitmap display systems came before X. Xerox made the Alto in 1973 and the Star in 1981, and Apple made the Lisa and the Macintosh. In the Unix world, there was the Andrew Project and Rob Pike's Blit terminal. X got its name as a successor to an earlier system called W, which ran under the V operating system. X began in 1984 at MIT, where Jim Gettys of Project Athena and Bob Scheifler worked together. Scheifler needed a usable display environment, and Project Athena needed a graphics system that could run on many kinds of computers. The team created a protocol that could run local applications and also use remote resources. By 1986, other groups were asking for X, and MIT chose to license it under the MIT License. X10R3 became the first version to be widely used, with Hewlett-Packard and DEC releasing products based on it. Developers then redesigned the protocol to be more hardware-neutral, and X11 was released on 15 September 1987.
In January 1988, the MIT X Consortium was formed so that X could be developed in a neutral way, and Keith Packard later joined its developers. In 1993, the X Consortium, Inc. took over, and it developed the Motif toolkit. In January 1997, stewardship passed to The Open Group. Disagreements over licensing and development led to the XFree86 project, which became the most popular version of X. In early 2004, the X.Org Foundation was formed. It was led by software developers and used open community development, which marked a big change in how X was run.
Nomenclature
The official names for the system are X, X Window System, X Version 11, X Window System, Version 11, or X11. The name "X-Windows" is not officially approved. In 1993, X Consortium release manager Matt Landau said, "There is no such thing as 'X Windows' or 'X Window', despite the repeated misuse of the forms by the trade rags." Still, the name has been used informally since early in X's history, and some people have used it on purpose to make a point, such as in the Unix-Haters Handbook.
The X Window System uses some words in different ways than people normally do, especially "display" and "screen." A "device" is a graphics device, such as a graphics card. A "monitor" is a physical screen, such as a CRT or a flat screen. A "screen" is an area where graphics can be drawn, either by software alone, as with VNC, or within a graphics device. A "display" is a group of screens, often on several monitors, that lets the mouse move anywhere among them. Linux-based workstations can usually switch between displays. The word "display" should not be confused with "Zaphod display," a rare setup that lets several users share one computer, each with their own display, mouse, and keyboard, at a lower cost per person.
See also: XFree86 § Release history, and X.Org Server § Releases
The X.Org website says that the group keeps developing and releasing parts of the X Window System. Each part is released on its own when it is ready, not as one big update. People can find downloads and details about changes on the X.Org website.
The website also says that no plan has been proposed for a single full release called X11R7.8.
| Version | Release date | Most important changes |
|---|---|---|
| Unsupported: X1 | June 1984 | First use of the name "X"; fundamental changes distinguishing the product from W. |
| Unsupported: X6 | January 1985 | First version licensed to a handful of outside companies. |
| Unsupported: X9 | September 1985 | Color. First release under MIT License. |
| Unsupported: X10 | November 1985 | IBM RT PC, AT (running DOS), and others. |
| Unsupported: X10R2 | January 1986 | |
| Unsupported: X10R3 | February 1986 | First freely redistributable X release. Earlier releases required a BSD source license to cover code changes to init/getty to support login. uwm made standard window manager. |
| Unsupported: X10R4 | December 1986 | Last version of X10. |
| Unsupported: X11 | 15 September 1987 | First release of the current protocol. |
| Unsupported: X11R2 | February 1988 | First X Consortium release. |
| Unsupported: X11R3 | 25 October 1988 | XDM. |
| Unsupported: X11R4 | 22 December 1989 | XDMCP, twm (from the beginning known as Tom's window manager) brought in as standard window manager, application improvements, shape extension, new fonts. |
| Unsupported: X11R5 | 5 September 1991 | X386 1.2, PEX, Xcms (color management), font server, X video extension. |
| Unsupported: X11R6 | 16 May 1994 | ICCCM v2.0; Inter-Client Exchange; X Session Management; X Synchronization extension; X Image extension; XTEST extension; X Input; X Big Requests; XC-MISC; XFree86 changes. |
| Unsupported: X11R6.1 | 14 March 1996 | X Double Buffer extension; X keyboard extension; X Record extension. |
| Unsupported: X11R6.2 X11R6.3 | 23 December 1996 | Web functionality, LBX. Last X Consortium release. X11R6.2 is the tag for a subset of X11R6.3 (Broadway) with the only new features over R6.1 being XPrint and the Xlib implementation of vertical writing and user-defined character support. Broadway was the code name for running X applications on a web browser via a browser plugin and Low Bandwidth X. |
| Unsupported: X11R6.4 | 31 March 1998 | Xinerama. |
| Unsupported: X11R6.5 | 2000 | Internal X.org release; not made publicly available. |
| Unsupported: X11R6.5.1 | 20 August 2000 | |
| Unsupported: X11R6.6 | 4 April 2001 | Bug fixes, XFree86 changes. |
| Unsupported: X11R6.7.0 | 6 April 2004 | First X.Org Foundation release, incorporating XFree86 4.4rc2. Full end-user distribution. Removal of XIE, PEX and libxml2. |
| Unsupported: X11R6.8.0 | 8 September 2004 | Window translucency, XDamage, Distributed Multihead X, XFixes, Composite, XEvIE. |
| Unsupported: X11R6.8.1 | 17 September 2004 | Security fix in libxpm. |
| Unsupported: X11R6.8.2 | 10 February 2005 | Bug fixes, driver updates. |
| Unsupported: X11R6.9 X11R7.0 | 21 December 2005 | XServer 1.0.1, EXA, major source code refactoring. From the same source-code base, the modular autotooled version became 7.0 and the monolithic imake version was frozen at 6.9. |
| Unsupported: X11R7.1 | 22 May 2006 | XServer 1.1.0, EXA enhancements, KDrive integrated, AIGLX, OS and platform support enhancements. |
| Unsupported: X11R7.2 | 15 February 2007 | XServer 1.2.0, Removal of LBX and the built-in keyboard driver, X-ACE, XCB, autoconfig improvements, cleanups. |
| Unsupported: X11R7.3 | 6 September 2007 | XServer 1.4.0, Input hotplug, output hotplug (RandR 1.2), DTrace probes, PCI domain support. |
| Unsupported: X11R7.4 | 23 September 2008 | XServer 1.5.1, XACE, PCI-rework, EXA speed-ups, _X_EXPORT, GLX 1.4, faster startup and shutdown. |
| Unsupported: X11R7.5 | 26 October 2009 | XServer 1.7.1, Xi 2, XGE, E-EDID support, RandR 1.3, MPX, predictable pointer acceleration, DRI2 memory manager, SELinux security module, further removal of obsolete libraries and extensions. |
| Unsupported: X11R7.6 | 20 December 2010 | X Server 1.9.3, XCB requirement. |
| Latest version: X11R7.7 | 6 June 2012 | X Server 1.12.2; Sync extension 3.1: adds Fence object support; Xi 2.2 multitouch support; XFixes 5.0: Pointer Barriers. |
Legend: Unsupported Supported Latest version Preview version Future version | ||

Quiz time!
5 questions about X Window System
What is the X Window System?
Keep exploring
This article is a child-friendly adaptation of the Wikipedia article on X Window System, available under CC BY-SA 4.0.
Images from Wikimedia Commons. Tap any image to view credits and license.