On Mon, 6 Aug 2001, Bill Hartwell wrote:

> I'm using Redhat 7.1, with KDE 2.1.1/2.1.2 as my desktop. In order to log my
> xwindows messages so that I can report errors when they occur, I'm using a
> script to start my xwindows.
>
> The command was given to me by a KDE support guy as follows:
>
> startx 2&>1 | tee xwinlog
>
> The problem with this is that it creates the xwinlog file, but puts nothing
> into it. How do I change the script so that the messages actually get logged
> into a log file?

Hi Bill,

I believe you need to redirect sterr to your logfile too. Check and see if
this file exists for you:

[root@NIS-968414 log]# cat /var/log/XFree86.0.log

XFree86 Version 4.0.3 / X Window System
(protocol Version 11, revision 0, vendor release 6400)
Release Date: 16 March 2001
        If the server is older than 6-12 months, or if your card is
        newer than the above date, look for a newer version before
        reporting problems.  (See http://www.XFree86.Org/FAQ)
Operating System: Linux 2.2.17-8smp i686 [ELF]
Module Loader present
(==) Log file: "/var/log/XFree86.0.log", Time: Mon Aug  6 23:17:48 2001
(==) Using config file: "/etc/X11/XF86Config-4"
Markers: (--) probed, (**) from config file, (==) default setting,
         (++) from command line, (!!) notice, (II) informational,
         (WW) warning, (EE) error, (??) unknown.
(==) ServerLayout "XFree86 Configured"
(**) |-->Screen "Screen0" (0)
(**) |   |-->Monitor "NEC XV17+"
(**) |   |-->Device "ATI Mach64"
(**) |-->Screen "Screen1" (1)
(**) |   |-->Monitor "NEC 5FG"
(**) |   |-->Device "S3 ViRGE"
(**) |-->Input Device "Mouse0"
(**) |-->Input Device "Keyboard0"
(**) Option "XkbLayout" "us"
(**) XKB: layout: "us"
(**) FontPath set to "unix/:7100"
(==) RgbPath set to "/usr/X11R6/lib/X11/rgb"
(==) ModulePath set to "/usr/X11R6/lib/modules"
(--) using VT number 7

<SNIP>

Hope this helps,

Arend



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

Reply via email to