After Xorg-server is installed, startx starts the desktop environment and the module is missing.View log:
cat /var/log/Xorg.0.log | grep EE
[75.403] (EE) failed to load module "modesetting" (module does not exist, 0)
[1, 75.403] (EE) failed to load module "fbdev" (module does not exist, 0)
[75.403] (EE) failed to load module "VESA" (module does not exist, 0)
Solution:
Check the input_devices and video_cards variables in Xorg-drivers and add the missing tags in make. conf.
emerge -pv xorg-drivers
These are the packages that wocould be merged, in order:
Calculating dependencies... done!
[Ebuild R] x11-base/xorg-drivers-1.15 input_devices = "evdev keyboard mouse-acecad-aiptek-elographics-fpit-hyperpen-joystick-mutouch-penmount-synaptics-tslib-vmmouse-void-wacom" video_cards = "intel-APM-Ast-chips-cirrus-dummy-Epson-fbdev-fglrx (-freedreno) -geode-glint-i128-i740-mach64-MGA-modesetting-neomagic-Nouveau-Nv-NVIDIA (-OMAP) (-omapfb) -qxl-r128-radeon-radeonsi-rendition-s3virge-Savage-siliconmotion-sisusb (-sunbw2) (-suncg14) (-suncg3) (-suncg6) (-sunffb) (-sunleo) (-suntcx)-tdfx-TGA-trident-Tseng-v4l-VESA-via-virtualbox-VMware (-voodoo) "0 KB
Add modesetting, fbdev, and VESA to video_cards.
Gentoo: failed to load module error in startx