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'm having trouble with my Ubuntu 9.04 set up. It panics when idling (see other posts from me). It is possible, when running Ubuntu, to press Ctrl-Alt-F8 to get a console which displays messages from the system - including panic messages. I have searched the logs in /var/log for these messages but I can't find them. Are these messages written to a file anywhere since the text terminal doesn't show much history. If so, where? If they aren't written to file by default, is it possible to configure the system to write the messages to a file? Can you remote log in from another Ubuntu PC to see these messages and pipe them to a file on the remote PC?

share|improve this question
Normally text consoles are accessed with Ctrl-Atl-F1 to F6 while Ctrl+Alt+F7 and greater are used to switch to X (Ubuntu's graphical interface is on 7). – alfplayer Jan 14 '10 at 0:57

Well. Depends on what kind of panic you've got. If you mean KERNEL panic, which is really serious, you can find it in /var/log/dmesg*. If you get just a simple Xorg crash/something like that, thats in /var/log/Xorg.log* . For example, you can try this: sudo cat /var/log/Xorg.log* | grep EE .. to see only error lines. You could also check the GDM log. || About the tail stuff. You can pipe them into a file. Like running an X server an user , not like a daemon. Its like this: sudo gdm --debug &> /home/user/log.txt ... IF I remember clearly. Check gdm's options. (gdm --help , or man gdm). I just used "startx &> ~/error.txt" ..since the problem was X .. not GDM exactly. (Sorry for not being sure. First, any error can hide anywhere (even if you know what type of it). And now, I don't have a Linux before me.). IF you get stuck , just ask, I'll answer/help ASAP.

share|improve this answer

You must log in to answer this question.

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