It's easy to get console / VT output to a file

darxus at darxus at
Sun Sep 9 08:06:45 PDT 2012

Ran weston on the DRM backend (outside X), it did something weird, and you
want to get the output to a file?  (And haven't set up gpm in forever?)

It's really easy:

  # setterm -file log.txt -dump 4

Where "4" was the virtual terminal number I wanted the text from.  You'll
need to run it as root.


"Am I a man who dreamed I was a butterfly, or am I a butterfly who is
dreaming I am a man?" - Chuang Tsu, ~350 BC

More information about the wayland-devel mailing list