Article View: comp.windows.x
Article #37311Re: Twm hangs doing an xhost (request for help)
From: Simon Leinen
Date: Fri, 23 Feb 1990 10:51
Date: Fri, 23 Feb 1990 10:51
25 lines
1384 bytes
1384 bytes
In article <9751@batcomputer.tn.cornell.edu> gdykes@batcomputer.tn.cornell.edu (Gene Dykes) writes: When running twm, if I click on a menu entry with the following binding: f.exec "xhost hostname" twm just hangs, and I have to kill it off (with great difficulty). I had this problem too, and found two solutions for it. You can simply start xhost in the background, by saying f.exec "xhost hostname" & od you can add a line NoGrabServer to the .twmrc file. I think the problem is that xhost will try to make a connection to the X server, but the server is grabbed by twm while the menu is posted. The menu will not be removed until xhost has returned, so this is a very beautiful case of deadlock. You can also do both of the above, which is what I do. -- Simon Leinen.
Technical Details
Message-ID:
<SIMON.90Feb23115134@dolphin.cs.tu-berlin.de>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!uunet!mcsun!unido!tub!tubopal!opal!simonReferences:
<9751@batcomputer.tn.cornell.edu>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!uunet!mcsun!unido!tub!tubopal!opal!simon From: simon@opal.tu-berlin.de (Simon Leinen) Newsgroups: comp.windows.x Subject: Re: Twm hangs doing an xhost (request for help) Message-ID: <SIMON.90Feb23115134@dolphin.cs.tu-berlin.de> Date: 23 Feb 90 10:51:34 GMT References: <9751@batcomputer.tn.cornell.edu> Sender: news@tubopal.UUCP Distribution: comp Organization: TU Berlin, Fachbereich 20 (Informatik) Lines: 25 In-reply-to: gdykes@batcomputer.tn.cornell.edu's message of 19 Feb 90 17:28:17 GMT