Call XInitThreads() on linux