JAJasper_·Jul 11, 2014
I wrote the server from scratch JavaScript, and I can't verify its accuracy towards real server behavior:
https://github.com/magcius/xplain/blob/gh-pages/src/server/s...
It's fake in a lot of ways, especially in its input model. It's well-commented and designed as a codebase to learn from, not as a real implementation of an X server that's reusable.
In XPlain – Explaining X11 for the rest of us