LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   How to install gui on Centos 7 through Oracle Virtual BOx (https://www.linuxquestions.org/questions/linux-newbie-8/how-to-install-gui-on-centos-7-through-oracle-virtual-box-4175544981/)

rob171171 06-10-2015 05:14 AM

How to install gui on Centos 7 through Oracle Virtual BOx
 
Hi

I have recently installed CentOS-6.5-x86_64-bin-DVD1 on Oracle Virtual Box and while doing so I skipped through the initial install pretty quickly. I don't remember if I ticked the option to install the GUI. I do, now need to activate the GUI which I believe is part of the iso I installed. Can anyone help please in telling how I go about doing this.

Thanks in Advance
Rob

Jjex22 06-10-2015 06:24 AM

Hi Rob, Welcome to the Forums!

If you've completed install and are logging in at the command prompt, it's likely that you've not installed a GUI. You can test this by typing
Code:

telinit 5
You'll need to be root, or sudo that one, but if you have installed a desktop it'll load.

If not, you can use
Code:

yum groupinstall <<desktop name>>
to get the desktop you want, but it may be a good idea if you rushed through the install to re-install and just double check you have everything as you want it?

JJ

Jjex22 06-10-2015 06:34 AM

Here's a great guide to install the gnome desktop from the command line: Gnome

To install KDE instead, just type
Code:

yum group install "KDE desktop" "X Window System" "Fonts"
in the first command instead.

JJ

John VV 06-10-2015 12:23 PM

BE AWARE!!!!

6.5 is UNSUPPORTED!!!!
there are NO updates
and NO security updates
and there have BEEN NONE for a year

Upgrade to 6.6 ASAP!!!!!!!

Code:

su -
yum --releasever=6.6 upgrade

or

install the 6.6 release rpm
and just run upgrade

or

( not recommended on a server)

manually edit the repos to point to "6 " and NOT " 6.5"

then just run a normal update
Code:

su -
yum update


suicidaleggroll 06-10-2015 01:58 PM

Why does the thread title say CentOS 7 and the post say CentOS 6.5?

Either way:
Code:

yum groupinstall "Desktop" "Desktop Platform" "X Window System" "Fonts"
Will install the GUI on either one.

How to modify the system so it boots into the GUI depends on whether you're running CentOS 6 or 7...

rob171171 06-18-2015 04:20 AM

Thanks all for assistance which has now enabled me to install the required desktop.


All times are GMT -5. The time now is 08:46 PM.