2009-12-25

Slitaz -- cat

slitaz-xorg.iso

Welcome to your box.
SliTaz boot time: 10s

SliTaz GNU/Linux Kernel 2.6.30.6-slitaz tty1

slitaz login: tux

(ø- { Documentation in /usr/share/doc. Use 'less -EM' to read files,
//\ become root with 'su' and edit using 'nano'.
v_/_ Type 'startx' to start a X window session. }

SliTaz GNU/Linux is distributed in the hope that it will be useful, but
with ABSOLUTELY NO WARRANTY.


tux@slitaz:~$ tail -n 11 /var/log/Xorg.0.log
(==) Log file: "/var/log/Xorg.0.log", Time: Sat Dec 26 01:08:29 2009
(==) Using config file: "/etc/X11/xorg.conf"
Parse error on line 26 of section Module in file /etc/X11/xorg.conf
"Identifier" is not a valid keyword in this section.
(EE) Problem parsing the config file
(EE) Error parsing the config file

Fatal server error:
no screens found
(WW) xf86CloseConsole: KDSETMODE failed: Bad file descriptor
(WW) xf86CloseConsole: VT_GETMODE failed: Bad file descriptor
tux@slitaz:~$ tail /var/log/slim.log
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Sat Dec 26 01:08:29 2009
(==) Using config file: "/etc/X11/xorg.conf"
Parse error on line 26 of section Module in file /etc/X11/xorg.conf
"Identifier" is not a valid keyword in this section.
(EE) Problem parsing the config file
(EE) Error parsing the config file

Fatal server error:
no screens found
tux@slitaz:~$ ls -l /var/log
-rw-r--r-- 1 root root 1243 Dec 26 01:08 Xorg.0.log
-rw-r--r-- 1 root root 3856 Dec 26 01:08 Xorg.0.log.old
-rw-r--r-- 1 root root 3 Dec 26 01:08 boot-time
-rw-r--r-- 1 root root 11072 Dec 26 01:08 boot.log
-rw-r--r-- 1 root root 15412 Dec 26 01:08 dmesg.log
-rw------- 1 root root 30320 Dec 26 01:08 messages
-rw-r--r-- 1 root root 1185 Dec 26 01:08 slim.log
-rw-r--r-- 1 root root 3072 Dec 26 01:08 wtmp
tux@slitaz:~$ head -n 28 /etc/X11/xorg.conf | tail -n 11
Section "Module"
Load "dri"
Load "extmod"
Load "dbe"
Load "glx"
Load "freetype"
EndSection

Identifier "Keyboard0" <=====
Driver "kbd"
EndSection

tux@slitaz:~$ ls -l /etc/X11/xorg*
-rw-r--r-- 1 root root 1983 Dec 26 01:08 /etc/X11/xorg.conf
-rw-r--r-- 1 root root 2005 Dec 26 01:08 /etc/X11/xorg.conf.orig
tux@slitaz:~$ diff /etc/X11/xorg.conf /etc/X11/xorg.conf.orig
--- /etc/X11/xorg.conf Sat Dec 26 01:08:28 2009
+++ /etc/X11/xorg.conf.orig Sat Dec 26 01:08:28 2009
@@ -23,6 +23,7 @@
Load "freetype"
EndSection

+Section "InputDevice"
Identifier "Keyboard0"
Driver "kbd"
EndSection

tux@slitaz:~$ cat /var/log/boot-time
10
tux@slitaz:~$ cat /var/log/boot.log


Welcome to your box.
SliTaz boot time: 10s



Taking a Screen Shot in a Console
....
For example, if the target console is the first virtual console (which you would see by typing [ALT]-[F1]), the device to cat is `/dev/vcs1'.

* To take a screen shot of the fourth virtual console, and save it to a file called `screenshot', type:

$ cat /dev/vcs4 > screenshot [RET]

NOTE: You must have superuser privileges to access these files (see Administrative Issues).
....