/dev/tty0
on Linux is the current virtual terminal, while /dev/tty1
, /dev/tty2
... are the individual virtual terminals.
You can get a dump of the content of each via the /dev/vcs1
, /dev/vcs2
... devices, or the current one with /dev/vcs
(sometimes /dev/vcs0
)
# cp /dev/vcs1 some-file
# stty size < /dev/tty1
67 240
# fold -w 240 < some-file | sed 's/ *$//'
[...]
X.Org X Server 1.12.4
Release Date: 2012-08-27
X Protocol Version 11, Revision 0
Build Operating System: Linux 3.2.0-4-amd64 x86_64 Debian
Current Operating System: Linux sc 3.10-2-amd64 #1 SMP Debian 3.10.7-1 (2013-08-17) x86_64
Kernel command line: BOOT_IMAGE=/boot/vmlinuz-3.10-2-amd64 root=/dev/mapper/linux-debian64 ro quiet
Build Date: 17 April 2013 10:22:47AM
xorg-server 2:1.12.4-6 (Julien Cristau <[email protected]>)
Current version of pixman: 0.30.2
Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.1.log", Time: Mon Sep 2 10:19:44 2013
(==) Using system config directory "/usr/share/X11/xorg.conf.d"
resize called 1920 1080
[...]
/var/log/Xorg.0.log
or/var/log/syslog
to see if what you need is there?/var/log/Xorg0.log
doesn't contain any of the text, in any of theTTY
's (But, as an aside, I found evidence that my distro (Parted Magic) did try and make the mouse I had plugged and unplugged a dozen times, available after I initially unplugged it mid-session, butNo input driver specified, ignoring this device
concluded it's attempt). Also, A) What are the(II)
/(--)
/(**)
? B) How do I translate what seems like a date stamp on the left hand side of each line? As for/var/log/syslog
, I don't appear to have a file, in that location, by that name..