Installing GNOME GUI on CentOS 6.5

  • by
  • 3 Years ago
  • 14

In my earlier post, I showed us how to Install CentOS 6.4 on VirtualBox using the minimal version which runs on CLI. Now I would show us how to install a GUI desktop environment on CentOS. For the purpose of this post, I will install GNOME Desktop and install some optional packages

Step 1: Install desktop packages

– Log into CentOS using root account. Run the following command:

yum -y groupinstall "Desktop" "Desktop Platform" "X Window System" "Fonts"

– Wait until install is over

 

Step 2: Enable boot up to GUI mode

– Open the file “inittab” with following command:

# vi /etc/inittab

– Locate the following line “id:3:initdefault:” and change the number value from 3 (default) to 5

– Save changes and reboot machine with following command

# init 6

– On Welcome screen, click Forward

– Accept License Agreement and click Forward

– Enter username for non-administrative account

 

– Set current Date and Time and click Finish

 

– Now login with the newly created account

 

– There you are, a nice looking desktop to mess about with 🙂

 

Note: You can switch from GUI to CLI mode manually by using following method:

GUI to CLI: Ctrl + Alt + F6
CLI to GUI: Ctrl + Alt + F1

Step 3: Install optional packages: You can install additional packages either via the desktop GUI or via the CLI

– To install from desktop GUI, click on System > Administration > Add/Remove Software. Enter package name to install in search field and click Find. Check the package name desired and click Apply to install

– To install using the CLI, simply run the following command

# yum -y groupinstall "FTP server"

Any questions, please feel free to ask 🙂

  • facebook
  • googleplus
  • twitter
  • linkedin
  • linkedin
  • sandeepkumargupta09

    Thanks buddy…It worked for me

  • sysads

    sandeepkumargupta09
    Glad this was useful 🙂

  • Abhijit Raipure

    It worked for me as well

  • Kanty

    Thanks, it’s perfect

  • Akbar Ariadi

    In my case, it don’t want to show the WELCOME SCREEN after I do the second step after # init 6 command and it just show the blank screen after that. I’ve try to reboot my computer again and again but it still like that. Can you help me to solve my problem?

    • Clay

      same thing happened to me

  • Synchrøn

    after i typed ‘init 6’ as suggested my system crashed ever since and i cannot login as root anymore. The system is down saying request timeout on ping. Any suggestion?

    • Soufiane Fadil

      The same here ! did you fix it ?

  • Ashok

    It doesn’t work after you run a reboot command(init 6). Using on centos 6.6

  • ari

    Hi, Is there any way to run GUI based java application on Centos minimal? Or what are requirements having a java application running.?

  • aidar

    Thank you it worked, nice and detailed article

  • Ren Mark Tismo

    where can i get centos? i try to download in centos.org and try to install in virtualbox but its is unable to boot .. kernel verion is missing