While compiling some code that needs a remote x server, I get this
error on the client:

X connection to xserver:0.0 broken (explicit kill or server shutdown)

Rebooting the X server fixes the issue but the it comes back later on
in the game. Where is this issue coming from and how can I fix it?

Appreciate your feed-back,