Gentoo Archives: gentoo-user

From: Mick <michaelkintzios@×××××.com>
To: gentoo-user@l.g.o
Subject: [gentoo-user] Re: Unexpectedly terminated - would you like to try again?
Date: Wed, 11 Oct 2006 21:39:03
Message-Id: 200610112230.22439.michaelkintzios@gmail.com
1 On Wednesday 11 October 2006 18:38, Alex Pelts wrote:
2 > Use netstat and see if ssh is listening on local host on the right port.
3 > default vnc port is 5900 by the way. 5800 is the one that java client is
4 > served on.
5
6 Thanks again Alex, I can shift the ports to the 5900 range, although all
7 things being equal I cannot see how this will make any difference. This is
8 what netstat on the client (192.168.0.3) shows:
9 ========================================
10 C:\WINDOWS\system32>netstat -ano
11
12 Active Connections
13
14 Proto Local Address Foreign Address State PID
15 TCP 127.0.0.1:1026 0.0.0.0:0 LISTENING 1796
16 TCP 127.0.0.1:5802 0.0.0.0:0 LISTENING 1988
17 TCP 127.0.0.1:5802 127.0.0.1:1357 TIME_WAIT 0
18 TCP 192.168.0.3:1355 192.168.0.2:28 TIME_WAIT 0
19 TCP 192.168.0.3:1356 192.168.0.2:28 ESTABLISHED 1988
20 UDP 0.0.0.0:1028 *:* 976
21 UDP 0.0.0.0:1039 *:* 976
22 UDP 0.0.0.0:1053 *:* 976
23 UDP 0.0.0.0:1092 *:* 976
24 UDP 127.0.0.1:123 *:* 880
25 UDP 192.168.0.3:123 *:* 880
26 ========================================
27
28 After I disable the "Only accept connections from the local machine" and it
29 connects to the VNC server (192.168.0.2), the client (192.168.0.3) shows:
30 ========================================
31 C:\WINDOWS\system32>netstat -ano
32
33 Active Connections
34
35 Proto Local Address Foreign Address State PID
36 TCP 127.0.0.1:1026 0.0.0.0:0 LISTENING 1796
37 TCP 127.0.0.1:1361 127.0.0.1:5802 ESTABLISHED 3812
38 TCP 127.0.0.1:5802 0.0.0.0:0 LISTENING 2380
39 TCP 127.0.0.1:5802 127.0.0.1:1359 TIME_WAIT 0
40 TCP 127.0.0.1:5802 127.0.0.1:1361 ESTABLISHED 2380
41 TCP 192.168.0.3:1360 192.168.0.2:28 ESTABLISHED 2380
42 UDP 0.0.0.0:1028 *:* 976
43 UDP 0.0.0.0:1039 *:* 976
44 UDP 0.0.0.0:1053 *:* 976
45 UDP 0.0.0.0:1092 *:* 976
46 UDP 127.0.0.1:123 *:* 880
47 UDP 192.168.0.3:123 *:* 880
48 ========================================
49
50 And this is what the server (192.168.0.2) shows when I cannot connect:
51 ========================================
52 F:\Documents and Settings\salcol>netstat -ano
53
54 Active Connections
55
56 Proto Local Address Foreign Address State PID
57 TCP 0.0.0.0:28 0.0.0.0:0 LISTENING 1948
58 TCP 127.0.0.1:1027 0.0.0.0:0 LISTENING 908
59 TCP 127.0.0.1:1042 127.0.0.1:1043 FIN_WAIT_2 1948
60 TCP 127.0.0.1:1043 127.0.0.1:1042 CLOSE_WAIT 1948
61 TCP 127.0.0.1:1045 127.0.0.1:1044 TIME_WAIT 0
62 TCP 127.0.0.1:5803 0.0.0.0:0 LISTENING 252
63 TCP 192.168.0.2:28 192.168.0.3:1356 ESTABLISHED 1948
64 UDP 0.0.0.0:1040 *:* 1468
65 UDP 127.0.0.1:123 *:* 1400
66 UDP 127.0.0.1:1041 *:* 1948
67 UDP 127.0.0.1:1047 *:* 240
68 UDP 192.168.0.2:123 *:* 1400
69 ========================================
70
71 and this is what it shows when a connection has been established:
72 ========================================
73 F:\Documents and Settings\salcol>netstat -ano
74
75 Active Connections
76
77 Proto Local Address Foreign Address State PID
78 TCP 0.0.0.0:28 0.0.0.0:0 LISTENING 1948
79 TCP 0.0.0.0:5803 0.0.0.0:0 LISTENING 1988
80 TCP 127.0.0.1:1027 0.0.0.0:0 LISTENING 908
81 TCP 127.0.0.1:1049 127.0.0.1:1050 FIN_WAIT_2 1948
82 TCP 127.0.0.1:1050 127.0.0.1:1049 CLOSE_WAIT 1948
83 TCP 127.0.0.1:1051 127.0.0.1:1052 TIME_WAIT 0
84 TCP 192.168.0.2:28 192.168.0.3:1360 ESTABLISHED 1948
85 TCP 192.168.0.2:1055 192.168.0.2:5803 ESTABLISHED 652
86 TCP 192.168.0.2:5803 192.168.0.2:1055 ESTABLISHED 1988
87 UDP 0.0.0.0:1040 *:* 1468
88 UDP 127.0.0.1:123 *:* 1400
89 UDP 127.0.0.1:1041 *:* 1948
90 UDP 127.0.0.1:1054 *:* 652
91 UDP 192.168.0.2:123 *:* 1400
92 ========================================
93
94 Meanwhile, I read this in the Documentation:
95 " If VNC Server is configured to accept connections only via local loopback
96 then the Hosts option is ignored. " What does it mean by "Hosts option"?
97 The field where you can set which IP addresses to accept/query/reject?
98
99 What else can I try?
100 --
101 Regards,
102 Mick
103 --
104 gentoo-user@g.o mailing list