Remove GUI CentOS Linux OS

Posted on

Several processes burdened one of host which has CentOS Linux operating system installed. In order to lose the burden, it is decided to erase and permanently uninstall every GUI stuff available and running in the host.

Below is several steps used to uninstall the GUI on the host :

1. Login to your server or host in a CLI (Command Line Interface) mode. It can be shown below :

-bash-4.1#

The above bash prompt can be viewed in different form depends on your environment.

2. After getting a bash prompt, execute the following command to complete erase the GUI stuff. According to several sites, I can accomplish it by executing the following command in bash prompt :

yum groupremove "X Windows System"

Below is the execution output of the above command :

-bash-4.1#yum groupremove "X Windows System"
Loaded plugins: fastestmirror, refresh-packagekit, security
Setting up Group Process
Determining fastest mirrors
Could not retrieve mirrorlist http://mirrorlist.centos.org/?release=6&arch=x86_64&repo=os error was
14: PYCURL ERROR 22 - "The requested URL returned error: 403"
* base: xxxxxx.xxxxxxx.xxxxx.xxxx.xx.xx
* extras: xxxxx.xxxxxxxx.xxx
* updates: xxxxx.xxxxxxxx.xxx
Zend | 951 B 00:00
Zend_noarch | 951 B 00:00
http://xxxx.xxxx.xxx.xx.xx/centos/6.7/os/x86_64/repodata/repomd.xml: [Errno 12] Timeout on http://xxxx.xxxx.xxx.xx.xx/centos/6.7/os/x86_64/repodata/repomd.xml: (28, 'Operation too slow. Less than 1 bytes/sec transfered the last 30 seconds')
Trying other mirror.
http://xxxxx.xxxx.xxx.xx/6.7/os/x86_64/repodata/repomd.xml: [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 404"
Trying other mirror.
http://xxxxx.xxxxxx.xxx/main/6.7/os/x86_64/repodata/repomd.xml: [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 404"
Trying other mirror.
base | 3.7 kB 00:00
extras | 3.4 kB 00:00
extras/primary_db | 37 kB 00:00
updates | 3.4 kB 00:00
updates/primary_db | 2.0 MB 00:00
base/group_gz | 219 kB 00:00
No group named X Windows System exists
No packages to remove from groups
-bash-4.1#

3. Well, in my case apparently it is not working at all. So, I am trying another alternative command as follows :

yum groupremove "GNOME Desktop Environment"

Below is the output execution of the above command :

-bash-4.1# yum groupremove "GNOME Desktop Environment"
Loaded plugins: fastestmirror, refresh-packagekit, security
Setting up Group Process
Loading mirror speeds from cached hostfile
* base: xxxxx.xxxx.xx.xx
* extras: xxxxxx.xxxxxxxxxx.xx
* updates: xxxxxx.xxxxxxxxxx.xx
No group named GNOME Desktop Environment exists
No packages to remove from groups

4. Well, it seems another dead end. So, I tried another command as follows :

yum groupremove "KDE (K Desktop Environment)"

Below are the output of the above command execution :

-bash-4.1# yum groupremove "KDE (K Desktop Environment)"
Loaded plugins: fastestmirror, refresh-packagekit, security
Setting up Group Process
Loading mirror speeds from cached hostfile
* base: xxxxx.xxxx.xx.xx
* extras: xxxxxx.xxxxxxxxxx.xx
* updates: xxxxxx.xxxxxxxxxx.xx
No group named KDE (K Desktop Environment) exists
No packages to remove from groups
  1. So, I tried combining the command as follows :
