Typo
[linux_from_scratch_hints.git] / OLD / xconsole.txt
blob789101a269cb0f438a5c63fff3a412ae35785e28
1 TITLE:          Xconsole
2 LFS VERSION:    Any if X is installed.
3 AUTHOR:         ktb <x.y.f@home.com>
6 SYNOPSIS:
7         Xconsole is included with X.  It's used to monitor system console
8         messages on the desktop.  This is one way to set it up.
11 HINT:
12 The first thing to do is create a named pipe to send the Sysklogd
13 information xconsole will display.
15         # mkfifo /dev/xconsole
16         # chgrp tty /dev/xconsole
17         # chmod 644 /dev/xconsole
18         
19 Permissions should be as follows.
21         $ ls -l /dev/xconsole
22         prw-r--r--      1 root  tty     0 Aug 19 13:07  /dev/xconsole
24 The next step is to edit /etc/syslog.conf to set what you want outputted 
25 to /dev/xconsole.  I like to dump everything with a priority of alert or 
26 higher, so I add the following line.
28         *.*     |/dev/xconsole
30 To make the change take effect restart Sysklogd. 
32         # /etc/init.d/sysklogd restart
34 Last but not least we need to fire up xconsole itself.
36         $ xconsole -file /dev/xconsole
38 If you aren't happy with the text window space, edit the "XConsole" file 
39 which is probably in /etc/X11/app-defaults/XConsole.
40 Set text window to the desired size.  For example:
42         *text.width:    900
43         *text.height:   100
45 Xconsole also takes the geometry option so you might end up with a
46 command similar to the one below, to put in your ~/.xinitrc file.
48         xconsole -file /dev/xconsole -geometry +67+640 & 
49         
50 See "man xconsole" for more customizations.