Help - Search - Members - Calendar
Full Version: Xwindows Problem
Linuxhelp > Support > Technical Support
JohnCain
I have just generated a RH 9 system and an X application
that runs OK on 7.2 now fails to establish a connection to
XWindows
/* connect to the display */
disp = XOpenDisplay (":0");
if (disp == NULL) {
printf ("Cant find displayn");
exit (-1);
}

Documentation I have does not explain what to do if
the null is returned - any ideas??
Hemant
May be they have changed the function format,with the newer version of X.

So,you should check with the manual,before porting the program to the new configuration.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2017 Invision Power Services, Inc.