Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have installed Fedora13, i have removed X Window System by "Yum remove 'x window system'"

Have edited /etc/inittab to boot to init3 (command line)

Now, whenever I do a yum update, it checks for all the x-window system related packages, is there a way I can disable YUM to look for any packages related to gui (x window).

Will be grateful for your input / help Kind Regards

share|improve this question
Did you use the grouplist/groupremove commands to remove all x windows system? – Imo Sep 24 '10 at 10:50
sudo yum groupremove "X Window System" I used the above command to remove it. – rihatum Sep 24 '10 at 10:52
up vote 0 down vote accepted

You'll struggle to remove every vestige of the X Window system.

For example, graphics packages tend to support X pixmaps, so you end up with libXpm, libX11 and various other X11 libraries.

On my headless machines that means I still have X, for stuff like ImageMagick, gtk2, ghostscript, cairo, etc.

share|improve this answer
So basically that's not worth doing it then - rather using a server based distro ? like centos or ubuntu server ? isnt' there a fedora server version ? – rihatum Sep 24 '10 at 12:01
Fedora server version could be classified as CentOS. Fedora was spawned from Redhat leaving the desktop arena, Redhat now do Redhat Enterprise Linux (RHEL) for servers and CentOS is the spin off from RHEL. – Imo Sep 24 '10 at 12:05
So, Fedora being a desktop distro it is not going to be easy to remove the desktop element. :) As you say, use a server distro. – Imo Sep 24 '10 at 12:06

sudo yum remove xorg-x11 try this it work!

share|improve this answer
Have already removed it, what I am after is as follows : When after removal, you do a "yum update" it shouldn't check for x-window related packages, like when I do a yum update now, it shows me a 315MB download - basically downloading all again - which I want to avoid. any suggestions ? Thanks for your input ! – rihatum Sep 24 '10 at 11:06

Yes, use the exclude-package option when running yum (or inside the conf file). Although you probably have some other packages installed that has a dependency on some of the X Window files.

share|improve this answer

Fedora uses basically the same package set, with the same deps., as RHEL-5 or RHEL-6. So you can get a server like install going with 200 packages or so, however just removing the "X Window System" group won't get you very far. What I tend to do (if I don't just kickstart install with @core and yum) is to go straight for a core dependency, with something like:

yum remove libX11

...and then see what is left, and work from there.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.