Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!usc!wuarchive!mit-eddie!bloom-beacon!ADAM.KAIST.AC.KR!ckkim From: ckkim@ADAM.KAIST.AC.KR (Kim Chi Kwon) Newsgroups: comp.windows.x Subject: problem on XOpenDisplay() Message-ID: <9012070443.AA28730@adam.kaist.ac.kr> Date: 7 Dec 90 04:43:47 GMT Sender: daemon@athena.mit.edu (Mr Background) Organization: The Internet Lines: 11 I have programmed multi-user talk program. I use motif and X window system for my environment. I use XOpenDisplay() function to open other display. It work well if someone use the display already. But when I test to open the display nobody use, I found that it does not return NULL for showing fail and it stop to work. What should I do to know the display is used or not ? It seems that if the display is not used, it take to long time or there is a problem on XOpenDisplay() function. I want to know the truth and good alternative.