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

Re: xconsole messages



On Thu, 29 Feb 1996, Dale Miller wrote:

> On Thu, 29 Feb 1996, Guy Maor wrote:
> 
> > Does stuff get written to the files in /var/log and not to the xconsole?
> > Check the syslogd.conf carefully.  There have to be tabs between the two
> > columns, not spaces.  Restart syslogd with 
> > kill -SIGHUP `cat /var/run/syslogd.pid`
> 
> Yes stuff goes to the log files. It just doesn't go to xconsole.
> When I restart syslogd as you mentioned after xdm has started
> and I have logged, suddenly xconsole starts to work. Why do I
> need to restart syslogd for this to work?? Works great once I
> restart syslogd.

When syslogd finds it can't write to a named pipe (because the pipe has 
nothing listening at the other end, for example) it just starts ignoring 
it. When you send it a SIGHUP it will reopen the pipe and start writing 
to it again.

As long as xconsole gets started reasonably soon after syslogd (eg. in 
the Xsetup_0 script for xdm) you should be ok.

Steve Early
sde1000@cam.ac.uk


Reply to: