1. Delete /etc/X11/XF86Config
2. Log in run level 3
If you are using GRUB as your bootloader, once you are presented with the GRUB boot screen, type e for edit. You are presented with a list of items in the configuration file for the boot label you have selected. Choose the line that starts with kernel and type e to edit this boot entry. At the end of the kernel line, add: a space and the number 3 Press [Enter] to exit edit mode. Once the GRUB screen has returned, type b to boot into runlevel 3, the non-GUI mode.
3. Finally run redhat-config-packages