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'
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.
From: centos-bounces@xxxxxxxxxx [mailto:centos-bounces@xxxxxxxxxx] On Behalf Of Chaitanya Yanamadala
Sent: Wednesday, May 12, 2010 10:21 AM
To: CentOS mailing list
Subject: your session only lasted less than 10 seconds error
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@xxxxxxxxxx http://lists.centos.org/mailman/listinfo/centos