Linux into the GNOME X interface

Source: Internet
Author: User
Tags gpg

CentOS installation gnomecentosvmwarelinuxbloghtml

When I first started to install the system, I didn't choose gnome or KDE, and now I want to play.

Simple installation can refer to this: http://huruxing159.iteye.com/blog/744750

The CentOS installation is to be installed using the Linux text mode without installing the Xwindows interface. To use now, install with Yum.
Log in to the system and install with Yum
#yum groupinstall ' X Window System '-y
Installing the GNOME desktop environment
#yum groupinstall ' GNOME Desktop environment '-y
If you install the KDE desktop environment
#yum Groupinstall ' KDE (K Desktop environment) '-y

Uninstalling the GNOME desktop environment
#yum groupremove "GNOME Desktop Environment"
Uninstalling the KDE desktop environment
#yum groupremove "KDE (K Desktop environment)"

But this practice will be downloaded from the network to re-download these packages and then install, and generally we have an ISO file, including these things, so you can refer to this article: http://hi.baidu.com/chif/blog/item/4d915a55d0b0f5cdb645ae37.html

##########################################

< reprint Start >

The previous days in the installation of CentOS on the VMware, did not choose to install the GNOME desktop components, recently suddenly want to add, do not want to install through the network, tossing a half day from the local loading, forget about
1, if connected to the network, you can directly useYum groupinstall "GNOME Desktop Environment"
2, the Local installation method:
A) load the CD into the local Mount/dev/cdrom/mnt/cdrom
b) in the/etc/yum.repos.d/directory, there are two files
Centos-base.repoAndCentos-media.repo
where Centos-base.repo records the address and path information of the Yum source on the network, etc.
Centos-media.repo records the media and paths that can be used locally as a Yum source.
Modify Centos-media.repo

[C5-media]
name=centos-$releasever-media
baseurl=file:///media/centos/
file:///media/cdrom/
file:///media/cdrecorder/
File:///mnt/cdrom #增加这句
Gpgcheck=1
Enabled=0
Gpgkey=file:///etc/pki/rpm-gpg/rpm-gpg-key-beta

Save after editing is complete, execute the following command
yum--disablerepo=*--enablerepo=c5-media update

c) Perform the Yum--disablerepo=*--enablerepo=c5-media grouplist to see which components are optional (X Window system and GNOME Desktop environment);
PerformYum--disablerepo=*--enablerepo=c5-media groupinstall "GNOME Desktop Environment",
If prompted Error:missing dependency:libgaim.so.0 is needed by the package nautilus-sendto,
It is executed in the CD CentOS directoryRPM-UVH nautilus-sendto-0.7-5.fc6.i386.rpm,
If you are prompted to have a dependency, plus the--nodeps option, then execute the Yum--disablerepo=*--enablerepo=c5-media groupinstall "GNOME Desktop Environment",
When you install GNOME, Yum automatically installs the X window as a dependency.

d) launch the GNOME Desktop command:StartX

< reprint end >

##########################################

However, it seems that the use of the local ISO method is not very good or I started the gnome problem, I now start GDM after a very simple xwindows interface.

Using Yum to download gnome from the web, look at the line later.

Uninstalling Gnome:

#yum groupremove "GNOME Desktop Environment"

Linux into the GNOME X interface

Install Gnome:

MPlayer yesterday, the results of GNOME was destroyed, the boot init 5 into the X interface, but not gnome, only xterm,clock,firefox three windows, although this does not affect the use, but work trouble, so I want to return to GNOME, But did not do a long time, inittab,x11r6,x11, and so on try to try, drive reload, and finally is the reason for gnome, the file was destroyed.

The way back to gnome is simple, with the Switchdesk command.

1. If there is no Switchdesk command, the following:

Yum Install Switchdesk

2. If gnome is damaged or not installed, as follows:

Yum groupinstall "GNOME Desktop Environment"

3. If the first two steps are OK, you can switch to gnome!

Switchdesk Gnome

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.