Gentoo installation (4)-install X Desktop Environment, gentoo

Source: Internet
Author: User

Gentoo installation (4)-install X Desktop Environment, gentoo
Install X Desktop Environment: Install Xorg:

  • Detect video card information:
dmesg | grep videolspci  | grep -i VGA
  • Configure the INPUT_DEVICE and VIDEO_CARDS variables:

Before installing Xorg, you need to set two important variables in the/etc/portage/make. conf file.

(For mouse, keyboard, and Synaptics touchpad support) INPUT_DEVICE = "evdev synaptics" (For nVidia graphics cards) VIDEO_CARDS = "nvidia" (or, For ATI Radeon graphics cards) VIDEO_CARDS = "radeon" (vmwarevm) VIDEO_CARDS = "vmware" (VirtualBox VM) VIDEO_CARDS = "virtualbox"
  • Install xorg-server"
emerge -pv xorg-drivers

First of all, make sure udev is in your USE flags:

echo "x11-base/xorg-server udev" >> /etc/portage/package.use

Note: The keyboard and mouse are replaced with evdev in the latest version of Xorg (later than 1.5) to ensure that the udev flag is enabled when xorg-server is installed.

Next, install Xorg:

emerge -av xorg-server
  • Update environment variables:
env-update source /etc/profile
  • Use startx:

After twm and xterm are installed, run startx to test whether X is normal.
After the test is normal, you can delete twm and xterm.

emerge -v twm xtermstartx
Install the desktop environment:
  • Lxde:
  • Awesome:

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.