Xorg.wrap(1)
π Xorg.wrap(1) β the Xorg X server binary wrapper, bestie edition π
okay so this is the manual page for Xorg.wrap, a lil general commands manual situation. Let's get into it. β¨
π NAME π
Xorg.wrap β the Xorg X server binary wrapper. she's the middleman. the vibe translator. the girl who holds the door. π
πΈ DESCRIPTION πΈ
So here's the tea, bestie: the Xorg X server lowkey might need root rights to actually function properly. π And to start the Xorg X server with those rights, your system uses a suid root wrapper β that's her, that's Xorg.wrap β installed at:
/usr/libexec/Xorg.wrap
and she will execute the real X server, which lives at:
/usr/libexec/Xorg
<div></div>
By default, Xorg.wrap will autodetect whether root rights are actually necessary, and if they're not, she will drop her elevated rights before starting the real X server. Very demure. Very mindful. π§
By default, Xorg.wrap will only allow executing the real X server from login sessions on a physical console. That's the boundary. Respect it. π
β¨ CONFIG FILE β¨
Xorg.wrap's default behavior can be overridden from the config file at:
/etc/X11/Xwrapper.config
Some ground rules for this file, periodt:
- Lines starting with a
#inXwrapper.configare considered comments and will be ignored. π€ - Any other non-empty lines must take the form of
key = value.
<div></div>
π¦ The keys, explained (with love) π¦
allowed_users = rootonly|console|anybodyβ specify which users may start the X server through the wrapper. Userootonlyto only allow root, useconsoleto only allow users logged into a physical console, and useanybodyto allow anybody. The default isconsole.needs_root_rights = yes|no|autoβ configure if the wrapper should drop its elevated (root) rights before starting the X server. Useyesto force execution as root,noto force execution with all suid rights dropped, andautoto let the wrapper auto-detect. The default isauto.
<div></div>
β οΈ Okay so here's the β¨fine printβ¨ that actually matters: when auto-detecting, the wrapper will drop rights if kms graphics are available and not drop them if no kms graphics are detected. If a system has multiple graphics cards and some are not kms capable, auto-detection may fail β in this case, manual configuration should be used. no cap, just set it yourself. π
π SEE ALSO π
Xorg X server information: Xorg(1) β go read that one too, bestie, she's iconic. π
and that's the whole page, you ate that. π«Ά X Version 11, xorg-server 21.1.25, mwah π bye bestie πβ¨
π¦ where this page comes from
- alpine 3.24: xorg-server-doc 21.1.25-r0 Β· MIT
- arch rolling: xorg-server 21.1.25-2 Β· LicenseRef-Adobe-Display-PostScript AND BSD-3-Clause AND LicenseRef-DEC-3-Clause AND HPND AND LicenseRef-HPND-sell-MIT-disclaimer-xserver AND HPND-sell-variant AND ICU AND ISC AND MIT AND MIT-open-group AND NTP AND SGI-B-2.0 AND SMLNJ AND X11 AND X11-distribute-modifications-variant
- fedora 43: xorg-x11-server-Xorg 21.1.25-2.fc43 Β· Adobe-Display-PostScript AND BSD-3-Clause AND DEC-3-Clause AND HPND AND HPND-sell-MIT-disclaimer-xserver AND HPND-sell-variant AND ICU AND ISC AND MIT AND MIT-open-group AND NTP AND SGI-B-2.0 AND SMLNJ AND X11 AND X11-distribute-modifications-variant
- fedora 44: xorg-x11-server-Xorg 21.1.25-2.fc44 Β· Adobe-Display-PostScript AND BSD-3-Clause AND DEC-3-Clause AND HPND AND HPND-sell-MIT-disclaimer-xserver AND HPND-sell-variant AND ICU AND ISC AND MIT AND MIT-open-group AND NTP AND SGI-B-2.0 AND SMLNJ AND X11 AND X11-distribute-modifications-variant
- Copyright 2014 Red Hat, Inc
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms