Linux Help
guides forums blogs
Home Desktops Distributions ISO Images Logos Newbies Reviews Software Support & Resources Linuxhelp Wiki

Welcome Guest ( Log In | Register )

Advanced DNS Management
New ZoneEdit. New Managment.


Sign Up Now
Reply to this topicStart new topic
> Xwindows Problem, XOpenDisplay() returns a null
post Jan 26 2005, 06:26 PM
Post #1

Whats this Lie-nix Thing?

Group: Members
Posts: 3
Joined: 30-August 04
Member No.: 3,673

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
/* 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??
Go to the top of the page
+Quote Post
post Jan 26 2005, 10:09 PM
Post #2

RMS is my Hero

Group: Support Specialist
Posts: 782
Joined: 6-October 02
From: Trichy,INDIA
Member No.: 29

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.

Hemant Kumar
user posted image
Go to the top of the page
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:


RSS Lo-Fi Version Time is now: 23rd March 2018 - 09:43 PM