You should go into the non-graphical interface (ctrl+alt+F1). Log in as root, then type 'hostname'. Then you see your hostname. You should change it into localhost (or, if it wouldn't work, try localhost.localdomain). Do this with the command: hostname localhost (or hostname localhost.localdomain). Then press ctrl+alt+F7 to go back to the graphical interface. Try to log in now.
I hope this works, I once had a similar problem and this is the way I fixed it. When you're back in KDE, you should check in the network configuration screen if the hostname stays on localhost, otherwise you will have to do this every time Linux boots.
|