Hello,
The current behaviour of Xorg seems to be to ignore the '-config'
option, after printing an error, when the specified file is not found.
This is very confusing, as the error is easily missed. I don't see any
reason for the X server to continue when the user specifies a
configuration file and that file is absent - it should exit with a
non-zero exit code.
Also, as shown below, it seems that relative file paths are not
supported - this is also very confusing to new users.
Thanks,
Frederik
$ ls test.conf
test.conf
$ sudo X -config test.conf
_XSERVTransSocketOpenCOTSServer: Unable to open socket for inet6
_XSERVTransOpen: transport open failed for inet6/taisa:0
_XSERVTransMakeAllCOTSServerListeners: failed to open listener for inet6
X Window System Version 7.1.1
Release Date: 12 May 2006
X Protocol Version 11, Revision 0, Release 7.1.1
Build Operating System: UNKNOWN
Current Operating System: Linux taisa 2.6.20-1-686 #1 SMP Tue Feb 20 22:59:46 UTC 2007 i686
Build Date: 07 March 2007
Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
Module Loader present
Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Tue Mar 20 14:58:44 2007
(EE) Unable to locate/open config file: "test.conf"
xf86AutoConfig: Primary PCI is 0:2:0
Running "getconfig -X 70101000 -I /etc/X11,/usr/etc/X11,/usr/lib/xorg/modules,/usr/lib/X11/getconfig -v 0x8086 -d 0x29a2 -r 0x02 -s 0x8086 -b 0x514d -c 0x0300"
sh: line 1: getconfig: command not found
(==) Using default built-in configuration (43 lines)
(EE) open /dev/fb0: No such file or directory
(WW) VESA(0): Failed to set up write-combining range (0x80400000,0x370000)
(WW) VESA(0): Failed to set up write-combining range (0x80000000,0x770000)
(EE) AIGLX: DRI module not loaded
xkb_keycodes { include "xfree86+aliases(qwerty)" };
xkb_types { include "complete" };
xkb_compatibility { include "complete" };
xkb_symbols { include "pc(pc105)+us" };
xkb_geometry { include "pc(pc105)" };
FreeFontPath: FPE "/usr/share/fonts/X11/misc" refcount is 2, should be 1; fixing.