Fedora Linux Support Community & Resources Center
  #1  
Old 9th November 2007, 10:10 PM
jmaguire123 Offline
Registered User
 
Join Date: Nov 2007
Posts: 6
How to Remove Gui from server?

Many years ago I installed Fedora on a server that is now in a datacenter--the server now remains in runlevel 3.

With each new release I have been upgrading, but I no longer have any use for the gui X11/gnome and see downloading and maintaining all those packages as a waste.

Is there any "safe" way to remove the gui?

What would happen if I did something like "yum remove [some important X11 package here]"?

Thanks,

-John
Reply With Quote
  #2  
Old 9th November 2007, 10:26 PM
twn250 Offline
Registered User
 
Join Date: Oct 2004
Location: Sweden
Age: 40
Posts: 179
Please have in mind that I'm not an expert on this topic, but I would try:
su -
yum remove gnome-desktop

Check out the list, so there is not something that you need, before you hit y.

Hope this helped!
Reply With Quote
  #3  
Old 10th November 2007, 03:56 AM
jmaguire123 Offline
Registered User
 
Join Date: Nov 2007
Posts: 6
Thanks for your advice, "yum remove gnome-desktop" only removes 14 packages.


Removing:
gnome-desktop i386 2.18.3-1.fc7 installed 2.2 M
Removing for dependencies:
NetworkManager-gnome i386 1:0.6.5-7.fc7 installed 420 k
bug-buddy i386 1:2.18.0-2.fc7 installed 1.7 M
control-center i386 1:2.18.0-20.fc7 installed 8.5 M
eel2 i386 2.18.3-1.fc7 installed 1.1 M
fast-user-switch-applet i386 2.17.4-5.fc7 installed 1.7 M
gnome-desktop-devel i386 2.18.3-1.fc7 installed 184 k
gnome-netstatus i386 2.12.1-1.fc7 installed 1.2 M
gnome-panel i386 2.18.3-1.fc7 installed 11 M
gnome-panel-devel i386 2.18.3-1.fc7 installed 172 k
gnome-pilot i386 2.0.15-5.fc7 installed 1.9 M
gnome-pilot-devel i386 2.0.15-5.fc7 installed 164 k
libgail-gnome i386 1.18.0-2.fc7 installed 62 k
orca i386 2.18.0-1.fc7 installed 5.2 M

What about an X11 core package? Can anyone provide any clues there?

Thanks agian,

-John
Reply With Quote
  #4  
Old 7th December 2007, 09:25 PM
jmaguire123 Offline
Registered User
 
Join Date: Nov 2007
Posts: 6
Removing Gui (cont) orphaned RPMs

I thought I'd check back and ask again about the best way to remove a GUI from a production system. If anyone has any ideas, please share them.

Additionally, does anyone know any good methods of identifying orphaned RPMs.

Thanks,

-John
Reply With Quote
  #5  
Old 7th December 2007, 09:31 PM
FriedChips Offline
Registered User
 
Join Date: Jul 2007
Location: Indiana USA
Posts: 1,715
Code:
yum grouplist
should show a list of package "groups", you should see one called "X Window System" or similar.. If I got the command right the command to remove the WHOLE gui will be:
Code:
yum groupremove "X Window System"
for the next question, install yum utils.
Code:
yum install yum-utils
then the I think command to clean up orphans will be
Code:
package-cleanup --orphans
__________________
The answer to all of lifes questions are buried somewhere in the Google search engine.

Code:
[Stephen@localhost ~]$ whatis this?
this?: nothing appropriate
Reply With Quote
  #6  
Old 7th December 2007, 10:37 PM
jmaguire123 Offline
Registered User
 
Join Date: Nov 2007
Posts: 6
Thanks much, I wish it would have worked. After seeing that, I'm sure thats the best way of doing it on a newer installation. Box was originally Redhat 6.x, so I don't have all of those groups:

Installed Groups:
Engineering and Scientific
MySQL Database
Editors
System Tools
Text-based Internet
Legacy Network Server
Authoring and Publishing
Network Servers
Legacy Software Development
Web Server
Mail Server
Administration Tools
Available Groups:
Office/Productivity
Development Libraries
Window Managers
Fedora Packager
GNOME Software Development
XFCE Software Development
X Software Development
Virtualization
DNS Name Server
GNOME Desktop Environment
FTP Server
Hardware Support
Games and Entertainment
XFCE
Java Development
Web Development
X Window System
Graphics
Windows File Server
Eclipse
Printing Support
KDE Software Development
KDE (K Desktop Environment)
Educational Software
Server Configuration Tools
Sound and Video
PostgreSQL Database
News Server
Development Tools
Graphical Internet
Done


Any other ideas?
Reply With Quote
  #7  
Old 8th December 2007, 04:05 AM
FriedChips Offline
Registered User
 
Join Date: Jul 2007
Location: Indiana USA
Posts: 1,715
Quote:
Originally Posted by jmaguire123
Thanks much, I wish it would have worked. After seeing that, I'm sure thats the best way of doing it on a newer installation. Box was originally Redhat 6.x, so I don't have all of those groups:

Installed Groups:
Engineering and Scientific
MySQL Database
Editors
System Tools
Text-based Internet
Legacy Network Server
Authoring and Publishing
Network Servers
Legacy Software Development
Web Server
Mail Server
Administration Tools
Available Groups:
Office/Productivity
Development Libraries
Window Managers
Fedora Packager
GNOME Software Development
XFCE Software Development
X Software Development
Virtualization
DNS Name Server
GNOME Desktop Environment
FTP Server
Hardware Support
Games and Entertainment
XFCE
Java Development
Web Development
X Window System
Graphics
Windows File Server
Eclipse
Printing Support
KDE Software Development
KDE (K Desktop Environment)
Educational Software
Server Configuration Tools
Sound and Video
PostgreSQL Database
News Server
Development Tools
Graphical Internet
Done


Any other ideas?
You have the group but it shows it as not being installed... Did you run the command I gave you? Make sure you type it exactly as I did.. Do you have a DE available?
__________________
The answer to all of lifes questions are buried somewhere in the Google search engine.

Code:
[Stephen@localhost ~]$ whatis this?
this?: nothing appropriate
Reply With Quote
Reply

Tags
gui, remove, server

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Can't remove evolution-data-server vjx Using Fedora 4 8th March 2008 02:09 AM
How can I remove totally Samba Server ? tousisd Servers & Networking 6 20th February 2008 12:51 PM
Read only mode, server wont boot, need to remove /dev/md1 grifter Using Fedora 0 14th October 2006 08:39 PM
Scripts to Add / remove users to Samba server mahmoudkhn Servers & Networking 0 26th January 2005 06:50 PM


Current GMT-time: 08:43 (Sunday, 23-11-2014)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat
Kayar - Hachinohe - Kharar Photos