Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

My Linux Mint workstation is acting funky, it appears to be logging me out randomly, though I'm guessing what's really happening is that the X desktop is crashing. Maybe.

How do I troubleshoot this?

I'm not sure which log file to look at. I tried looking at dmesg and Xorg.log in /var/log but I'm not sure what to look for. Not to mention there are no conventional timestamps, but a string like [ 0.416674] and I have no idea what that means.

share|improve this question
    
Well, do not use X for a while, and check if the system still acts "funky". It is high time time get used to the console :-) And if you have gazillion times, install a second OS, say, Ubuntu besides Mint and check if that fails as well (just to stay in the field of comparative bugfixing) –  karatedog Aug 9 '11 at 21:48
1  
Not really practical advice unfortunately. I have work to do and it relies on using X/Gnome. Plus it's entirely random so I can't really predict when it'll show up. –  CaptSaltyJack Aug 9 '11 at 21:58
    
Are you applying all available updates? –  ultrasawblade Aug 9 '11 at 22:05
    
@ultrasawblade Within reason. Using mintUpdate only, not using apt-get and installing kernel updates, etc. But yes, everything is up to date. –  CaptSaltyJack Aug 9 '11 at 22:10
    
I'd grep your logs for "error". dmesg, /var/log/syslog, Xorg.log seem like good places to start. If push comes to shove, I'd try doing another Linux install in parallel in an effort to see if it's a hardware problem. You should probably run memtest86 too... –  Doc Aug 9 '11 at 22:10
show 1 more comment

2 Answers

These four files are your best bet.

/var/log/Xorg.0.log

/var/log/Xorg.0.log.old

~/.xsession-errors

/var/log/messages
share|improve this answer
add comment

After doing some research, seems like (for whatever reason), any recent X crashes show up in /var/log/Xorg.0.log.old

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.