Newsgroups: comp.parallel.pvm
From: hpm@regent.e-technik.tu-muenchen.de (Hanns-Peter Maesel)
Subject: Debugging under PVM
Organization: Technical University of Munich, Germany
Date: 6 Dec 1994 13:30:55 +0100
Message-ID: <3c1lhv$51q@renitent.regent.e-technik.tu-muenchen.de>

Hello PVM-community,

I have a problem when trying to debug under PVM. 
Maybe anybody has had a similar problem and can give me some hint.

The situation is the following:
When I try to debug a task on a remote host, the remote pvmd starts
a script ($PVM_ROOT/lib/debugger) which tries to start another script
in a window with the command:
	xterm -title ... -e $PVM_ROOT/lib/debugger2

Now, in order to be able to open a new window with xterm on the local
host, the remote host must know the local host and set the variable
DISPLAY to it. But how can I let the remote host know the local host?
(PVM_EXPORT doesn't seem to work since it exports environment 
variables only to spawned tasks but not to shell scripts.)
I know that there is a workaround: of course I can set the DISPLAY
variable manually in the shell script "debugger" to the local host.
But isn't there a way to do it automatically?



