Step 1: Install GNOME Desktop Environment
[root@localhost]# yum -y groupinstall "Desktop" "Desktop Platform" "X Window System" "Fonts"
Execute below command to install new packages.
[root@localhost]# startx
Step 2: Install VNC Server to connect with GUI from remote client.
[root@localhost]# yum -y install tigervnc-server
[root@localhost]# vncpasswd #set vnc password
Password: #input
Verify: #confirm
[root@localhost]# vncserver :1 #start
Xauth: creating new authority file /root/.Xauthority
New ‘server1.madmax.com:1(root)’ desktop is server1.madmax.com:1
Creating default startup script /root/.vnc/xstartup
Starting applications specified in /root/.vnc/xstartup
Log file is /root/.vnc/server1.madmax.com:1.log
[root@localhost]# vncserver -kill :1 #stop
Killing Xvnc process ID 2187
[root@localhost]#vi /root/.vnc/xstartup
#twm & # at the end: comment out
exec gnome-session & # use Ghome session
# run with display number '1', screen resolution '800x600', color depth '24'
[root@localhost]# vncserver :1 -geometry 800x600 -depth 24
New 'server1.madmax.com:1 (root)' desktop is server1.spirit.com:1
Starting applications specified in /root/.vnc/xstartup
Log file is /root/.vnc/server1.madmax.com:1.log
Step 3: Install VNC viewer on client computer next.
- After installing VNC, click on “VNC Viewer" to run, then, following screen is shown. Input [(Server's hostname or IP address):(display number)] like following example and then click "Connect" button.

- Click on Connect with GNOME Desktop Environment for Cent OS.

- You need to put vnc password, then click on OK

- Its connected to your Desktop Environment

Thats it!!