macOS
brew install xinitlocal Homebrew formula metadata
sudo port install xinitMacPorts ports tree · x11/xinit/Portfile · 来源: api.github.com
安装
brew install xinitlocal Homebrew formula metadata
sudo port install xinitMacPorts ports tree · x11/xinit/Portfile · 来源: api.github.com
sudo apk add xinitAlpine Linux edge package indexes · xinit · 来源: dl-cdn.alpinelinux.org
nix profile install nixpkgs#xinitnixpkgs package indexes · pkgs/by-name/xi/xinit/package.nix · 来源: api.github.com
sudo zypper install xinitopenSUSE Tumbleweed package metadata · xinit · 来源: download.opensuse.org
sudo dnf install xorg-x11-xinitFedora Rawhide package metadata · xorg-x11-xinit · 来源: dl.fedoraproject.org
概览
Start the X Window System server
历史
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.
安全态势
broad file, network, media, or database tool signal. formula declares a Homebrew service.
orange 风险 · 中 置信度 · infrastructure
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
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/xserverrc可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
font_cache | cli | 全局可执行文件 | |
startx | cli | 全局可执行文件 | |
xinit | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
https://gitlab.freedesktop.org/xorg/app/xinit
安装元数据
| 软件包键 | brew:xinit |
|---|---|
| 版本 | 1.4.4 |
| 软件包管理器 | Homebrew |
| 软件包管理器页面 | https://formulae.brew.sh/formula/xinit |
| 主页 | https://gitlab.freedesktop.org/xorg/app/xinit |
| 仓库 | https://gitlab.freedesktop.org/xorg/app/xinit |
| 上游文档 | https://www.x.org/archive/X11R7.5/doc/man/man1/startx.1.html |
| 许可证 | MIT AND APSL-2.0 |
| 源码归档 | https://www.x.org/releases/individual/app/xinit-1.4.4.tar.xz |
| 最后更新 | 2026-07-13T10:44:14Z |
| Pulse | updated |
| 依赖 | libx11, lndir, mkfontscale, quartz-wm, xauth, xmodmap, xrdb, xterm |
| 构建依赖 | pkgconf, tradcpp |
| Bottle | 可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | 未定义 |
| 服务 | declared |
| 注意事项 | To start privileged xinit now and restart at login: sudo brew services start xinit --file=$HOMEBREW_PREFIX/opt/xinit/homebrew.mxcl.privileged_startx.plist |
注册表事实
| 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 |
|
源数据库匹配
匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。
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 xinit来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.