-bash-4.1# yum groupremove "X Window System" "KDE (K Desktop Environment)"
Loaded plugins: fastestmirror, refresh-packagekit, security
Setting up Group Process
Loading mirror speeds from cached hostfile
* base: xxxxx.xxxx.xx.xx
* extras: xxxxx.xxxxxxxxxxxx.xxx.xxx
* updates: xxxxx.xxxxxxxxxxxxx.xxx.xxx
No group named KDE (K Desktop Environment) exists
Resolving Dependencies
--> Running transaction check
---> Package firstboot.x86_64 0:1.110.13-1.el6 will be erased
--> Processing Dependency: firstboot for package: system-config-keyboard-1.3.1-4.el6.x86_64
---> Package glx-utils.x86_64 0:7.11-5.el6 will be erased
--> Processing Dependency: glx-utils for package: compiz-0.8.2-24.el6.x86_64
---> Package hal.x86_64 0:0.5.14-11.el6 will be erased
--> Processing Dependency: hal for package: pm-utils-1.2.5-9.el6.x86_64
--> Processing Dependency: hal >= 0.5.9 for package: 1:gdm-2.30.4-33.el6_3.2.x86_64
--> Processing Dependency: hal for package: libgpod-0.7.2-6.el6.x86_64
--> Processing Dependency: hal for package: libmtp-1.0.1-2.el6.x86_64
--> Processing Dependency: hal for package: system-setup-keyboard-0.7-4.el6.x86_64
--> Processing Dependency: hal for package: xorg-x11-drv-wacom-0.13.0-6.el6.x86_64
--> Processing Dependency: hal >= 0.5.8 for package: gnome-power-manager-2.28.3-6.el6_2.x86_64
--> Processing Dependency: hal >= 0.5.10 for package: hal-info-20090716-3.1.el6.noarch
---> Package xorg-x11-server-Xorg.x86_64 0:1.10.6-1.el6.centos will be erased
--> Processing Dependency: Xorg for package: xorg-x11-drv-void-1.4.0-1.el6.x86_64
--> Processing Dependency: Xorg for package: xorg-x11-drv-vesa-2.3.0-2.el6.x86_64
--> Processing Dependency: Xorg for package: xorg-x11-drv-evdev-2.6.0-2.el6.x86_64
--> Processing Dependency: xserver-abi(ansic-0) >= 4 for package: xorg-x11-drv-void-1.4.0-1.el6.x86_64
--> Processing Dependency: xserver-abi(ansic-0) >= 4 for package: xorg-x11-drv-vesa-2.3.0-2.el6.x86_64
--> Processing Dependency: xserver-abi(ansic-0) >= 4 for package: xorg-x11-drv-evdev-2.6.0-2.el6.x86_64
--> Processing Dependency: xserver-abi(videodrv-10) >= 0 for package: xorg-x11-drv-vesa-2.3.0-2.el6.x86_64
--> Processing Dependency: xserver-abi(xinput-12) >= 2 for package: xorg-x11-drv-void-1.4.0-1.el6.x86_64
--> Processing Dependency: xserver-abi(xinput-12) >= 2 for package: xorg-x11-drv-evdev-2.6.0-2.el6.x86_64
---> Package xorg-x11-server-utils.x86_64 0:7.5-5.2.el6 will be erased
---> Package xorg-x11-xauth.x86_64 1:1.0.2-7.1.el6 will be erased
---> Package xorg-x11-xinit.x86_64 0:1.0.9-13.el6 will be erased
--> Running transaction check
---> Package compiz.x86_64 0:0.8.2-24.el6 will be erased
--> Processing Dependency: libdecoration.so.0()(64bit) for package: compiz-gnome-0.8.2-24.el6.x86_64
--> Processing Dependency: compiz = 0.8.2 for package: compiz-gnome-0.8.2-24.el6.x86_64
---> Package gdm.x86_64 1:2.30.4-33.el6_3.2 will be erased
--> Processing Dependency: gdm for package: pulseaudio-gdm-hooks-0.9.21-14.el6_3.x86_64
--> Processing Dependency: gdm >= 1:2.22.0 for package: pulseaudio-gdm-hooks-0.9.21-14.el6_3.x86_64
--> Processing Dependency: gdm >= 2.21.9-0 for package: 1:gdm-user-switch-applet-2.30.4-33.el6_3.2.x86_64
--> Processing Dependency: gdm = 1:2.30.4-33.el6_3.2 for package: 1:gdm-plugin-fingerprint-2.30.4-33.el6_3.2.x86_64
--> Processing Dependency: gdm >= 1:2.22.0 for package: plymouth-gdm-hooks-0.8.3-24.el6.centos.x86_64
---> Package gnome-power-manager.x86_64 0:2.28.3-6.el6_2 will be erased
---> Package hal-info.noarch 0:20090716-3.1.el6 will be erased
---> Package libgpod.x86_64 0:0.7.2-6.el6 will be erased
--> Processing Dependency: libgpod.so.4()(64bit) for package: rhythmbox-0.12.8-1.el6.x86_64
---> Package libmtp.x86_64 0:1.0.1-2.el6 will be erased
---> Package pm-utils.x86_64 0:1.2.5-9.el6 will be erased
--> Processing Dependency: pm-utils >= 1.2.2.1 for package: DeviceKit-power-014-3.el6.x86_64
---> Package system-config-keyboard.x86_64 0:1.3.1-4.el6 will be erased
---> Package system-setup-keyboard.x86_64 0:0.7-4.el6 will be erased
---> Package xorg-x11-drv-evdev.x86_64 0:2.6.0-2.el6 will be erased
---> Package xorg-x11-drv-vesa.x86_64 0:2.3.0-2.el6 will be erased
---> Package xorg-x11-drv-void.x86_64 0:1.4.0-1.el6 will be erased
---> Package xorg-x11-drv-wacom.x86_64 0:0.13.0-6.el6 will be erased
--> Processing Dependency: xorg-x11-drv-wacom >= 0.12.99 for package: gnome-settings-daemon-2.28.2-20.el6_3.x86_64
--> Processing Dependency: xorg-x11-drv-wacom >= 0.12.99 for package: 1:control-center-2.28.1-37.el6.x86_64
--> Running transaction check
---> Package DeviceKit-power.x86_64 0:014-3.el6 will be erased
--> Processing Dependency: libdevkit-power-gobject.so.1()(64bit) for package: gnome-session-2.28.0-18.el6.x86_64
--> Processing Dependency: libdevkit-power-gobject.so.1()(64bit) for package: gnome-packagekit-2.28.3-4.el6_3.x86_64
--> Processing Dependency: DeviceKit-power >= 007 for package: gnome-packagekit-2.28.3-4.el6_3.x86_64
---> Package compiz-gnome.x86_64 0:0.8.2-24.el6 will be erased
---> Package control-center.x86_64 1:2.28.1-37.el6 will be erased
--> Processing Dependency: libgnome-window-settings.so.1()(64bit) for package: 1:control-center-extra-2.28.1-37.el6.x86_64
--> Processing Dependency: control-center = 1:2.28.1-37.el6 for package: 1:control-center-extra-2.28.1-37.el6.x86_64
--> Processing Dependency: control-center >= 2.16.0-5 for package: orca-2.28.2-1.el6.x86_64
---> Package gdm-plugin-fingerprint.x86_64 1:2.30.4-33.el6_3.2 will be erased
---> Package gdm-user-switch-applet.x86_64 1:2.30.4-33.el6_3.2 will be erased
---> Package gnome-settings-daemon.x86_64 0:2.28.2-20.el6_3 will be erased
---> Package plymouth-gdm-hooks.x86_64 0:0.8.3-24.el6.centos will be erased
---> Package pulseaudio-gdm-hooks.x86_64 0:0.9.21-14.el6_3 will be erased
---> Package rhythmbox.x86_64 0:0.12.8-1.el6 will be erased
--> Running transaction check
---> Package control-center-extra.x86_64 1:2.28.1-37.el6 will be erased
---> Package gnome-packagekit.x86_64 0:2.28.3-4.el6_3 will be erased
---> Package gnome-session.x86_64 0:2.28.0-18.el6 will be erased
--> Processing Dependency: gnome-session = 2.28.0-18.el6 for package: gnome-session-xsession-2.28.0-18.el6.x86_64
--> Processing Dependency: gnome-session for package: desktop-effects-0.8.4-7.el6.x86_64
---> Package orca.x86_64 0:2.28.2-1.el6 will be erased
--> Running transaction check
---> Package desktop-effects.x86_64 0:0.8.4-7.el6 will be erased
---> Package gnome-session-xsession.x86_64 0:2.28.0-18.el6 will be erased
--> Processing Dependency: gnome-session-xsession for package: gnome-panel-2.30.2-14.el6.x86_64
--> Running transaction check
---> Package gnome-panel.x86_64 0:2.30.2-14.el6 will be erased
--> Processing Dependency: gnome-panel >= 2.20.1-5 for package: 1:gnome-applets-2.28.0-7.el6.centos.x86_64
--> Running transaction check
---> Package gnome-applets.x86_64 1:2.28.0-7.el6.centos will be erased
--> Processing Dependency: /etc/X11/xinit/xinitrc.d for package: xdg-user-dirs-0.12-4.el6.x86_64
--> Restarting Dependency Resolution with new changes.
--> Running transaction check
---> Package xdg-user-dirs.x86_64 0:0.12-4.el6 will be erased
--> Processing Dependency: xdg-user-dirs for package: xdg-user-dirs-gtk-0.8-7.el6.x86_64
--> Running transaction check
---> Package xdg-user-dirs-gtk.x86_64 0:0.8-7.el6 will be erased
--> Finished Dependency Resolution
Dependencies Resolved

