Port-amiga archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: system messages in all windows



Quoting Ignatios Souvatzis (18-Aug-98 20:12:59):

>> When 'system messages' (e.g. failed logins) are displayed while
>> running X in multiple windows, they are displayed in *all* windows!
>> However, iirc, they should only be printed in xterm windows started
>> with the '-C' (console) option. This doesn't seem to work properly
>> in twm using xterm.
>> 
>> Should 'system messages' only be printed in '-C' started xterm
>> windows or in all xterm windows?

> Depends.

> xterm -C is a console.

None of the xterms are started in xinitrc

----- cut here -----
twm &
xclock -geometry 50x50-1+1 &
xterm -geometry 80x50+494+51 &
xterm -geometry 80x20+494-0 &
exec xterm -geometry 80x66+0+0 -name login
----- cut here -----

> However, depending on how you configured /etc/syslog.conf, some
> classes of messages might be forwarded to every root, or every
> member of the "operator" group, in addition to or instead of
> reaching the console or one of the log files.

> See man syslogd.

I looked also at syslog.conf(5). However, I had trouble to identify
whether the reason for the prinint to all xterm windows is
syslog.conf.

----- cut here -----
*.err;kern.*;auth.notice;authpriv.none;mail.crit /dev/console
*.info;auth,authpriv,cron,ftp,kern,lpr,mail.none /var/log/messages
kern.debug                                       /var/log/messages
auth,authpriv.info                               /var/log/authlog
cron.info                                        /var/cron/log
ftp.info                                         /var/log/xferlog
lpr.info                                         /var/log/lpd-errs
mail.info                                        /var/log/maillog
#uucp.info                                       /var/spool/uucp/ERRORS
*.emerg                                          *
*.notice;auth.debug                              root
----- cut here -----

The first entry shows the messages going to the console. But this imho
doesn't explain why every xterm window (again, none is started with
-C) shows the system messages.

--
Cu  Georges Heinesch, Luxembourg
    geohei%ibm.net@localhost - geohei%geocities.com@localhost
    http://www.geocities.com/yosemite/2480
    PGP 2.6.3i / 5.1i public key on request and on public servers

... if you can't beat them, join them !




Home | Main Index | Thread Index | Old Index