sudo yum groupinstall Desktop
2. install Vnc Server,Nano Editor and Font.
sudo yum install nanosudo yum install tigervnc-serversudo yum install xorg-x11-fonts-Type1
Confirm with ( Y )
3. To make VNC start automatic after reboot. Use this commands.
sudo chkconfig vncserver on
4. Make password for you VNC server. Enter password and Verify.
vncpasswd
5. Now set resolution and user on you VNC server. Edit using nano or another editor.
nano /etc/sysconfig/vncserversCopy/Paste this code at last line.VNCSERVERS="1:root"
VNCSERVERARGS[1]="-geometry 1024x600"
save and exit. Then restart VNC.
service vncserver restart
6. To enter GUI GNOME when startup. Kill VNC service first.
vncserver -kill :1and edit this file.nano .vnc/xstartup
at the last line, put # on "twm &" and add this code "exec gnome-session &"
#twm &
exec gnome-session &
save and exit.
7. Lastly start and restart VNC with this command.
service vncserver startservice vncserver restart
Done
To connect to your GUI GNOME please use VNC Viewer.
Download from Here : VNC Viewer
and insert YOUIPVPS:1 and vnc password you create early.