Automic VaultAutomic Vault

brew

Install xinit with Homebrew, apk, apt, dnf, MacPorts, Nix, zypper

Start the X Window System server. Version 1.4.4 via Homebrew; verified from local package data.

install

Additional install commands

macOS

Homebrewverified · 100%
brew install xinit

local Homebrew formula metadata

MacPortsverified · 94%
sudo port install xinit

MacPorts ports tree · x11/xinit/Portfile · source: api.github.com

Linux

Alpine Linux apkverified · 92%
sudo apk add xinit

Alpine Linux edge package indexes · xinit · source: dl-cdn.alpinelinux.org

Debian aptverified · 92%
sudo apt install xinit

Debian stable package indexes · xinit · source: deb.debian.org

Fedora dnfverified · 92%
sudo dnf install xorg-x11-xinit

Fedora Rawhide package metadata · xorg-x11-xinit · source: dl.fedoraproject.org

Nixverified · 92%
nix profile install nixpkgs#xinit

nixpkgs package indexes · pkgs/by-name/xi/xinit/package.nix · source: api.github.com

openSUSE zypperverified · 92%
sudo zypper install xinit

openSUSE Tumbleweed package metadata · xinit · source: download.opensuse.org

overview

Package summary

Start the X Window System server

Commands and aliases

  • font_cache
  • startx
  • xinit

history

Project history and usage

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.

Project history

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 `--`.

Adoption history

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.

How it is used

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.

Why package nerds care

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.

Timeline

  • X11 era: xinit becomes the manual initializer pattern for starting an X server and first client outside a display manager.
  • X11R6/X11R7 documentation era: `startx` is documented as a front end to xinit for a single X Window System session.
  • 2018-07-29: the xorg/app/xinit project appears in freedesktop.org GitLab metadata, reflecting the modern X.Org hosting location.
  • 2026: freedesktop.org GitLab metadata still shows activity on the xinit project.

Related projects

  • startx is the user-facing wrapper script shipped with xinit.
  • Xorg or another X server is the server process xinit starts.
  • xdm, gdm, and kdm are display-manager alternatives that start X sessions without the user manually invoking xinit.
  • twm, xterm, and lightweight window managers are classic clients used in `.xinitrc` examples and fallback sessions.

security posture

Risk level: orange

broad file, network, media, or database tool signal. formula declares a Homebrew service.

Risk classifier

orange risk · medium confidence · infrastructure

Why

  • broad file, network, media, or database tool signal
  • formula declares a Homebrew service

Signals

  • metadata:service
  • text:server

Install behavior

  • No Homebrew post-install hook is recorded in formula metadata.
  • Formula metadata declares a service or daemon block.
  • Homebrew bottle metadata is available for 8 platform targets.
  • Installs with 6 runtime dependencies.
  • Build metadata lists 4 build dependencies.

Recommended review

Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.

local files

Configuration and credential file locations

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.

Configuration files

Config paths the tool may read or write during local use.

Unix
$(HOME)/.xinitrc$(HOME)/.xserverrc/usr/lib/X11/xinit/xinitrc/usr/lib/X11/xinit/xserverrc

executables

Installed executables

CommandKindExposureNote
font_cachecliglobal executable
startxcliglobal executable
xinitcliglobal executable

freshness

Version and 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.

page generated2026-07-08
manager version1.4.4
manager updated
local dataok
upstreamnot checked
latest detectednot detected

https://gitlab.freedesktop.org/xorg/app/xinit

install metadata

Package metadata

Package keybrew:xinit
Version1.4.4
Package managerHomebrew
Package manager pagehttps://formulae.brew.sh/formula/xinit
Homepagehttps://gitlab.freedesktop.org/xorg/app/xinit
Repositoryhttps://gitlab.freedesktop.org/xorg/app/xinit
Upstream docshttps://www.x.org/archive/X11R7.5/doc/man/man1/startx.1.html
LicenseMIT AND APSL-2.0
Source archivehttps://www.x.org/releases/individual/app/xinit-1.4.4.tar.xz
Dependencieslibx11, quartz-wm, xauth, xmodmap, xrdb, xterm
Build dependencieslndir, mkfontscale, pkgconf, tradcpp
Bottleavailable (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, sonoma, ventura, x86_64_linux)
Homebrew post-installnot defined
Servicedeclared
CaveatsTo 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 details

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namexinit
Version Scheme0
Revision0
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • stable

source database matches

Other package-manager records

Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.

Debian apt95%

xinit 1.4.2-1

X server initialisation tool

sudo apt install xinit
  • Section: x11
  • Architecture: amd64
  • 4 dependencies
  • 6 optional deps
  • normalized package name match
  • Matched by: Xinit
Debian stable package indexes · deb.debian.org · Debian stable package indexes: xinit from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Nix95%

xinit

nix profile install nixpkgs#xinit
  • normalized package name match
  • Matched by: Xinit
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/xi/xinit/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
Ubuntu apt95%

xinit 1.4.1-0ubuntu5

X server initialisation tool

sudo apt install xinit
  • Section: x11
  • Architecture: amd64
  • 5 dependencies
  • 7 optional deps
  • normalized package name match
  • Matched by: Xinit
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: xinit from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz
apk95%

xinit 1.4.4-r0

X.Org initialisation program

https://xorg.freedesktop.org/

sudo apk add xinit
  • License: MIT
  • Architecture: x86_64
  • Source Package: xinit
  • 1 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Xinit
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: xinit from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk95%

xinit-doc 1.4.4-r0

X.Org initialisation program (documentation)

https://xorg.freedesktop.org/

sudo apk add xinit-doc
  • License: MIT
  • Architecture: x86_64
  • Source Package: xinit
  • normalized package name match
  • Matched by: Xinit
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: xinit-doc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
dnf95%

xorg-x11-xinit 1.4.3-4.fc44

X.Org X11 X Window System xinit startup scripts

https://www.x.org

sudo dnf install xorg-x11-xinit
  • License: X11-distribute-modifications-variant AND MIT-open-group
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: xorg-x11-xinit
  • 11 dependencies
  • 3 provides
  • normalized package name match
  • Matched by: Xinit
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: xorg-x11-xinit from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
zypper95%

xinit 1.4.4-1.3

X Window System initializer

https://xorg.freedesktop.org/

sudo zypper install xinit
  • License: MIT
  • Category: System/X11/Utilities
  • Architecture: x86_64
  • Source Package: xinit
  • 10 dependencies
  • 2 provides
  • normalized package name match
  • Matched by: Xinit
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: xinit from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst
MacPorts95%

xinit

sudo port install xinit
  • normalized package name match
  • Matched by: Xinit
MacPorts ports tree · api.github.com · MacPorts ports tree: x11/xinit/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

source trail

Generated from repository data

This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.

Used sources

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated configuration and credential file locations
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment