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

darxus at chaosreigns.com darxus at chaosreigns.com
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.

From:
http://serverfault.com/questions/121577/dumping-a-linux-console-scrollback-buffer

-- 
"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
http://www.ChaosReigns.com


More information about the wayland-devel mailing list