On Mon, 2004-02-23 at 18:38, Louis wrote: > [Louis] is my replies ... > > [mailto:[EMAIL PROTECTED] On Behalf Of Ken Foskey
> > I have debian and the gdm is set up for access. To prove > > what the problem is you might try and `telnet <ipaddress> 177". > > [Louis] Sorry. I presume u mean telnet from the Windows machine. Out of > curiosity what is 777 for ? Well it was 177... The purpose of telnet is to check that a port is open and available. So imagine that you wanted to check that ssh was having problems (most of you will have ssh installed...). You can check that the port is available to connect remotely to try it out. How do we do this. Find out the port number for ssh look in /etc/services. we find "22/tcp". From my example for X if you look further down for 177 you find it is: xdmcp 177/tcp # X Display Mgr. Control Proto So you can connect to the server using port 177 and get to the xdcmp server (X). What use is this, well if you cannot communicate then your problem is: a) Cannot connect using that IP (check ping). b) The services is not up (restart whatever) c) There is some sort of firewall in the way. (check personal firewall, especially redhat). So you can test that ssh is open simply by telnet 1.2.3.4 22 for example: froddo: /etc $ telnet 127.0.0.1 22 Trying 127.0.0.1... Connected to 127.0.0.1. Escape character is '^]'. SSH-2.0-OpenSSH_3.6.1p2 Debian 1:3.6.1p2-12 You could technically then start connecting to ssh. At least you know the port is there. Let's try X: froddo: /etc $ telnet 127.0.0.1 177 Trying 192.168.0.105... telnet: Unable to connect to remote host: Connection refused Urk bad advise... X appears to have a little more involved. -- Thanks KenF OpenOffice.org developer -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
