pkg.soopen package index

brew / 排名 5439

使用 Homebrew, apk, apt, MacPorts, Nix, zypper, dnf 安装 xinit

查看 xinit 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install xinit

local Homebrew formula metadata

MacPorts已验证 · 94%
sudo port install xinit

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

Linux

Alpine Linux apk已验证 · 92%
sudo apk add xinit

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

Debian apt已验证 · 92%
sudo apt install xinit

Debian stable package indexes · xinit · 来源: deb.debian.org

Nix已验证 · 92%
nix profile install nixpkgs#xinit

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

openSUSE zypper已验证 · 92%
sudo zypper install xinit

openSUSE Tumbleweed package metadata · xinit · 来源: download.opensuse.org

Fedora dnf已验证 · 92%
sudo dnf install xorg-x11-xinit

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

概览

软件包摘要

Start the X Window System server

命令和别名

  • startx
  • xinit

历史

项目历史与用法

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.

时间线

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

安全态势

风险级别:orange

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

风险分类器

orange 风险 · 中 置信度 · infrastructure

原因

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

信号

  • metadata:service
  • text:server

安装行为

  • 未记录 Homebrew bottle 元数据。

建议审查

在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。

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

可执行文件

已安装的可执行文件

命令类型暴露范围备注
startx可执行文件已索引可执行文件从本地可执行文件索引发现。
xinit可执行文件已索引可执行文件从本地可执行文件索引发现。

新鲜度

版本和新鲜度

这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。

页面生成时间2026-08-03
管理器版本1.4.4
管理器更新时间2026-07-13
本地数据未知
上游不可用
检测到的最新版本未检测到
  • OK没有生成新鲜度警告。

安装元数据

软件包元数据

软件包键brew:xinit
版本1.4.4
软件包管理器Homebrew
主页https://gitlab.freedesktop.org/xorg/app/xinit
最后更新2026-07-13T10:44:14Z
Pulseupdated
Bottle未记录
服务未声明

源数据库匹配

其他软件包管理器记录

匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。

Debian apt95%

xinit 1.4.2-1

X server initialisation tool

sudo apt install xinit
  • Section: x11
  • Architecture: amd64
  • 4 依赖
  • 6 可选依赖
  • normalized package name match
  • 匹配方式: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
  • 匹配方式: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 依赖
  • 7 可选依赖
  • normalized package name match
  • 匹配方式: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 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式: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
  • 匹配方式: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-5.fc45

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 依赖
  • 3 提供
  • normalized package name match
  • 匹配方式: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/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst
zypper95%

xinit 1.4.4-1.5

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 依赖
  • 2 提供
  • normalized package name match
  • 匹配方式:Xinit
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: xinit from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst
MacPorts95%

xinit

sudo port install xinit
  • normalized package name match
  • 匹配方式: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

来源线索

由仓库数据生成

此页面由 av-webscripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。

使用的来源

  • Geiger risk classifier
  • cross-ecosystem install command graph
  • curated configuration and credential file locations
  • curated package history
  • external package-manager database matches
  • pkg.so package database
  • pkgdb category and tag curation