you must have chosen text mode as your default run level ?!?!
login as root
go to the line
The 5 indicates gui multiuser mode. You will have 2 or 3 written there, change that to 5. so the line should read as above after modification.
Save and quit the file from vi.
Now restart your machine it will give you a graphical login.
let me know if it works !