If you're on Fedora Core 5 I would suggest using pirut and simply deselecting the KDE desktop section. You could also use yum by using the command:
Then you just reinstall with yum or pirut again. Maybe you could be more specific if this doesn't work for you.