On Thu, Jul 15, 2010 at 08:57:37AM -0500, Chris Bennett wrote: > On 07/15/10 09:34, Owain Ainsworth wrote: >> On Thu, Jul 15, 2010 at 08:18:47AM -0500, Chris Bennett wrote: >>> I just wrote a script to check if from a terminal or not, ugly hack, >>> but works. >>> >>> But how can a problem with X result in logging a user off? >>> I have seen many X crashes from different program problems, but they >>> never logged me off before. Sure, X quit, but I was still able to >>> restart X. >>> >>> What is "special" about this situation? Or is this common and just >>> new to me? >> >> If you crash or otherwise bugger up the window manager causing it to >> exit, then you will log off if that is the process that maintains your X >> session. >> >> I don't see how that is non-obvious. >> >> -0- > > Forgive for asking something obvious, but: > > I boot computer, login to console, start X > > Problem type #1, X crashes, I am returned to console, not logged off, > can continue working. > > Problem # 2, X crashes, I am logged off and must login from console like > I just booted computer. > > > So, X takes over after console and only returns to console unless really > screwed up? So not being logged off is a "less bad" crash?
This could be a stray ctrl-d on your stdin. > > Thanks

