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.

I have this issue where a perl script will sometimes freeze Xorg. It's an extension for urxvt that detects URLs and allows me to "launch" them in the browser. Sometimes, upon launching, Xorg will freeze. I have not seen a pattern as to when it happens and when it doesn't. My main issue is obtaining more information. The computer won't let me do anything in Xorg, nor switch to another virtual terminal. Should I try looking at the Xorg logs?

share|improve this question
add comment

2 Answers

there are two log files that you can look, the first one is /var/log/Xorg.0.log which logs everything. To view errors in this file you can use the following command:

cat /var/log/Xorg.0.log | grep "(EE)"

To view per user errors, you can check this file, in your home directory: ~/.xsession-errors

share|improve this answer
add comment

Try looking at /var/log/Xorg.0.log.

If Xorg locks up and you can't change to a console, then Magic SysRq can allow you to bail out.

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.