Originally posted by detpenguin
you prolly know this, but you have to su to root to run the command...
Not sure if it's this way with other folks as well, but, on my system,
to "root" will not load the root PATH spec. Thus, again, on my system, just using "su" to get to root will not allow one to simply run "xorgconfig"
However, if I change to root either by actually logging into a terminal login as "root" or if I use
$ su -
Then the root PATH spec is loaded and I can then just type "xorgconfig" from anywhere.
Sorry it doesn't really answer the original poster's question, but thought that putting this elaboration here might help others if they have experienced the issues I describe above.