[CentOS] your session only lasted less than 10 seconds error

Wed May 12 14:20:32 UTC 2010
Chaitanya Yanamadala <dr.virus.india at gmail.com>

hai i have run the halt command from the xshell and the machine got
restarted, now when i restart the machine, i am getting this error . I have
tried to press the CTRL+ALT+F2 and tried to login with the root user but
that one is also not working.
can any one help me with this..
this the error message i am getting after i tried to login

" your session only lasted less than 10 seconds ...try logging in with one
of the failsafe sessions to see if you can fix the problem"
and it published details
(.xsession-errors file)
/etc/gdm/PreSession/Default: Registering your session with utmp
/etc/gdm/PreSession/Default: running: /usr/bin/sessreg -a -u /var/run/utmp
-x "/var/gdm/ :0.Xservers" -h " " -l ":0" "chaitu"
session_child_run: Could not exec /etc/X11/xinit/Xsession default

Regards
Chaitanya
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.centos.org/pipermail/centos/attachments/20100512/20a3a58e/attachment-0004.html>