w*y 发帖数: 74 | 1 Hello,everybody,
I am a new user of cygwin, and I got a telnet problem now.
I installed cygwin and it runs great. But when I try to run telnet in the
xterm windows, there is no response(shell prompt come out). Do you know what's
the problem?
Here is the detail:
1.type "cygwin" in dos window.
2.cygwin window pop out.
3.type "startx" in cygwin window.
4.xterm window pop out.
5.type "telnet" in xterm window.
6.another line of shell prompt come out.
Any suggestion? Thanks for your help.
wyy |
q*****m 发帖数: 73 | 2 try
telnet bbs.mit.edu
and tell us what do you get.
【在 w*y 的大作中提到】 : Hello,everybody, : I am a new user of cygwin, and I got a telnet problem now. : I installed cygwin and it runs great. But when I try to run telnet in the : xterm windows, there is no response(shell prompt come out). Do you know what's : the problem? : Here is the detail: : 1.type "cygwin" in dos window. : 2.cygwin window pop out. : 3.type "startx" in cygwin window. : 4.xterm window pop out.
|
w*y 发帖数: 74 | 3 the same as type "telnet" only.
If there is no "telnet" command supported by cygwin, there should be "command
not found" instead of another line of shell prompt coming out. So, it is
really weird.
what's
【在 q*****m 的大作中提到】 : try : telnet bbs.mit.edu : and tell us what do you get.
|
s**n 发帖数: 449 | 4 did u install the pkg "inetutils"?
my guess is u didn't, then cygwin tried to use the windows version
of "telnet".
【在 w*y 的大作中提到】 : the same as type "telnet" only. : If there is no "telnet" command supported by cygwin, there should be "command : not found" instead of another line of shell prompt coming out. So, it is : really weird. : : what's
|
w*y 发帖数: 74 | 5 I installed all the pkg related to net.
I guess I need to set up sth so that the xserver could work, since I got the
following message when I type "startx" and then close the pop out "xfree86"
window:
$ startx
login: fatal IO error 32 (Broken pipe) or KillClient on X server ":0.0"
xterm: fatal IO error 32 (Broken pipe) or KillClient on X server ":0.0"xterm:
xinit: connection to X server lost.ed) or KillClient on X server ":0.0"
waiting for X server to shut down XIO: fatal IO error 104 (Conne
【在 s**n 的大作中提到】 : did u install the pkg "inetutils"? : my guess is u didn't, then cygwin tried to use the windows version : of "telnet".
|
s**n 发帖数: 449 | 6 i have no idea. but for ur telnet problem, you can just use
"which telnet" to see.
【在 w*y 的大作中提到】 : I installed all the pkg related to net. : I guess I need to set up sth so that the xserver could work, since I got the : following message when I type "startx" and then close the pop out "xfree86" : window: : $ startx : login: fatal IO error 32 (Broken pipe) or KillClient on X server ":0.0" : xterm: fatal IO error 32 (Broken pipe) or KillClient on X server ":0.0"xterm: : xinit: connection to X server lost.ed) or KillClient on X server ":0.0" : waiting for X server to shut down XIO: fatal IO error 104 (Conne
|
w*y 发帖数: 74 | 7 I tried the which command and got a full path of telnet.
the
"xfree86"
":0.0"xterm:
reset
【在 s**n 的大作中提到】 : i have no idea. but for ur telnet problem, you can just use : "which telnet" to see.
|
s**n 发帖数: 449 | 8 is it /usr/bin/telnet or /cygdrive/c/WINNT/System32/telnet?
【在 w*y 的大作中提到】 : I tried the which command and got a full path of telnet. : : the : "xfree86" : ":0.0"xterm: : reset
|
w*y 发帖数: 74 | 9 It is cygdrive/c/WINDOWS/system32/telnet.
Is there any difference between the two paths?
Thanks for your warm help.
【在 s**n 的大作中提到】 : is it /usr/bin/telnet or /cygdrive/c/WINNT/System32/telnet?
|
s**n 发帖数: 449 | 10 you are using telnet from windows, that is why it didn't work.
run "cygcheck -c | grep inetutils" to check whether the pkg "inetutils"
is installed. if not, install it.
【在 w*y 的大作中提到】 : It is cygdrive/c/WINDOWS/system32/telnet. : Is there any difference between the two paths? : Thanks for your warm help.
|
w*y 发帖数: 74 | 11 Sorry, I just installed part of the inetutils pkg. Probally that's the
problem. I will let you know the result. Thanks.
"command
【在 s**n 的大作中提到】 : did u install the pkg "inetutils"? : my guess is u didn't, then cygwin tried to use the windows version : of "telnet".
|