LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Remove "X" / Gnome (https://www.linuxquestions.org/questions/linux-newbie-8/remove-x-gnome-784189/)

sfrederiksen 01-23-2010 06:39 AM

Remove "X" / Gnome
 
Hi all
i've just installed my first webserver on a centos, and are finnaly done. I know realize that the GUI gnome / X server insent for any good beccause all of the configuration is made through the terminal / console.

So how can i unstall the gui / X server again so i dont waste system resources running this gui that are never used??

Regards, Steffen.

cola 01-23-2010 07:01 AM

Quote:

Originally Posted by sfrederiksen (Post 3837564)
Hi all
i've just installed my first webserver on a centos, and are finnaly done. I know realize that the GUI gnome / X server insent for any good beccause all of the configuration is made through the terminal / console.

So how can i unstall the gui / X server again so i dont waste system resources running this gui that are never used??

Regards, Steffen.

What do you want to remove? GNOME/KDE ?

MTK358 01-23-2010 08:29 AM

As I understood he wants to remove X Window System and all GUI programs, including GNOME.

~sHyLoCk~ 01-23-2010 08:41 AM

Cleanest solution would be to use netinst. That way you will have a minimal system I'm guessing?

cola 01-23-2010 08:44 AM

Does this help?
Code:

su
password
yum remove xorg-x11
yum remove gnome-desktop

Welcome and mark the thread as "[SOLVED]".It's under the "Thread Tools" above.

sfrederiksen 01-23-2010 01:56 PM

that worked.. Thanks

Quote:

Originally Posted by cola (Post 3837669)
Does this help?
Code:

su
password
yum remove xorg-x11
yum remove gnome-desktop



slightlystoopid 01-23-2010 08:22 PM

Quote:

Originally Posted by cola (Post 3837669)
Does this help?
Code:

su
password
yum remove xorg-x11
yum remove gnome-desktop


hm, I've never used a rh-based distro, but this leads me to believe "yum remove" automatically purges all config files?

unSpawn 01-24-2010 03:25 AM

After you're done removing any DE's and Xorg, check out /usr/share/doc/rpm-.*/GROUPS as it lists the groups you can query the RPMDB by. This means that by running 'rpm -qg 'User Interface/Desktops'; rpm -qg 'User Interface/X'; rpm -qg 'User Interface/X Hardware Support';' you can easily check if there is any Xorg residue. Likewise 'yum grouplist' will list groups Yum recognizes, meaning 'yum groupremove 'X Window System';' does the same.

cola 01-24-2010 04:52 AM

Quote:

Originally Posted by sfrederiksen (Post 3837894)
that worked.. Thanks

Welcome and mark the thread as "[SOLVED]".It's under the "Thread Tools" option above.


All times are GMT -5. The time now is 12:53 PM.