Xorg

Xorg is an open source implementation of the X Window System.

Installation
There are many ways to get the X server in Gentoo, however a common method is to emerge one of the two packages:


 * - Installs the necessary components for a minimally operational X server.
 * - 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.

The X USE flag
Many packages can be built with optional x11 support by activating the global  USE flag (if not already activated by profile selection).

xorg-server
Just the necessary components:

xorg-x11
The full Xorg suite via the meta package:

X server starts and dies unexpectedly with no errors
Problem: Running will start the X server, however it will immediately die without any errors (searching " " in  returns no related results).

Cause: an empty file exists for the user who is running the  command, so the X server is starting, then stopping because there is nothing left for it to do.

Resolution: Either remove the file or define a window manager inside it.

Reproducible via: