And a complementary question: why does QXcbConnection::processXcbEvents() call exit() when the X server (probably) died, if that's not supposed to work? I wonder if that explains why I sometimes see evidence of Qt applications that crashed after an X server went down. R.