Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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

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

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

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .