How to Fix Broken X11 in Leopard

One colleague told me about a useful link about how to fix broken X11 in Leopard. Even thought I haven’t got my copy of Leopard yet, I suspect that I am going to do this sooner or later. Hopefully, Apple would fix the issue so I don’t have to do this manually.