========================================================================================================================================================
Package Arch Version Repository Size
========================================================================================================================================================
Removing:
firstboot x86_64 1.110.13-1.el6 @anaconda-CentOS-201207061011.x86_64/6.3 649 k
glx-utils x86_64 7.11-5.el6 @anaconda-CentOS-201207061011.x86_64/6.3 50 k
hal x86_64 0.5.14-11.el6 @anaconda-CentOS-201207061011.x86_64/6.3 1.2 M
xorg-x11-server-Xorg x86_64 1.10.6-1.el6.centos @anaconda-CentOS-201207061011.x86_64/6.3 3.7 M
xorg-x11-server-utils x86_64 7.5-5.2.el6 @anaconda-CentOS-201207061011.x86_64/6.3 296 k
xorg-x11-xauth x86_64 1:1.0.2-7.1.el6 @anaconda-CentOS-201207061011.x86_64/6.3 62 k
xorg-x11-xinit x86_64 1.0.9-13.el6 @anaconda-CentOS-201207061011.x86_64/6.3 71 k
Removing for dependencies:
DeviceKit-power x86_64 014-3.el6 @anaconda-CentOS-201207061011.x86_64/6.3 241 k
compiz x86_64 0.8.2-24.el6 @anaconda-CentOS-201207061011.x86_64/6.3 4.3 M
compiz-gnome x86_64 0.8.2-24.el6 @anaconda-CentOS-201207061011.x86_64/6.3 2.1 M
control-center x86_64 1:2.28.1-37.el6 @anaconda-CentOS-201207061011.x86_64/6.3 14 M
control-center-extra x86_64 1:2.28.1-37.el6 @anaconda-CentOS-201207061011.x86_64/6.3 166 k
desktop-effects x86_64 0.8.4-7.el6 @anaconda-CentOS-201207061011.x86_64/6.3 232 k
gdm x86_64 1:2.30.4-33.el6_3.2 @updates 4.6 M
gdm-plugin-fingerprint x86_64 1:2.30.4-33.el6_3.2 @updates 79 k
gdm-user-switch-applet x86_64 1:2.30.4-33.el6_3.2 @updates 120 k
gnome-applets x86_64 1:2.28.0-7.el6.centos @anaconda-CentOS-201207061011.x86_64/6.3 15 M
gnome-packagekit x86_64 2.28.3-4.el6_3 @updates 7.9 M
gnome-panel x86_64 2.30.2-14.el6 @anaconda-CentOS-201207061011.x86_64/6.3 10 M
gnome-power-manager x86_64 2.28.3-6.el6_2 @updates 7.3 M
gnome-session x86_64 2.28.0-18.el6 @anaconda-CentOS-201207061011.x86_64/6.3 1.8 M
gnome-session-xsession x86_64 2.28.0-18.el6 @anaconda-CentOS-201207061011.x86_64/6.3 5.9 k
gnome-settings-daemon x86_64 2.28.2-20.el6_3 @updates 2.7 M
hal-info noarch 20090716-3.1.el6 @anaconda-CentOS-201207061011.x86_64/6.3 310 k
libgpod x86_64 0.7.2-6.el6 @anaconda-CentOS-201207061011.x86_64/6.3 714 k
libmtp x86_64 1.0.1-2.el6 @anaconda-CentOS-201207061011.x86_64/6.3 695 k
orca x86_64 2.28.2-1.el6 @anaconda-CentOS-201207061011.x86_64/6.3 8.7 M
plymouth-gdm-hooks x86_64 0.8.3-24.el6.centos @anaconda-CentOS-201207061011.x86_64/6.3 171
pm-utils x86_64 1.2.5-9.el6 @anaconda-CentOS-201207061011.x86_64/6.3 254 k
pulseaudio-gdm-hooks x86_64 0.9.21-14.el6_3 @updates 385
rhythmbox x86_64 0.12.8-1.el6 @anaconda-CentOS-201207061011.x86_64/6.3 12 M
system-config-keyboard x86_64 1.3.1-4.el6 @anaconda-CentOS-201207061011.x86_64/6.3 46 k
system-setup-keyboard x86_64 0.7-4.el6 @anaconda-CentOS-201207061011.x86_64/6.3 14 k
xdg-user-dirs x86_64 0.12-4.el6 @anaconda-CentOS-201207061011.x86_64/6.3 146 k
xdg-user-dirs-gtk x86_64 0.8-7.el6 @anaconda-CentOS-201207061011.x86_64/6.3 134 k
xorg-x11-drv-evdev x86_64 2.6.0-2.el6 @anaconda-CentOS-201207061011.x86_64/6.3 45 k
xorg-x11-drv-vesa x86_64 2.3.0-2.el6 @anaconda-CentOS-201207061011.x86_64/6.3 26 k
xorg-x11-drv-void x86_64 1.4.0-1.el6 @anaconda-CentOS-201207061011.x86_64/6.3 11 k
xorg-x11-drv-wacom x86_64 0.13.0-6.el6 @anaconda-CentOS-201207061011.x86_64/6.3 724 k

