Xorg is an open source implementation of the X Window System.
There are many ways to get the X server in Gentoo, however a common method is to emerge one of the two packages:
- x11-base/xorg-server - Installs the necessary components for a minimally operational X server.
- x11-base/xorg-x11 - Installs a large Xorg software suite.
As seen from the descriptions above, those who desire a more minimal X server implementation should choose the first package.
USE flags for x11-base/xorg-server X.Org X servers
||Build the Distributed Multiheaded X server||local|
||Enable Glamor OpenGL 2D acceleration||local|
||Build the kdrive X servers||local|
||!!internal use only!! Security Enhanced Linux support, this must be set by the selinux profile or breakage will occur||global|
||Build static versions of dynamic libraries as well||global|
||Enable libunwind usage for backtraces||local|
||Build Security extension||local|
||Build the Xephyr server||local|
||Build the Xnest server||local|
||Build the Xorg X server (HIGHLY RECOMMENDED)||local|
||Build the Xvfb server||local|
This metapackage does not have any USE flags of its own.
The X USE flag
Just the necessary components:
emerge --ask x11-base/xorg-server
The full Xorg suite via the meta package:
emerge --ask x11-base/xorg-x11
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.