How to capture/record virtual console output?

Kent Stewart kstewart at
Fri Apr 16 12:00:57 PDT 2004

On Friday 16 April 2004 11:54 am, Mike wrote:
> Greetings:
> System: FreeBSD 4.9-stable
> KDE (3.14) is crashing on me and I need to capture the error messages
> (so that I can submit my problem to the this mailing list).
> I'm logged in as root. And I'm in tty0.  KDE crashes (core dump) and
> produces several error messages along with mention of the file
> "/var/log/XFree86.0.log".
> I checked the contents of "/var/log/XFree86.0.log" and it does not
> contain the error messages produced by the crashing KDE.

Have you tried something like
startx >& kde.log

I don't start up in kde but at the cli and use startx to fire off kde.

I suspect that you did a partial update of some of the recent library 
changes. Something is linking to a new library but has the old 


> So I need to find a way grab or capture the text output generated
> from the crash.
> I've tried opening pico in tty1 and using the mouse in tty0 to
> highlight (and place in the buffer?) the error messages on tty0.  No
> go. It's either that the buffer gets cleared when switching between
> tty0 and tty1 or that highlighting the text via mouse isn't working.
> I've gone through 2-years worth of FreeBSD mailing list messages but
> I can't seem to come up with solution.
> Hints?  Thank you.
> Michael Chinn
> _______________________________________________
> freebsd-questions at mailing list
> To unsubscribe, send any mail to
> "freebsd-questions-unsubscribe at"

Kent Stewart
Richland, WA

More information about the freebsd-questions mailing list