4 methods to Install Gui For Centos 5 and Centos 6

No comments

If you want to install gui(GNOME) on your VPS to VNC connect you choose one method:

1. Oneline to install GUI for Centos 5, 6

Login as superuser and type:

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

You will download over 200MB to update.

2. Short oneline to install GUI for Centos

yum install @x11 @desktop

3. Multiline to install destop for Centos

yum groupinstall -y 'X Window System'
yum groupinstall -y 'Desktop'
yum groupinstall -y fonts


4. 4 step to install GUI and VNC


Step1: Install GUI on Centos:
yum -y groupinstall "Desktop"

Step2: Install VNC and firefox on Centos server:
yum -y install tigervnc-server xorg-x11-fonts-Type1 firefox  

Step3: Then you start the VNC server on Centos
Run it as root:
vncserver
Step 4: Type the password and using VNC client to connect.

----------------
Note: If you want the GUI auto start on boot
Please type:
nano /etc/inittab
Change:
id:3:initdefault:
To:
id:5:initdefault:

To start the GUI for Centos manual, you type:
init 5
After that, you type:
startx


No comments :

Post a Comment