[comp.windows.news] NeWS networking

bentrup@uiucdcsb.cs.uiuc.edu (05/13/88)

Has anyone had any luck using the network capabilities of NeWS?
I am running NeWS from one machine and have a window open to another 
machine.  On the remote machine I set my NEWSSERVER variable to the
machine I am running NeWS from.  Then I run the "say" command.  NeWS
comes back with a network request rejected message.  I know the "say"
command works (I can do it ok when everything is on the same machine.
I don't think this is related to .rhosts or hosts.equiv (they all
have the proper entries).

Does anyone know what I am doing wrong?

Please send replies to:  riedesel@aisunj.cs.uiuc.edu

spage%polar@Sun.COM (S Page Sun Mtn View windows writer/engineer 691-2410) (05/14/88)

>>  [trying to run a remote command]
>>  NeWS comes back with a network request rejected message.

Does the other host have NEWSSERVER set up to point back to your
machine?  This will happen automatically if you use the `on` remote
execution command.  If you're not you must set up NEWSSERVER to point to
your machine -- see setnewsserver(1).

If NEWSHOME is set up, then if you're running NeWS1.1, you're probably
getting a
	Network security violation:
pop-up.  You must either use $NEWSHOME/bin/newshost to add the remote
host to the RemoteHostRegistry dictionary, or run `newshost disable` to
disable the security checking.  See the newshost(1) man page.

It may also be a problem if you are running the server on a reserved
socket.  Normally the NeWS 1.1 server tries to listen on socket 144;
this will probably fail if it isn't running as root, and it will try
on socket 2000.  You may have some kind of mismatch.

See p. 8 of the NeWS 1.1 Release Notes for more information on both
topics.

Once you get this working to your friend's computer,
   `say -b"The Network is the Computer" -c -w -100,200 "Let's have lunch" &`

=S Page	    Windows (writer/engineer)	spage@sun.COM  (415)691-2410  M/S 14-40
					{hplabs,ucbvax,decwrl}!sun!spage

These are my opinions, not my employers.

earle@MAHENDO.JPL.NASA.GOV (Greg Earle) (05/15/88)

Your remote host is probably not in the list of `acceptable' network hosts
for your local NeWS server.  You're probably running NeWS 1.1, and do not
allow any other hosts to connect to your NeWS server.  See init.ps (I think)
and look near the top ...

	- Greg