1diff --git a/framework/platform/lnx/X11/tcuLnxX11.cpp b/framework/platform/lnx/X11/tcuLnxX11.cpp 2index 10c875869..1d1f9f577 100644 3--- a/framework/platform/lnx/X11/tcuLnxX11.cpp 4+++ b/framework/platform/lnx/X11/tcuLnxX11.cpp 5@@ -24,6 +24,7 @@ 6 #include "tcuLnxX11.hpp" 7 #include "gluRenderConfig.hpp" 8 #include "deMemory.h" 9+#include "deThread.hpp" 10 11 #include <X11/Xutil.h> 12 13@@ -79,6 +80,12 @@ XlibDisplay::XlibDisplay(EventState &eventState, const char *name) : DisplayBase 14 // Xlib call is made. 15 DE_CHECK_RUNTIME_ERR(XInitThreads() != 0); 16 m_display = XOpenDisplay((char *)name); // Won't modify argument string. 17+ for (int i = 0; i < 10; i++) { 18+ m_display = XOpenDisplay((char*)name); // Won't modify argument string. 19+ if (m_display) 20+ break; 21+ deSleep(100*(1<<i)); 22+ } 23 if (!m_display) 24 throw ResourceError("Failed to open display", name, __FILE__, __LINE__); 25 26