Make sure you have an entry in /etc/hosts and .rhosts file on both the machines for rsh.
Then try this on defiant first..
defiant# export DISPLAY=baddog:0.0
defiant# xhost +baddog
baddog# xterm&
I hope it should work..
-Ashok
-----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