faq/faq11.html: typo and wrongly documented "X -config"

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

faq/faq11.html: typo and wrongly documented "X -config"

Maurice Quennet
Hello www@,

I found a typo in faq/faq11.html (patch follows at the end of the mail):

In section 11.3 the text says "Don't make work for yourself if you you
don't need to!".  Unless this is some higher form of english, which I'm
not familiar with, there is a you to much.

And also there seems to be an error in the FAQ on how the -config flag
of X(7) is supposed to work:  In section 11.3.2 there is an example of
how to create a xorg.conf file.  For running "X -config" the FAQ
explicitly advises to "use the entire path to your xorg.conf.new file,
even if it is sitting in your current default directory".  Trying to
follow the example as described in the FAQ (running commands as root)
resulted in the following error message:

------------------------------------------------------------------------
# ls /root/xorg.conf.new
/root/xorg.conf.new
# X -config /root/xorg.conf.new

Fatal server error:

Invalid argument for -config
        With elevated privileges, the file specified with -config must be
        a relative path and must not contain any ".." elements.
        Using default xorg.conf search path.



Please consult the The X.Org Foundation support
         at http://wiki.x.org
 for help.
------------------------------------------------------------------------

Even Xorg(1) says that this is supposed to work:

-config file
        Read the server configuration from file. This option will work
        for any file when the server is run as root (i.e, with real-uid
        0), or for files relative to a directory in the config search
        path for all other users.

Now I'm not sure: Is this another error in faq/faq11.html or is the
-config flag not maintained just like -configure (as it was again
recently mentioned on misc@)?

Best regards,
Maurice Quennet

Index: faq/faq11.html
===================================================================
RCS file: /cvs/www/faq/faq11.html,v
retrieving revision 1.96
diff -r1.96 faq11.html
308c308
< Don't make work for yourself if you you don't need to!
---
> Don't make work for yourself if you don't need to!