macOS
brew install xinitlocal Homebrew formula metadata
sudo port install xinitMacPorts ports tree · x11/xinit/Portfile · source: api.github.com
brew
Start the X Window System server. Version 1.4.4 via Homebrew; verified from local package data.
install
brew install xinitlocal Homebrew formula metadata
sudo port install xinitMacPorts ports tree · x11/xinit/Portfile · source: api.github.com
sudo apk add xinitAlpine Linux edge package indexes · xinit · source: dl-cdn.alpinelinux.org
sudo apt install xinitDebian stable package indexes · xinit · source: deb.debian.org
sudo dnf install xorg-x11-xinitFedora Rawhide package metadata · xorg-x11-xinit · source: dl.fedoraproject.org
nix profile install nixpkgs#xinitnixpkgs package indexes · pkgs/by-name/xi/xinit/package.nix · source: api.github.com
sudo zypper install xinitopenSUSE Tumbleweed package metadata · xinit · source: download.opensuse.org
overview
Start the X Window System server
history
xinit is the small X.Org session bootstrapper that starts an X server and an initial client program. Its companion script `startx` wraps xinit for the common case of manually starting a single X session from a text login instead of using a display manager.
xinit belongs to the old X client/server world where starting a graphical session meant launching the server and one controlling client. The X.Org manual defines it as the X Window System initializer for systems not using a display manager such as xdm, or for environments that use multiple window systems. When the first client exits, xinit kills the X server and terminates.
The tool's behavior has remained intentionally simple: if no client is given it looks for `~/.xinitrc`, otherwise it falls back to a default xterm; if no server is given it looks for `~/.xserverrc`, otherwise it runs `X :0`. `startx` adds a friendlier shell-script layer, choosing `.xinitrc` and `.xserverrc` files and passing server options after `--`.
xinit was historically central for users who logged into a console and then started X manually. Display managers such as xdm, gdm, and kdm became the common desktop login path, but xinit/startx remained the minimal, packageable fallback for custom window-manager setups, recovery environments, lightweight desktops, and multi-server experiments.
The Linux Documentation Project's X Window User HOWTO captures the traditional split: X sessions are usually started either by a display manager at graphical login or manually from a text console with startx, which is a wrapper around xinit. That is the adoption pattern that kept xinit packaged even after full desktop environments hid it from most users.
Users normally run `startx`, customize `~/.xinitrc` to start clients and leave the final long-lived program, usually a window manager or session manager, in the foreground, and optionally customize `~/.xserverrc` for server startup. Direct `xinit` usage is for explicit client/server combinations, alternate displays, Xvnc-style servers, or low-level troubleshooting.
The package is small but important because it owns the conventional files and shell behavior around manual X startup. Without it, a minimal X.Org install may have an X server and window manager but no standard way for a non-display-manager login to tie them together.
xinit is a perfect package-nerd system utility: tiny, old, boring, and still the glue for a whole class of X11 sessions. It encodes decades of Unix desktop convention in a couple of executable entry points and dotfiles.
Its significance is also diagnostic. When an X session fails before the desktop stack is running, xinit/startx gives maintainers and users a narrow, inspectable path through server arguments, client startup, environment variables, and foreground process lifetime.
security posture
broad file, network, media, or database tool signal. formula declares a Homebrew service.
orange risk · medium confidence · infrastructure
Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.
local files
These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.
Config paths the tool may read or write during local use.
$(HOME)/.xinitrc$(HOME)/.xserverrc/usr/lib/X11/xinit/xinitrc/usr/lib/X11/xinit/xserverrcexecutables
| Command | Kind | Exposure | Note |
|---|---|---|---|
font_cache | cli | global executable | |
startx | cli | global executable | |
xinit | cli | global executable |
freshness
These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.
https://gitlab.freedesktop.org/xorg/app/xinit
install metadata
| Package key | brew:xinit |
|---|---|
| Version | 1.4.4 |
| Package manager | Homebrew |
| Package manager page | https://formulae.brew.sh/formula/xinit |
| Homepage | https://gitlab.freedesktop.org/xorg/app/xinit |
| Repository | https://gitlab.freedesktop.org/xorg/app/xinit |
| Upstream docs | https://www.x.org/archive/X11R7.5/doc/man/man1/startx.1.html |
| License | MIT AND APSL-2.0 |
| Source archive | https://www.x.org/releases/individual/app/xinit-1.4.4.tar.xz |
| Dependencies | libx11, quartz-wm, xauth, xmodmap, xrdb, xterm |
| Build dependencies | lndir, mkfontscale, pkgconf, tradcpp |
| Bottle | available (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, sonoma, ventura, x86_64_linux) |
| Homebrew post-install | not defined |
| Service | declared |
| Caveats | To start privileged xinit now and restart at login: sudo brew services start xinit --file=$HOMEBREW_PREFIX/opt/xinit/homebrew.mxcl.privileged_startx.plist |
registry facts
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | xinit |
| Version Scheme | 0 |
| Revision | 0 |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
source database matches
Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.
xinit 1.4.2-1
X server initialisation tool
sudo apt install xinitxinit
nix profile install nixpkgs#xinitxinit 1.4.1-0ubuntu5
X server initialisation tool
sudo apt install xinitxinit 1.4.4-r0
X.Org initialisation program
sudo apk add xinitxinit-doc 1.4.4-r0
X.Org initialisation program (documentation)
sudo apk add xinit-docxorg-x11-xinit 1.4.3-4.fc44
X.Org X11 X Window System xinit startup scripts
sudo dnf install xorg-x11-xinitxinit 1.4.4-1.3
X Window System initializer
sudo zypper install xinitxinit
sudo port install xinitsource trail
This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.