Ask Ubuntu is a question and answer site for Ubuntu users and developers. 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 a simple question: how do I turn on logging of the shutdown sequence and X-server, which both keep failing; shutdown that doesn't shut it down, XServer that crashes.

I would like to create the equivalent of a windows memory dump, the windows event viewer's System-bucket and a crash-dump on SIGTERM for XServer.


share|improve this question
Try looking into /var/log/. – ulidtko Jan 28 '11 at 22:50
but what am I looking for in these logs? how can I tell what's an error, what's info and what's debug information? care to make your comment a reply and explain a bit about /var/log? – Henrik Jan 29 '11 at 19:47

This may help with creating a program dump or catching a crash:

share|improve this answer
indeed it might, but would you mind expanding on how you think it would? like an overview of how it is done? – Henrik Feb 23 '11 at 22:11

Your Answer


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.