// Why is this still needed even after waiting for the X11rdp server to start!?!?
// Why is this still needed even after waiting for the X11rdp server to start!?!?
g_sleep(5000);
// I suspect the X11rdp server is not quite ready to accept new connections when we try to connect
// It is possible that this problem will go away on an Infiniband interconnect, but for now sleeping for 10 seconds seems to work around the problem on 100M Ethernet