Path: utzoo!news-server.csri.toronto.edu!cs.utexas.edu!sdd.hp.com!wuarchive!emory!wrdis01!gatech!bloom-beacon!dont-send-mail-to-path-lines From: cmm60@juts.ccc.amdahl.COM (Carla Moe) Newsgroups: comp.windows.x Subject: (none) Message-ID: Date: 6 Mar 91 01:40:00 GMT Sender: daemon@athena.mit.edu (Mr Background) Organization: The Internet Lines: 22 I'm writing a Motif application which requires me to fork() and continue processing with the same windows & environment. (I tried posting this same problem to comp.windows.motif, without much luck). The first time I try to bring up a new window after the fork(), I get the following error: X Error of failed request: BadIDChoice (invalid resource ID chosen for this connection) Major opcode of failed request: 1 (X_CreateWindow) Minor opcode of failed request: 0 Resource id in failed request: 0x900040 Serial number of failed request: 453 Current serial number in output stream: 427 I think that I have to create a new connection to the original display... but I don't know how to do that. (This is the deepest I've had to delve into Xlib.) If there is interest, I'll post a summary of any replies. Thanks! peri@ras.amdahl.com