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.

link|improve this question

77% accept rate
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
feedback

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
link|improve this answer
feedback

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

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

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