macOS
brew install xdpyinfolocal Homebrew formula metadata
sudo port install xdpyinfoMacPorts ports tree · x11/xdpyinfo/Portfile · source: api.github.com
brew
X.Org: Utility for displaying information about an X server. Version 1.4.0 via Homebrew; verified 2026-07-04.
install
brew install xdpyinfolocal Homebrew formula metadata
sudo port install xdpyinfoMacPorts ports tree · x11/xdpyinfo/Portfile · source: api.github.com
sudo apk add xdpyinfoAlpine Linux edge package indexes · xdpyinfo · source: dl-cdn.alpinelinux.org
sudo dnf install xdpyinfoFedora Rawhide package metadata · xdpyinfo · source: dl.fedoraproject.org
nix profile install nixpkgs#xdpyinfonixpkgs package indexes · pkgs/by-name/xd/xdpyinfo/package.nix · source: api.github.com
sudo zypper install xdpyinfoopenSUSE Tumbleweed package metadata · xdpyinfo · source: download.opensuse.org
overview
X.Org: Utility for displaying information about an X server
history
xdpyinfo is the X.Org command-line utility for interrogating an X server and printing its protocol, screen, visual, and extension capabilities. It is old-school X plumbing: not a user-facing desktop app, but a diagnostic probe for the display server behind one.
The X11R7.0 manual page credits Jim Fulton of the MIT X Consortium as author, with later extension support added by Joe Moss. That places xdpyinfo in the classic X client-tool tradition that predates modern X.Org packaging, then carried forward into the modular X.Org source tree.
X.Org's 2005 modularization split the old monolithic X Window System source into individual modules for applications, libraries, drivers, fonts, protocol descriptions, and related pieces. xdpyinfo became one of those independently releasable app modules, with its freedesktop.org GitLab project now describing it simply as a display information utility for X.
xdpyinfo's adoption is tied to X11 itself. Administrators, distribution maintainers, build scripts, and users reach for it when they need to confirm that an X server exists, that DISPLAY points to the intended server, what screens and visuals are exposed, and which protocol extensions are present.
The tool is packaged as part of the wider X.Org application set across Unix-like systems. That packaging role matters because many higher-level desktop or graphics issues reduce to 'what does this X server actually advertise?', and xdpyinfo answers without requiring a full desktop environment.
Typical use is direct inspection: run xdpyinfo against the default DISPLAY, pass -display for another server, use -queryExtensions to include numeric extension opcode/event/error details, or use -ext to dump information for a supported extension. It is often paired mentally with xwininfo, xprop, xrdb, xrandr, and other small X11 inspection commands.
Because it reports server capabilities rather than editing configuration, xdpyinfo is safe to run in diagnostics, bug reports, CI environments using Xvfb, remote X sessions, and package test scripts that need to verify extension availability.
xdpyinfo is a tiny but durable example of why X.Org is packaged as many small commands. Most users do not install it for daily interaction, but when a build, remote display, visual depth, or extension check fails, it becomes the quickest source of truth.
It also preserves the X11 client/server worldview in command form: a local program asks a display server what it can do, and the answer can be piped, pasted into bug reports, or used to explain why another graphical package behaves differently on two machines.
security posture
broad file, network, media, or database tool signal.
blue risk · medium confidence · tool
Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.
executables
| Command | Kind | Exposure | Note |
|---|---|---|---|
xdpyinfo | 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.
install metadata
| Package key | brew:xdpyinfo |
|---|---|
| Version | 1.4.0 |
| Package manager | Homebrew |
| Package manager page | https://formulae.brew.sh/formula/xdpyinfo |
| Homepage | https://www.x.org/ |
| Repository | https://gitlab.freedesktop.org/xorg/app/xdpyinfo |
| Upstream docs | https://www.x.org/archive/X11R7.0/doc/html/xdpyinfo.1.html |
| License | MIT |
| Source archive | https://xorg.freedesktop.org/archive/individual/app/xdpyinfo-1.4.0.tar.xz |
| Last updated | 2026-07-04T13:13:44+09:00 |
| Pulse | updated |
| Dependencies | libx11, libxcb, libxext, libxi, libxtst |
| Build dependencies | pkgconf |
| Bottle | available (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, sonoma, ventura, x86_64_linux) |
| Homebrew post-install | not defined |
| Service | none declared |
registry facts
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | xdpyinfo |
| 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.
xdpyinfo
nix profile install nixpkgs#xdpyinfoxdpyinfo 1.4.0-r0
display information utility for X
sudo apk add xdpyinfoxdpyinfo-doc 1.4.0-r0
display information utility for X (documentation)
sudo apk add xdpyinfo-docxdpyinfo 1.3.4-4.fc44
X11 display information utility
sudo dnf install xdpyinfoxdpyinfo 1.4.0-1.3
Utility to display information about an X server
sudo zypper install xdpyinfoxdpyinfo
sudo port install xdpyinfosource 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.