Transaction Summary
========================================================================================================================================================
Remove 39 Package(s)

Installed size: 100 M

Is this ok [y/N]: y

Downloading Packages:
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
Erasing : compiz-gnome-0.8.2-24.el6.x86_64 1/39
Erasing : gnome-power-manager-2.28.3-6.el6_2.x86_64 2/39
Erasing : rhythmbox-0.12.8-1.el6.x86_64 3/39
Erasing : system-config-keyboard-1.3.1-4.el6.x86_64 4/39
Erasing : firstboot-1.110.13-1.el6.x86_64 5/39
Erasing : orca-2.28.2-1.el6.x86_64 6/39
Erasing : libgpod-0.7.2-6.el6.x86_64 7/39
Erasing : libmtp-1.0.1-2.el6.x86_64 8/39
Erasing : compiz-0.8.2-24.el6.x86_64 9/39
Erasing : desktop-effects-0.8.4-7.el6.x86_64 10/39
Erasing : 1:gdm-plugin-fingerprint-2.30.4-33.el6_3.2.x86_64 11/39
Erasing : xdg-user-dirs-gtk-0.8-7.el6.x86_64 12/39
Erasing : xdg-user-dirs-0.12-4.el6.x86_64 13/39
Erasing : 1:control-center-extra-2.28.1-37.el6.x86_64 14/39
Erasing : 1:gnome-applets-2.28.0-7.el6.centos.x86_64 15/39
Erasing : gnome-panel-2.30.2-14.el6.x86_64 16/39
Erasing : gnome-session-xsession-2.28.0-18.el6.x86_64 17/39
Erasing : 1:gdm-user-switch-applet-2.30.4-33.el6_3.2.x86_64 18/39
Erasing : plymouth-gdm-hooks-0.8.3-24.el6.centos.x86_64 19/39
Erasing : pulseaudio-gdm-hooks-0.9.21-14.el6_3.x86_64 20/39
Erasing : 1:gdm-2.30.4-33.el6_3.2.x86_64 21/39
Erasing : gnome-session-2.28.0-18.el6.x86_64 22/39
Erasing : 1:control-center-2.28.1-37.el6.x86_64 23/39
Erasing : xorg-x11-xinit-1.0.9-13.el6.x86_64 24/39
Erasing : gnome-settings-daemon-2.28.2-20.el6_3.x86_64 25/39
Erasing : xorg-x11-drv-wacom-0.13.0-6.el6.x86_64 26/39
Erasing : xorg-x11-drv-evdev-2.6.0-2.el6.x86_64 27/39
Erasing : xorg-x11-drv-vesa-2.3.0-2.el6.x86_64 28/39
Erasing : xorg-x11-drv-void-1.4.0-1.el6.x86_64 29/39
Erasing : xorg-x11-server-Xorg-1.10.6-1.el6.centos.x86_64 30/39
Erasing : system-setup-keyboard-0.7-4.el6.x86_64 31/39
Erasing : gnome-packagekit-2.28.3-4.el6_3.x86_64 32/39
Erasing : DeviceKit-power-014-3.el6.x86_64 33/39
Erasing : hal-info-20090716-3.1.el6.noarch 34/39
Erasing : pm-utils-1.2.5-9.el6.x86_64 35/39
Erasing : hal-0.5.14-11.el6.x86_64 36/39
Erasing : 1:xorg-x11-xauth-1.0.2-7.1.el6.x86_64 37/39
Erasing : xorg-x11-server-utils-7.5-5.2.el6.x86_64 38/39
Erasing : glx-utils-7.11-5.el6.x86_64 39/39
Verifying : xorg-x11-server-Xorg-1.10.6-1.el6.centos.x86_64 1/39
Verifying : gnome-packagekit-2.28.3-4.el6_3.x86_64 2/39
Verifying : gnome-power-manager-2.28.3-6.el6_2.x86_64 3/39
Verifying : rhythmbox-0.12.8-1.el6.x86_64 4/39
Verifying : libmtp-1.0.1-2.el6.x86_64 5/39
Verifying : 1:gdm-2.30.4-33.el6_3.2.x86_64 6/39
Verifying : gnome-session-2.28.0-18.el6.x86_64 7/39
Verifying : firstboot-1.110.13-1.el6.x86_64 8/39
Verifying : xorg-x11-drv-wacom-0.13.0-6.el6.x86_64 9/39
Verifying : xorg-x11-drv-evdev-2.6.0-2.el6.x86_64 10/39
Verifying : DeviceKit-power-014-3.el6.x86_64 11/39
Verifying : compiz-0.8.2-24.el6.x86_64 12/39
Verifying : desktop-effects-0.8.4-7.el6.x86_64 13/39
Verifying : xorg-x11-drv-vesa-2.3.0-2.el6.x86_64 14/39
Verifying : 1:control-center-2.28.1-37.el6.x86_64 15/39
Verifying : 1:gdm-user-switch-applet-2.30.4-33.el6_3.2.x86_64 16/39
Verifying : xorg-x11-drv-void-1.4.0-1.el6.x86_64 17/39
Verifying : plymouth-gdm-hooks-0.8.3-24.el6.centos.x86_64 18/39
Verifying : hal-info-20090716-3.1.el6.noarch 19/39
Verifying : gnome-panel-2.30.2-14.el6.x86_64 20/39
Verifying : xorg-x11-server-utils-7.5-5.2.el6.x86_64 21/39
Verifying : xdg-user-dirs-0.12-4.el6.x86_64 22/39
Verifying : hal-0.5.14-11.el6.x86_64 23/39
Verifying : pulseaudio-gdm-hooks-0.9.21-14.el6_3.x86_64 24/39
Verifying : 1:gnome-applets-2.28.0-7.el6.centos.x86_64 25/39
Verifying : 1:control-center-extra-2.28.1-37.el6.x86_64 26/39
Verifying : system-config-keyboard-1.3.1-4.el6.x86_64 27/39
Verifying : xdg-user-dirs-gtk-0.8-7.el6.x86_64 28/39
Verifying : gnome-session-xsession-2.28.0-18.el6.x86_64 29/39
Verifying : gnome-settings-daemon-2.28.2-20.el6_3.x86_64 30/39
Verifying : orca-2.28.2-1.el6.x86_64 31/39
Verifying : compiz-gnome-0.8.2-24.el6.x86_64 32/39
Verifying : libgpod-0.7.2-6.el6.x86_64 33/39
Verifying : pm-utils-1.2.5-9.el6.x86_64 34/39
Verifying : system-setup-keyboard-0.7-4.el6.x86_64 35/39
Verifying : xorg-x11-xinit-1.0.9-13.el6.x86_64 36/39
Verifying : 1:xorg-x11-xauth-1.0.2-7.1.el6.x86_64 37/39
Verifying : glx-utils-7.11-5.el6.x86_64 38/39
Verifying : 1:gdm-plugin-fingerprint-2.30.4-33.el6_3.2.x86_64 39/39

