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 # in Xwrapper.config are 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. Use rootonly to only allow root, use console to only allow users logged into a physical console, and use anybody to allow anybody. The default is console.
  • needs_root_rights = yes|no|auto β€” configure if the wrapper should drop its elevated (root) rights before starting the X server. Use yes to force execution as root, no to force execution with all suid rights dropped, and auto to let the wrapper auto-detect. The default is auto.

<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
  • πŸ’– girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms