Path: utzoo!attcan!uunet!seismo!sundc!pitstop!sun!birdland!rberlin
From: rberlin%birdland@Sun.COM (Rich Berlin)
Newsgroups: comp.windows.news
Subject: Re: remote NeWS servers - request for info
Message-ID: <70679@sun.uucp>
Date: 28 Sep 88 20:19:45 GMT
References: <643@prlhp1.prl.philips.co.uk>
Sender: news@sun.uucp
Lines: 41
In-reply-to: colers@prlhp1.prl.philips.co.uk's message of 26 Sep 88 10:52:42 GMT


In article <643@prlhp1.prl.philips.co.uk> colers@prlhp1.prl.philips.co.uk (Richard Cole) writes:
> 
> Hi,
>   we are running NeWS 1.1 on SUNs.  I have been trying to produce
> output on a remote server to no avail !  I have followed the
> procedure in the Sun NeWS manual;
> 
> setenv NEWSSERVER `setnewshost xxxx`
> say -b"Hi" Hi
> 
> where xxxx is the id of the Sun running the server.
> 
> I get the following message on the server
> 
>   Network security violation:
>   Rejected connection from yyyy
> 
> where yyyy is the id of the mechine originating the message.
> 
> I am new to NeWS so any help would be appreciated.
> 
> Thanks in advance
> -- 
> Richard Cole	
> colers@prl.philips.co.uk
> 

NeWS (like X) maintains a list of "trusted" hosts, i.e. machines for which
the server agrees to bring up windows.  To make machine yyyy a trusted
host, you must execute the command

newshost add yyyy

on machine xxxx.

There are other options besides "add" to the newshost program; read the
man page (in $NEWSHOME/man/{man1,cat1}newshost.1) for details.


-- Rich