Index: > A B C D E F G H I J K L M N O P Q R S T U V W X Y Z
Business Industries Finance Tax

Home > XFree86 logfile


First Prev [ 1 2 ] Next Last

The XFree86 logfile is a text file, written by the XFree86 program, and designed to be useful for people who are trying to diagnose problems they are having with getting XFree86 to work.

When XFree86 starts, it creates a logfile which contains information about what happened when XFree86 started. It contains information about what modules were loaded, which color depth that is used etc. The file is especially useful when something goes awry, as reading it can help you find exactly what went wrong.

The file almost always resides in "/var/log/XFree86.0.log" but, of course, where it is placed is configurable.

1 Banner section

The log begins with a section with some general system information before the actual work of starting the X server begins. It looks something like the following:

01] XFree86 Version 4.3.0 (Red Hat Linux release: 4.3.0-2)

02] Release Date: 27 February 2003 03] X Protocol Version 11, Revision 0, Release 6.6 04] Build Operating System: Linux 2.4.20-3bigmem i686 [ELF] 05] Build Date: 27 February 2003 06] Build Host: porky.devel.redhat.com 07] 08] Before reporting problems, check http://www.XFree86.Org/ 09] to make sure that you have the latest version. 10] Module Loader present 11] OS Kernel: Linux version 2.4.20-8 (bhcompile@porky.devel.redhat.com) (gcc version 3.2.2 20030222 (Red Hat Linux 3.2.2-5)) #1 Thu Mar 13 17:54:28 EST 2003 12] Markers: (--) probed, (**) from config file, (==) default setting, 13] (++) from command line, (!!) notice, (II) informational, 14] (WW) warning, (EE) error, (NI) not implemented, (??) unknown. 15] (==) Log file: "/var/log/XFree86.0.log", Time: Sat May 15 02:55:42 2004 16] (==) Using config file: "/etc/X11/XF86Config"

(Line markers "01]" etc, have been inserted to make the file easier to refer to.)

Line 1-2: Those lines tells us that this is version 4.3.0 and that it was released on February 27, 2003. It's modern enough, although 4.4.0 has been released ( February 29, 2004).

Line 3: The X protocol hasn't changed for ages and it is unlikely that it will change anytime soon.

Line 4-6: Build information. That the Build Host is "porky.devel.redhat.com" means that the user, unless he or she is an employee at Red Hat, probably installed XFree86 from a binary rpm package .

Line 10: X managed to find the module loader, which is essential if X is going to use things like hardware accelerated graphics. Further down in the file, X tries to load all modules specified in Section "Module" in XF86Config .

Line 12-14: The different types of messages printed in the log. Lines beginning with "(--)", "(**)", "(==)", "(++)" and "(II)" are OK, the rest indicate errors of varying severity.

Line 15-16: Where the files are. In this log, they are both in the default location. The time field specifies the date and time of the execution that caused the log.

2 The ServerLayout

01] (==) ServerLayout "Anaconda Configured"

02] (**) |-->Screen "Screen0" (0) 03] (**) | |-->Monitor "Monitor0" 04] (**) | |-->Device "NVIDIA GeForce 2 MX (generic)" 05] (**) |-->Input Device "Mouse0" 06] (**) |-->Input Device "Keyboard0"

After the initial messages, X begins to process the ServerLayout section in the XF86Config. What is outputted in the log closely corresponds to what is written in the configuration file. The section defines what devices are used by the X server. In this case, a mouse, a keyboard and a monitor with a GeForce 2 graphics card. There may be multiple ServerLayout sections in the XF86Config, but only the first one will be parsed.

The first line, (==) ServerLayout "Anaconda Configured" means that Red Hat's configuration tool Anaconda was used to generate the initial XF86Config file. The file may still have been changed manually afterwards. Other often seen values are "XFree86 Configure" meaning that XFree86's configuration tool xf86config was used, "Main Layout" or "Default Layout".

3 Keyboard setup

01] (**) Option "XkbRules" "xfree86"

02] (**) XKB: rules: "xfree86" 03] (**) Option "XkbModel" "macintosh" 04] (**) XKB: model: "macintosh" 05] (**) Option "XkbLayout" "us" 06] (**) XKB: layout: "us"

These lines tell us that the user in the XF86Config requested a Macintosh keyboard with a USThe United States of America also referred to as the United States U. America ¹ or the States is a federal republic in central North America, stretching from the Atlantic in the east to the Pacific Ocean in the west. It shares land borders with Canada in keyboard layoutComputers and other typing devices offer many different keyboard layouts for people to be able to input data in different languages. The standard English keyboard layout is known as QWERTY. Various alternatives to the QWERTY layout have been suggested, ma. Other valid values for Option "XkbModel" is "pc101", "pc105" and more. The output comes from a Section "InputDevice" for a keyboard. Sometimes autorepeat is also specified

01] (**) Option "AutoRepeat" "500 30"

Which means that if a keyThe word key has several uses: A key (lock is a physical object used to manipulate a lock. A key (music forms a property of a piece of music: see also key signature. A key (cryptography consists of a piece of information, usually kept secret, used to cust is held down for more than 500 ms, X will begin repeating it with a speed of one character every 30 ms. However, some desktop manager s like GNOMEGNOME is a computer desktop environment for UNIX and UNIX-like operating systems. It is the official desktop of the GNU Project. Origin The GNOME G NU N etwork O bject M odel E nvironment) project was started in August 1997 by Miguel de Icaza and Federico override those values and specifies their own autorepeat. Most often, the keyboard driver initialization ends with

01] (==) Keyboard: CustomKeycode disabled

The first keyboard driver in XFree86 where designed for PC keyboards. Then it was ported to other platforms with keyboards that can emit other scan code s than what the AT keyboardThe AT keyboard was a keyboard with 84 keys introduced with the IBM PC/AT computer. It succeeded the 83-key PC/XT keyboard and therefore did not have many of the features seen on modern keyboards such as arrow keys and dual ctrl and alt keys. It was later did. Therefore, to handle those keyboards the CustomKeycode option was added but should be disabled for most keyboards (which it is by default). Sometimes the message is thought to be an error, it is not.