"Gregory S. Hackman" wrote:
>
> I'm trying to use Xwin-32 and connect to my Linux machine by rlogin. I
> have some experience doing this on OSF machines, there really isn't a lot
> to it. After I uncommented the appropriate lines in inetd.conf so the
> rlogin and rexec demons would actually get going, I was at a stage where I
> could rlogin as a normal interactive session.
>
> Now, when I try to launch an Xwin session, I get a "Connection Closed"
> error. The troubleshooting section of the manual would probably be pretty
> useful to someone who knew what they were doing: it says that the problem
> is one of three things:
> -You are trying to connect using rexec and rexecd or in.rexec will not
> allow the connection to continue.
> -Your host is running SunOs...(I think I can ignore this one)
> -Your host is running a tcp wrapper that closes the connection for security
> reasons.
>
> What's a TCP wrapper, how do I tell if I'm using one, and how do I turn it
> off? If it turns out that's not the problem, am I just out of luck?
You can tell if rexec/rlogin are using TCP wrappers by looking at the
line that controls them in /etc/inetd.conf. If they look like (ignore
the obviously incorrect daemon, I don't have rexec/rlogin installed):
tftp dgram udp wait root /usr/sbin/tcpd
in.tftpd
The important part is "/usr/sbin/tcpd". If that's there, it's using TCP
wrappers.
If you're using TCP wrappers, they are controlled by /etc/hosts.allow
and /etc/hosts.deny. You can find configuration information for those
two files in "man 5 hosts_access"
--
Steve Philp
Network Administrator
Advance Packaging Corporation
[EMAIL PROTECTED]