Thanks so much for your suggestions.  You clarified several things for me.
I didn't plan on using ssh because I thought it would just add another layer
of complexity and there's already plenty of complexity for this newbie right
now.  But, if you or anyone else has suggestions or knows where I can find a
SIMPLE ;) HOWTO, please let me know.

Thanks,

Jerry

----- Original Message -----
From: Warren Melnick <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, March 22, 2001 3:48 PM
Subject: RE: How do you log into a Linux box from another *ix box?


> You seem to have a few questions here.
> (1) How do I log into defiant from baddog?
> (2) How do I redirect my X display back to baddog once on defiant?
> (3) How do I deal with the NIS problem?
> I can't help with 3 as I do not use NIS.
>
> If you are running ssh on both machines you could use ssh between the 2
and
> assuming that you have it set up properly ssh will automatically route the
X
> back for you.  You would see DISPLAY set to something like defiant:11.0.
>
> The xhost command is to let the machine where you want to view the windows
> know that the machine sending the info has permission to do so.  Therefore
> on baddog you should issue the command "xhost +defiant" (without the
quotes)
> then use rsh.  Note that you should not need the xhost command if you
change
> over to ssh since the X will be tunneled back via ssh and look like it is
> coming from the local machine.
>
> As for your variables not setting properly, I usually set mine in .bashrc
> instead of .bash_profile.
>
> ----------------
> Warren Melnick
> Director of Research and Development
> Astata Corporation
>
>
>
>
> -----Original Message-----
> From: Jerry Garrison [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, March 22, 2001 2:51 PM
> To: [EMAIL PROTECTED]
> Subject: How do you log into a Linux box from another *ix box?
>
>
> I went to linuxdoc.org and read the 'Remote X Apps mini-HOWTO' by Vincent
> Zweije dated 4 January 2001 and followed his instructions.
>
> The Linux machine is named 'defiant' and the other box that I'm trying to
> log into defiant from is a Sun ULTRA 60 running Solaris 7 and its name is
> 'baddog'.
>
> I set the DISPLAY in my .bash_profile file on 'defiant'.  Below is a copy
of
> my .bash_profile file:
>
> # .bash_profile
>
> # Get the aliases and functions
> if [ -f ~/.bashrc ]; then
>  . ~/.bashrc
> fi
>
> # User specific environment and startup programs
>
> PATH=$PATH:$HOME/bin
> BASH_ENV=$HOME/.bashrc
> USERNAME=""
>
> set DISPLAY=baddog:0.0
> export DISPLAY
>
> export USERNAME BASH_ENV PATH
>
> However, when I typed 'set' after rebooting, the DISPLAY variable just
said
> ':0'.  So I typed 'export DISPLAY=baddog:0.0' and typed 'set' and the
> DISPLAY variable showed 'baddog:0.0'.  Why didn't the .bash-profile file
> update my DISPLAY variable?
>
> On 'baddog', I typed:
>
> $ xhost +baddog
>
> and got the response below:
>
> baddog being added to access control list
>
> Then, I type in:
>
> $ xterm
>
> and get the error message:
>
> xterm Xt error: Can't open display:
>
> HELP! , please.
>
> Also, when I rsh into 'defiant' from 'baddog', I get the error message:
>
>  $ rsh defiant
> Password:
> YPBINDPROC_DOMAIN: Domain not bound
>
> I have gone into the /etc/sysconfig/network file, and it says:
>
> NISDOMAIN=(the correct name of my NIS server)
>
> Any suggestions on what I need to do to take care of this error message?
>
> Thanks in advance,
>
> Jerry
>
>
>
> _______________________________________________
> Redhat-list mailing list
> [EMAIL PROTECTED]
> https://listman.redhat.com/mailman/listinfo/redhat-list
>
>
>
> _______________________________________________
> Redhat-list mailing list
> [EMAIL PROTECTED]
> https://listman.redhat.com/mailman/listinfo/redhat-list



_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to