As distributed, the X server assumes things like a
unix process
model, bsd sockets, virtual memory, etc.
Yes...but - at least before XFree86 mucked it all up and the MIT X
becaome Xorg and drank the XFree86 koolaid; I don't know about after
that - the sample server (there is no "the X server", possibly unless
your whole world is peecees running recent Linux or some such) had
pretty good separation between the X server proper and the glue layer
between it and the OS. If you have a moderate amount of RAM available
(virtual or not) and are willing to do a little glue layer hackery,
it's not that difficult to rip off the unixy interfaces and stick on
whatever you've got.
Unless what you've got is too restrictive to support what the server
wants to do (for example, if you have something socket-like but nothing
like select()/poll(), it will, um, be more difficult).
/~\ The ASCII Mouse
\ / Ribbon Campaign
X Against HTML mouse at
rodents-montreal.org
/ \ Email! 7D C8 61 52 5D E7 2D 39 4E F1 31 3E E8 B3 27 4B