FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > CentOS > CentOS

 
 
LinkBack Thread Tools
 
Old 05-12-2010, 02:20 PM
Chaitanya Yanamadala
 
Default 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
RegardsChaitanya


_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
 
Old 05-12-2010, 02:31 PM
"Brunner, Brian T."
 
Default your session only lasted less than 10 seconds error

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@centos.org
[mailto:centos-bounces@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
RegardsChaitanya



************************************************** *****************
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@centos.org
http://lists.centos.org/mailman/listinfo/centos
 
Old 05-12-2010, 02:49 PM
Chaitanya Yanamadala
 
Default your session only lasted less than 10 seconds error

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@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@centos.org
[mailto:centos-bounces@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
RegardsChaitanya



************************************************** *****************
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@centos.org

http://lists.centos.org/mailman/listinfo/centos




_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
 

Thread Tools




All times are GMT. The time now is 01:34 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org