I call XOpenDisplay to connect to the X server but get a NULL pointer.
My client program run in the text terminal, not GUI desktop. I have
got the MIT key using the xauth and set the enviroment variable
DISPLAY to "localhost/unix:0". My linux distribution is openSUSE 11.1.
I have test our program on Ubuntu, Debian and SLE10-sp2, it's ok. So I
am confused.