Removed:
firstboot.x86_64 0:1.110.13-1.el6 glx-utils.x86_64 0:7.11-5.el6 hal.x86_64 0:0.5.14-11.el6
xorg-x11-server-Xorg.x86_64 0:1.10.6-1.el6.centos xorg-x11-server-utils.x86_64 0:7.5-5.2.el6 xorg-x11-xauth.x86_64 1:1.0.2-7.1.el6
xorg-x11-xinit.x86_64 0:1.0.9-13.el6

Dependency Removed:
DeviceKit-power.x86_64 0:014-3.el6 compiz.x86_64 0:0.8.2-24.el6 compiz-gnome.x86_64 0:0.8.2-24.el6
control-center.x86_64 1:2.28.1-37.el6 control-center-extra.x86_64 1:2.28.1-37.el6 desktop-effects.x86_64 0:0.8.4-7.el6
gdm.x86_64 1:2.30.4-33.el6_3.2 gdm-plugin-fingerprint.x86_64 1:2.30.4-33.el6_3.2 gdm-user-switch-applet.x86_64 1:2.30.4-33.el6_3.2
gnome-applets.x86_64 1:2.28.0-7.el6.centos gnome-packagekit.x86_64 0:2.28.3-4.el6_3 gnome-panel.x86_64 0:2.30.2-14.el6
gnome-power-manager.x86_64 0:2.28.3-6.el6_2 gnome-session.x86_64 0:2.28.0-18.el6 gnome-session-xsession.x86_64 0:2.28.0-18.el6
gnome-settings-daemon.x86_64 0:2.28.2-20.el6_3 hal-info.noarch 0:20090716-3.1.el6 libgpod.x86_64 0:0.7.2-6.el6
libmtp.x86_64 0:1.0.1-2.el6 orca.x86_64 0:2.28.2-1.el6 plymouth-gdm-hooks.x86_64 0:0.8.3-24.el6.centos
pm-utils.x86_64 0:1.2.5-9.el6 pulseaudio-gdm-hooks.x86_64 0:0.9.21-14.el6_3 rhythmbox.x86_64 0:0.12.8-1.el6
system-config-keyboard.x86_64 0:1.3.1-4.el6 system-setup-keyboard.x86_64 0:0.7-4.el6 xdg-user-dirs.x86_64 0:0.12-4.el6
xdg-user-dirs-gtk.x86_64 0:0.8-7.el6 xorg-x11-drv-evdev.x86_64 0:2.6.0-2.el6 xorg-x11-drv-vesa.x86_64 0:2.3.0-2.el6
xorg-x11-drv-void.x86_64 0:1.4.0-1.el6 xorg-x11-drv-wacom.x86_64 0:0.13.0-6.el6

Complete!
-bash-4.1#

Voila… at last the combined command worked !

6. Edit file which is defined the default runlevel of the operating system. The file exists in /etc/inittab. Below is the content which is needed to be edited. Edit it with your preferred editor. In this case, I am using vim editor as shown below :

-bash-4.1# vim /etc/inittab

This is the content of the file especially with the runlevel of multi-user GUI mode :

id:5:initdefault:

The number ‘5’ indicate multi-user GUI mode for the operating system runlevel. Change it into the following content :

id:3:initdefault:

The number ‘3’ indicate multi-user text-mode for the operating system runlevel.

  1. To make the change permanently, restart your host or server. Type the following alternative command :
reboot
shutdown -r now

One thought on “Remove GUI CentOS Linux OS

Leave a Reply