On Sun, 11 Mar 2001, Scott Jacobsen wrote:

>
> What's the difference between a console and an xterm?
>
> I ask because I'm trying to view kernel messages, and I must use
> xconsole to see them . . . or look at /var/log/messages.
>
> Is there some way for an xterm to look at /dev/console and display
> kernel messages?
> Can I replace the first line in my /etc/syslog.conf file to something
> like this:
> kern.*                /dev/tty*
>
> Scott
>
>
Scott,
        For what you are after, you may want to look into xconsole.  It
is designed to let you see consone messages in X.  From man xconsole:

DESCRIPTION
       The xconsole program displays messages which are usually
       sent to /dev/console.

/dev/console is a special device that points to the current console
device.  This is usualy the current active virtual console, but it can
be a serial port, or even a bit bucket like /dev/null.  When the active
console is an X secession, then the messages are usualy lost.

So what you end up with is that information sent to /dev/console will be
re-directed to what ever device the current console is.  For a headless
server, this may be a serial device like /dev/ttyS1.  For a workstation
with display and keyboard, it is usualy /dev/tty0 (another special
device pointing to the active vertual console), or it may be a program
such as xconsole that redirects the messages to a window on your X
desktop.

I hope this helps.
Mikkel
-- 

    Do not meddle in the affairs of dragons,
 for you are crunchy and taste good with ketchup.




_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to