--- src/x11conn.c +++ src/x11conn.c @@ -135,6 +135,11 @@ x11_module = g_module_open (x11_module_fname, G_MODULE_BIND_LAZY); g_free (x11_module_fname); + /* loading libX11 via g_module seems to be a bad idea, + this hack fixes it at least for openSUSE */ + if (x11_module == NULL) + x11_module = g_module_open ("libX11.so.6", G_MODULE_BIND_LAZY); + if (x11_module == NULL) return FALSE;