> OK, thiswhole business finally annoyed me enough to take a look at the
> Xwrapper source.
where did you find it? I tried a cursory grep through the X source
(I think..) and didn't find it, so that's why I didn't think it was part of
the X distribution itself.
of course, even if I did find it, I don't know enough C yet to
understand it.
> The first thing I noticed is "Copyright (c) 1998 by The XFree86 Project,
> Inc."
I stand corrected. :)
> The way it decides what X server to run is this:
>
> /* This is normally set in the Imakefile */
> #ifndef XSERVER_PATH
> #define XSERVER_PATH "/usr/X11R6/bin/XFree86"
> #endif
>
> As in any good setuid program, the path is wired into the program so it
> doesn't depend on the environment and can't be cheated.
>
> So the way to use it is to symlink X -> Xwrapper. Then startx will run
> xinit, which in turn will run X, which will actually be Xwrapper, which
> in turn will run the real X server that was chosen by the Imake
> procedure when XFree86 was built.
ah. ok. makes sense.
thanks much for taking a look at that. :)
Carl Soderstrom.
--
Network Engineer
Real-Time Enterprises
(952) 943-8700
_______________________________________________
Newbie mailing list
[EMAIL PROTECTED]
*** To unsubscribe , or change message options, see:
http://XFree86.Org/mailman/listinfo/newbie