the fix for xconsole.txt
x.y.f at home.com
Sun Aug 19 21:37:43 PDT 2001
Sorry about the screw up. I just had to change "-" to "|" in front of
/dev/xconsole in /etc/syslog.conf
This hint should be the one committed.
-------------- next part --------------
LFS VERSION: Any if X is installed.
AUTHOR: ktb <x.y.f at home.com>
Xconsole is included with X. It's used to monitor system console
messages on the desktop. This is one way to set it up.
The first thing to do is create a named pipe to send the Sysklogd
information xconsole will display.
# mkfifo /dev/xconsole
# chgrp tty /dev/xconsole
# chmod 644 /dev/xconsole
Permissions should be as follows.
$ ls -l /dev/xconsole
prw-r--r-- 1 root tty 0 Aug 19 13:07 /dev/xconsole
The next step is to edit /etc/syslog.conf to set what you want outputted
to /dev/xconsole. I like to dump everything, so I add the following line.
To make the change take effect restart Sysklogd.
# /etc/init.d/sysklogd restart
Last but not least we need to fire up xconsole itself.
$ xconsole -file /dev/xconsole
If you aren't happy with the text window space, edit the "XConsole" file
which is probably in /etc/X11/app-defaults/XConsole.
Set text window to the desired size. For example:
Xconsole also takes the geometry option so you might end up with a
command similar to the one below, to put in your ~/.xinitrc file.
xconsole -file /dev/xconsole -geometry +67+640 &
See "man xconsole" for more customizations.
More information about the hints