Thans.

but i've tryed tdo do:

        rsh ${HOST} ls -l 
this don't need export the display. And i get the same message.

        I think that the problen is in the configuration of NIS, so i've
included some utilities of NIS (ypcat and ypwhich) in the file sistem.

        $>ypcat passwd
        No such map passwd.byname. Reason: Can't bind to server which serves
this domain

        $>ypwhich
        ypwhich: Can't communicate whit ypbind

these are the configuration files of NIS in my server and client:

--------nsswitch.conf in clients:------------------------------------


passwd:     compat files nisplus nis 
shadow:     compat files nisplus nis
group:      compat files nisplus nis

#passwd:     compat
#shadow:     compat
#group:      compat

#hosts:     db files nisplus nis dns
hosts:      files nisplus nis dns
##hosts:      files dns

services:   nisplus [NOTFOUND=return] files
networks:   nisplus [NOTFOUND=return] files
protocols:  nisplus [NOTFOUND=return] files
rpc:        nisplus [NOTFOUND=return] files
ethers:     nisplus [NOTFOUND=return] files
netmasks:   nisplus [NOTFOUND=return] files     
bootparams: nisplus [NOTFOUND=return] files

netgroup:   nisplus
#netgroup:   nis

publickey:  nisplus

automount:  files nisplus
aliases:    files nisplus
----------------------------------------------------------------------

if i uncoment the entries:

#passwd:     compat
#shadow:     compat
#group:      compat

then xinetd can found the user-name root to start the rexec, rsh ,telnet
and rlogin services.

----------/etc/ypserv.conf in server --------------------------------
#
# ypserv.conf   In this file you can set certain options for the NIS
server,
#               and you can deny or restrict access to certain maps
based
#               on the originating host.
#
#               See ypserv.conf(5) for a description of the syntax.
#

# The following, when uncommented,  will give you shadow like passwords.
# Note that it will not work if you have slave NIS servers in your
# network that do not run the same server as you.

# Host                       : Map              : Security   :
Passwd_mangle
#
# *                          : passwd.byname    : port       : yes
# *                          : passwd.byuid     : port       : yes
 *                          : *                : none

# This is the default - restrict access to the shadow password file,
# allow access to all others.
#*                            : shadow.byname    : port
#*                            : passwd.adjunct.byname : port
#*                            : *                : none
-------------------------------------------------------------------

-------------/etc/ypconf.securenets-------------------------------
#
# securenets    This file defines the access rights to your NIS server
#               for NIS clients (and slave servers - ypxfrd uses this
#               file too). This file contains netmask/network pairs.
#               A clients IP address needs to match with at least one
#               of those.
#
#               One can use the word "host" instead of a netmask of
#               255.255.255.255. Only IP addresses are allowed in this
#               file, not hostnames.
#
# Always allow access for localhost
255.0.0.0       127.0.0.0

# This line gives access to everybody. PLEASE ADJUST!
0.0.0.0         0.0.0.0
255.255.255.0           192.168.1.0 #my subnet
----------------------------------------------------------------------






El vie, 14-02-2003 a las 15:13, Randal Cobb escribi�:
> Just to try something simple... did you run 'xhost +' or 'xhost

> <hostname>' first to allow apps to connect to the running X server?
> 
> On Fri, 2003-02-14 at 08:52, Daniel Garc�a Franco wrote:
> 
> >     Hi.
> > 
> >     When i try to execute a local aplication (netscape)
> >     
> >     $>HOST=`echo $DISPLAY |awk -F: '{print $1}'`
> >     $>rsh ${HOST} MOZILLA_HOME=/usr/local/netscape \
> >             /usr/local/netscape/netscape -display ${DISPLAY}
> > 
> >     i get an error, it is:
> > 
> >     Permission denied.
> > 
> > in my server the NIS service is well configured, i have test with other
> > pcs, and the NIS_DOMAIN, NIS_SERVER, are setup.
> > 
> >     thanks
> 
> -- 
> Randal Cobb <[EMAIL PROTECTED]>
-- 
Daniel Garc�a Franco

SADIEL, S.A.
Avda. de los descubrimientos s/n, Pabell�n de Espa�a,
Isla de la Cartuja, 41092 SEVILLA, ESPA�A.
Tlf: +34 955024000 (84053)
http://www.sadiel.es
e-mail: [EMAIL PROTECTED]




-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_____________________________________________________________________
Ltsp-discuss mailing list.   To un-subscribe, or change prefs, goto:
      https://lists.sourceforge.net/lists/listinfo/ltsp-discuss
For additional LTSP help,   try #ltsp channel on irc.freenode.net

Reply via email to