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

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

Thank you for your reply Brain

oops i have corrupted the entire system i think .
but one thing i dont understand is y this has happened all of a sudden
i choose to reinstall the cent os again..
i heard that cent os is the stable version with less number of crashes..:(


Chaitanya



On Wed, May 12, 2010 at 8:01 PM, Brunner, Brian T. <BBrunner at gai-tronics.com
> wrote:

>  Suggest:
> Boot with an install CD/DVD in rescue mode.
> Mount your file system (this should happen automagically)
> edit /mnt/sysimage/etc/inittab
> Set your default runlevel to 3 (currently it is set to 5)
> quit the rescue, and reboot your hard drive.
>
> Now you will have the shell available to debug what goes wrong when you
> command 'startx'
>
>  ------------------------------
> *From:* centos-bounces at centos.org [mailto:centos-bounces at centos.org] *On
> Behalf Of *Chaitanya Yanamadala
> *Sent:* Wednesday, May 12, 2010 10:21 AM
> *To:* CentOS mailing list
> *Subject:* [CentOS] your session only lasted less than 10 seconds error
>
> 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
>
> *******************************************************************
> 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**
>
>
>
> _______________________________________________
> CentOS mailing list
> CentOS at centos.org
> http://lists.centos.org/mailman/listinfo/centos
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.centos.org/pipermail/centos/attachments/20100512/bcff6ae4/attachment-0005.html>