Xorg is an open source implementation of the X Window System.
Install the X server via the package:
- x11-base/xorg-server - Installs the necessary components for a minimally operational X server.
USE flags for x11-base/xorg-server X.Org X servers
||Enable extra debug codepaths, like asserts and extra output. If you want to get meaningful backtraces see https://wiki.gentoo.org/wiki/Project:Quality_Assurance/Backtraces|
||Use elogind to get control over framebuffer when running as regular user|
||Install a very minimal build (disables, for example, plugins, fonts, most drivers, non-critical features)|
||!!internal use only!! Security Enhanced Linux support, this must be set by the selinux profile or breakage will occur|
||Enable setuid root program(s)|
||Enable use of systemd-specific libraries and features like socket activation or session tracking|
||Enable dependencies and/or preparations necessary to run tests (usually controlled by FEATURES=test but can be toggled independently)|
||Enable virtual/udev integration (device discovery, power and storage device support, etc)|
||Enable libunwind usage for backtraces|
||Build Security extension|
||Build the Xephyr server|
||Build the Xnest server|
||Build the Xorg X server (HIGHLY RECOMMENDED)|
||Build the Xvfb server|
The X USE flag
Just the necessary components:
emerge --ask x11-base/xorg-server
Getting a working graphical environment (including popular desktops like KDE and Gnome) requires additional configuration before emerging one of these packages. See the more extensive Xorg Guide for details.
X server starts and dies unexpectedly with no errors
Problem: Running startx will start the X server, however it will immediately die without any errors (searching "
EE" in /var/log/Xorg.0.log returns no related results).
Cause: an empty .xinitrc file exists for the user who is running the startx command, so the X server is starting, then stopping because there is nothing left for it to do.
Resolution: Either remove the .xinitrc file or define a window manager inside it.
Blockers when updating xorg-server with xorg-drivers
When an update is available for xorg-server, it is possible that a normal -up world command will produce blocker messages with xorg drivers. When this happens, rebuilding x11 modules can help proceed with the update Ex:
emerge -av1 xorg-server @x11-module-rebuild
- Non root Xorg — describes how an unprivileged user can run Xorg without using suid.
- Xorg/Guide — explains what Xorg is, how to install it, and the various configuration options.
- Xorg/Hardware 3D acceleration guide — a guide to getting 3D acceleration working using the DRM with Xorg in Gentoo.
- Xrandr — X protocol extension and its CLI tool xrandr are used to manage screen resolutions, rotation and screens with multiply displays in X
- Xorg/Using the numeric keyboard keys as mouse — XOrg comes with built-in mouse emulation using the keyboards numeric keypad.
- X server — the main component of the X Window system which abstracts the hardware and provides the foundation for most graphical user interfaces, like desktop environments or window managers, and their applications.