Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

Suddendly, without any reasons I can explain, my ubuntu logoff, recovered with ctrl+alt+f1, login, ctrl+alt+f7 . Ok, I was running chrome with flash plug-in, and some terminal bashscript, smalls stuffs. Where I can find (some log files) and what to look for in an effort to discover or try to explain a little better what really happened?

Thanks in any advice.

share|improve this question
    
I think is better now. Thanks for the upvotes. Really want to go "underground".. if necessary. –  H_7 Mar 24 '12 at 0:18
1  
I cant upvote this enough. This happend 3-5 times a day since I installed Gnome 3 in 11.10. I dont found anything related in the log files yet. I assume it is a graphic device problem that caused the crashes. Same problem on two different Notebooks (64 and 32 bit/11.10). –  brubaker Mar 30 '12 at 12:11
    
- If you know the culprit start it from command line and see if any errors/warnings are shown in the terminal window. –  Rinzwind Mar 30 '12 at 14:22
    
@rinzwind I wish this were possible. I tried anything I knew to find the only thing that make sense to crash a whole Gnome session. No chance. Just one line sometimes in ~/.xsession-errors regarding my ATI device drivers found. –  brubaker Mar 31 '12 at 11:45
add comment

1 Answer 1

In that case you can check in \etc\var\messages where you can find all logs related to log-on and log-off events with the time stamp and reason for the same.

You can also use any of the below commands to view the messages file.

tail -f /var/log/messages

more /var/log/messages

cat /var/log/messages

less /var/log/messages

grep -i fail /var/log/messages

If it is hard to interpret that log file past it here and will tell you what you need to check, to get this problem resolved.

let me know if that helps you! :)

Regards,

Rishee

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.