Newsgroups: comp.parallel.pvm
From: scheer@cs.utwente.nl (Rienk van der Scheer)
Subject: Re: PVM debugger problem
Organization: University of Twente, Dept. of Computer Science
Date: 13 May 1996 06:55:45 GMT
Message-ID: <4n6mdh$e92@utrhcs.cs.utwente.nl>

Alex Gheroghian (secsalex) wrote:
: I'd really appreciate if anyone can help with this problem.
: I'm a newbie at this and this is the first time I've tried to use the PVM
: debugger.  I'm trying to test it out on something really simple like the
: hello/hello_other example, which I modified to talk to as many hosts as you
: want.  It works just fine w/o the debugger, but when I run the Pvm_Spawn
: command with the PvmTaskDebug parameter, I'm getting the following error
: message:

: pvm> spawn -> hello
: [9]
: 1 successful
: t140005
: pvm> [9:t180005] Xlib: connection to "hp15:0.0" refused by server
: [9:t180005] Xlib: Client is not authorized to connect to Server
: [9:t180005] Error: Can't open display: hp15:0.0
: [9:t180005] EOF
: [9:t80005] Xlib: connection to "hp15:0.0" refused by server
: [9:t80005] Xlib: Client is not authorized to connect to Server
: [9:t80005] Error: Can't open display: hp15:0.0
: [9:t80005] EOF
: [9:tc0005] Xlib: connection to "hp15:0.0" refused by server
: [9:tc0005] Xlib: Client is not authorized to connect to Server
: [9:tc0005] Error: Can't open display: hp15:0.0
: [9:tc0005] EOF

: hp15 is the server, and I added hp11, hp12 and hp13 as the hosts.  Each of
: these computers has the exact same file structure/content as the one I am
: working on, same goes for their environments: they are all set to display to
: hp15.

: I've got this in my environment:
: SESSION_SVR=hp15
: DISPLAY=hp15:0.0
: PVM_EXPORT=DISPLAY

: The xterm that is opened by the debugger displays the following message:
: use:
: run
: __________________________________________________
: xdb: Command not found.
: ********
: xdb terminated
: hit return to close window:


: I am not running the debugger correctly?  I also tried this variation:
: pvm> spawn -@ -> hello, but to no avail.
: I suspect maybe I'm missing something essential in my environment.

You should execute the following command at the hosts where the display
is used (hp15):
xhost +hp11
xhost +hp12
xhost +hp13

Indicating that the hosts hp11, hp12 and hp13 are allowed to open
windows on the display.

: Thanks in advance,
: ~Alex

Rienk

NB. You should also set the reply-address of this posting correctly.

--
Rienk van der Scheer
scheer@cs.utwente.nl
http://www.cs.utwente.nl/~scheer/

