Have you verified this won't interfere with XSERVER set by other machines? This sets XSERVER to the empty string for other machines. That sounds very problematic.