SUMMARY: X-terminals, xdm & logging

From: Michiel Steltman (mist@source.nl)
Date: Thu May 06 1993 - 14:21:22 CDT


Hi,

Here's what-to-do when you want to setup a console for a specific
X-terminal:

1. setup a logging-file per-X-terminal, in the xdm-config file :
DisplayManager._0.errorLogFile: /usr/tmp/myterm/xdm-errors

2. Use Rick Finchers (Thanx, Rick !) tail -f suggestion to get these errors:

   cmdtool 'tail -f /usr/tmp/myterm/xdm-errors &' &

Now you have a nice unique console for every X-terminal users.

Thanks everybody,

----------------------

From: ncf@tngstar.cray.com (Nicholas Franco)

This would be a good trick if you could show the errors for a particular
terminal on the terminal. The standard place to log errors is in
/usr/lib/X11/xdm/xdm-errors. If all of the xterms are using the same
Xresources file then you can't distinguish error is for a particular xterm.
You could set the Displaymanager resource to a unique name for each xterm
so that you would know which error came from which xterm. You can do this
by qualifying the resource, see the X windows system users guide. You
would then have to write some program or script to check and display this
file. Let me know if you find an easier way as this, at least for me,
seems to be more trouble than it's worth.

---------------

From: Rick Fincher <rnf@spitfire.tbird.com>

you can use the shell command tail -f filename &

Tail lists the last line in a file, the -f option puts it
into a loop that lists new lines as they are added to the file
by other programs, and running it in the background with the
'&' keeps it from monopolizing the shell so that you can use
your console for this and it pops up like any other console
message.

---------------------

From: matt@wbst845e.xerox.com (Matt Goheen)

How about logging them to a named pipe and using "xterm -e cat named_pipe"?

        - Matt Goheen

-- 
Michiel Steltman     email:mist@source.nl    Phone (+31)-79-615511
=============  Source Information Technology     ================



This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:07:48 CDT