Dear Mark <br><br>This is the exact scenario of my machine.<br>i am running the cent os under my virtual box and i have made a network bridge to that VBOX<br><br>so from my machine i connect to the VBOX using the Xshell. <br>

and by the way i am new to linux and this is my test machine so that i do some testing.<br>this is the F reason i am using the root user.<br>what ever os is it i dont think logging in as root user will crash the system.<br>

<br>regarding the halt command i used it to check what this command will do and this one i have done from the F manual only.<br><br>but now my VBOX machine crashed.<br><br><br> <br clear="all">Chaitanya<br><br><br>
<br><br><div class="gmail_quote">On Wed, May 12, 2010 at 8:38 PM,  <span dir="ltr"><<a href="mailto:m.roth@5-cent.us">m.roth@5-cent.us</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">

<div class="im">Chaitanya wrote:<br>
> Thank you for your reply Brain<br>
><br>
> oops i have corrupted the entire system i think .<br>
> but one thing i dont understand is y this has happened all of a sudden<br>
> i choose to reinstall the cent os again..<br>
> i heard that cent os is the stable version with less number of crashes..:(<br>
><br>
</div>It is, very much so. You haven't given us *any* idea as to what you,<br>
personally, did to break the system. You say you halted it - did you mean<br>
to turn the system off? If you'd just intended to restart it, you should<br>
have used the command reboot.<br>
<br>
And were you running as root? Do you normally log in as root? If so, STOP<br>
IT, NOW. This is *not* Windows, and you should *never* log in as root,<br>
unless you're doing system maintenance. You should ALWAYS log in as<br>
yourself, or as a user, *not* root. (Yes, I'm repeating myself: pay<br>
attention.)<br>
<br>
Btw, try RTFM.<br>
<br>
       mark<br>
<div><div></div><div class="h5">><br>
<br>
><br>
><br>
><br>
> On Wed, May 12, 2010 at 8:01 PM, Brunner, Brian T.<br>
> <<a href="mailto:BBrunner@gai-tronics.com">BBrunner@gai-tronics.com</a><br>
>> wrote:<br>
><br>
>>  Suggest:<br>
>> Boot with an install CD/DVD in rescue mode.<br>
>> Mount your file system (this should happen automagically)<br>
>> edit /mnt/sysimage/etc/inittab<br>
>> Set your default runlevel to 3 (currently it is set to 5)<br>
>> quit the rescue, and reboot your hard drive.<br>
>><br>
>> Now you will have the shell available to debug what goes wrong when you<br>
>> command 'startx'<br>
>><br>
>>  ------------------------------<br>
>> *From:* <a href="mailto:centos-bounces@centos.org">centos-bounces@centos.org</a> [mailto:<a href="mailto:centos-bounces@centos.org">centos-bounces@centos.org</a>] *On<br>
>> Behalf Of *Chaitanya Yanamadala<br>
>> *Sent:* Wednesday, May 12, 2010 10:21 AM<br>
>> *To:* CentOS mailing list<br>
>> *Subject:* [CentOS] your session only lasted less than 10 seconds error<br>
>><br>
>> hai i have run the halt command from the xshell and the machine got<br>
>> restarted, now when i restart the machine, i am getting this error . I<br>
>> have<br>
>> tried to press the CTRL+ALT+F2 and tried to login with the root user but<br>
>> 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>
>> " your session only lasted less than 10 seconds ...try logging in with<br>
>> one<br>
>> of the failsafe sessions to see if you can fix the problem"<br>
>> and it published details<br>
>> (.xsession-errors file)<br>
>> /etc/gdm/PreSession/Default: Registering your session with utmp<br>
>> /etc/gdm/PreSession/Default: running: /usr/bin/sessreg -a -u<br>
>> /var/run/utmp<br>
>> -x "/var/gdm/ :0.Xservers" -h " " -l ":0" "chaitu"<br>
>> session_child_run: Could not exec /etc/X11/xinit/Xsession default<br>
>><br>
>> Regards<br>
>> Chaitanya<br>
>><br>
>> *******************************************************************<br>
>> This email and any files transmitted with it are confidential and<br>
>> intended solely for the use of the individual or entity to whom<br>
>> they are addressed. If you have received this email in error please<br>
>> notify the system manager. This footnote also confirms that this<br>
>> email message has been swept for the presence of computer<br>
>> <a href="http://viruses.www.Hubbell.com" target="_blank">viruses.www.Hubbell.com</a> - Hubbell Incorporated**<br>
>><br>
>><br>
>><br>
>> _______________________________________________<br>
>> CentOS mailing list<br>
>> <a href="mailto:CentOS@centos.org">CentOS@centos.org</a><br>
>> <a href="http://lists.centos.org/mailman/listinfo/centos" target="_blank">http://lists.centos.org/mailman/listinfo/centos</a><br>
>><br>
>><br>
> _______________________________________________<br>
> CentOS mailing list<br>
> <a href="mailto:CentOS@centos.org">CentOS@centos.org</a><br>
> <a href="http://lists.centos.org/mailman/listinfo/centos" target="_blank">http://lists.centos.org/mailman/listinfo/centos</a><br>
><br>
<br>
<br>
_______________________________________________<br>
CentOS mailing list<br>
<a href="mailto:CentOS@centos.org">CentOS@centos.org</a><br>
<a href="http://lists.centos.org/mailman/listinfo/centos" target="_blank">http://lists.centos.org/mailman/listinfo/centos</a><br>
</div></div></blockquote></div><br>