UnderHost Networks Ltd


If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.



Reply
  #1 (permalink)  
Old 06-28-2009, 09:14 PM
UnderHost's Avatar
UnderHost Management
 
Join Date: Jul 2008
Posts: 588
Default How to Install Gnome/KDE in CentOS

A typical GNU/Linux installation for server doesn't really need a GUI, however if you need a GUI in the future for some reasons, its easy to install.

This tutorial assumes a basic knowledge of the Linux Command Line. This tutorial applies to CentOS and other Red Hat-based distro.

Type this command
Code:
yum grouplist
and look for X Window System, GNOME Desktop Environment and KDE (K Desktop Environment) in the list.

Code:
Setting up Group Process
Setting up repositories
yumgroups.xml             100% |=========================| 558 kB    00:21
yumgroups.xml             100% |=========================| 4.6 kB    00:00
Installed Groups:
   Administration Tools
   Compatibility Arch Support
   DNS Name Server
   FTP Server
   Mail Server
   MySQL Database
   Server Configuration Tools
   Text-based Internet
   Web Server
   Windows File Server
Available Groups:
   AptRPM
   Authoring and Publishing
   Compatibility Arch Development Support
   Development Tools
   Editors
   Engineering and Scientific
   GNOME Desktop Environment
   GNOME Software Development
   Games and Entertainment
   Graphical Internet
   Graphics
   Horde-Apps
   KDE (K Desktop Environment)
   KDE Software Development
   Legacy Network Server
   Legacy Software Development
   Network Servers
   News Server
   Office/Productivity
   PostgreSQL Database
   Printing Support
   Sound and Video
   System Tools
   X Software Development
   X Window System
   XFCE-4.2
   drbd-heartbeat
Done

To install Gnome Desktop type this


Code:
yum groupinstall "X Window System" "GNOME Desktop Environment"

and for KDE Desktop

Code:
yum groupinstall "X Window System" "KDE (K Desktop Environment)"
Change this line in /etc/inittab
Code:
id:3:initdefault:

to

id:5:initdefault:
If you install both Gnome and KDE, the default Desktop will be Gnome.
If you want to change your default desktop from Gnome to Kde, open the /etc/sysconfig/desktop file:

Code:
vi /etc/sysconfig/desktop
and set DESKTOP variable to KDE:

Code:
DESKTOP="KDE"
DISPLAYMANAGER="KDE"
To switch desktop, run this command:
switchdesk kde

Have Fun!
__________________

UnderHostProviding Affordable and Quality Web Hosting & Offshore Hosting
24/7 Fast Support / 99.9% Uptime Guarantee
UHVPSVirtual Private Servers & Premium Offshore VPS
Hong Kong - Singapore - USA - Canada - Netherlands - United Kingdom - Germany
Reply With Quote
underhost.us
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Loading...


All times are GMT -4. The time now is 04:23 PM.
Copyright © 2009 UnderHost Networks Ltd