<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.6000.17023" name=GENERATOR></HEAD>
<BODY>
<DIV dir=ltr align=left><SPAN class=825312814-12052010><FONT face=Arial
color=#0000ff size=2>Suggest:</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=825312814-12052010><FONT face=Arial
color=#0000ff size=2>Boot with an install CD/DVD in rescue
mode.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=825312814-12052010><FONT face=Arial
color=#0000ff size=2>Mount your file system (this should happen
automagically)</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=825312814-12052010><FONT face=Arial
color=#0000ff size=2>edit /mnt/sysimage/etc/inittab</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=825312814-12052010><FONT face=Arial
color=#0000ff size=2>Set your default runlevel to 3 (currently it is set
to 5)</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=825312814-12052010><FONT face=Arial
color=#0000ff size=2>quit the rescue, and reboot your hard
drive.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=825312814-12052010><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=825312814-12052010><FONT face=Arial
color=#0000ff size=2>Now you will have the shell available to debug what goes
wrong when you command 'startx' </FONT></SPAN></DIV><BR>
<BLOCKQUOTE
style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #0000ff 2px solid; MARGIN-RIGHT: 0px">
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> centos-bounces@centos.org
[mailto:centos-bounces@centos.org] <B>On Behalf Of </B>Chaitanya
Yanamadala<BR><B>Sent:</B> Wednesday, May 12, 2010 10:21 AM<BR><B>To:</B>
CentOS mailing list<BR><B>Subject:</B> [CentOS] your session only lasted less
than 10 seconds error<BR></FONT><BR></DIV>
<DIV></DIV>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.<BR>can any one help me with this..<BR>this the error
message i am getting after i tried to login<BR><BR
style="BACKGROUND-COLOR: rgb(255,255,102)"><SPAN
style="BACKGROUND-COLOR: rgb(255,255,102)">" 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"</SPAN><BR
style="BACKGROUND-COLOR: rgb(255,255,102)"><SPAN
style="BACKGROUND-COLOR: rgb(255,255,102)">and it published details</SPAN><BR
style="BACKGROUND-COLOR: rgb(255,255,102)"><SPAN
style="BACKGROUND-COLOR: rgb(255,255,102)">(.xsession-errors file)</SPAN><BR
style="BACKGROUND-COLOR: rgb(255,255,102)"><SPAN
style="BACKGROUND-COLOR: rgb(255,255,102)">/etc/gdm/PreSession/Default:
Registering your session with utmp</SPAN><BR
style="BACKGROUND-COLOR: rgb(255,255,102)"><SPAN
style="BACKGROUND-COLOR: rgb(255,255,102)">/etc/gdm/PreSession/Default:
running: /usr/bin/sessreg -a -u /var/run/utmp -x "/var/gdm/ :0.Xservers" -h "
" -l ":0" "chaitu"</SPAN><BR style="BACKGROUND-COLOR: rgb(255,255,102)"><SPAN
style="BACKGROUND-COLOR: rgb(255,255,102)">session_child_run: Could not exec
/etc/X11/xinit/Xsession default</SPAN><BR
style="BACKGROUND-COLOR: rgb(255,255,102)"><BR>Regards<BR
clear=all>Chaitanya<BR><BR></BLOCKQUOTE></BODY></HTML>
<pre>*******************************************************************
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom
they are addressed. If you have received this email in error please
notify the system manager. This footnote also confirms that this
email message has been swept for the presence of computer viruses.
www.Hubbell.com - Hubbell Incorporated**