[X2go-dev] Local Port for NXPROXY - no listen socket

Stefan Bauer stefan.bauer at cubewerk.de
Thu Sep 9 09:49:27 CEST 2010


Morning,

i investigated the problem "debian lenny x2goserver-one - remote NX
proxy closed the connection" a little further:

Sep  9 09:38:13 x2go sudo:     toni : TTY=unknown ; PWD=/home/toni ;
USER=root ; COMMAND=/usr/bin/x2gopgwrapper createsession
82c97d9dce4c8f5ba52c8d98f4d560ca 7016 192.168.0.16 30031 30032 30033
toni-60-1284017892_stRxterm_dp32

According to x2gowrapper it is dumping

gr_port='$5',sound_port='$6',fs_port='$7' so 30031,30032,30033 to
sqlite.

Anyway what is expected to run on these ports and how are they
assigned? Everytime i try a connect, they are just increased.



Sep  9 09:38:14 x2go sshd[7026]: error: connect_to localhost port
30031: failed.


This is expected, as nothing is listening on these ports:

x2go:/var/mail# tcpdump -i lo
tcpdump: verbose output suppressed, use -v or -vv for full protocol
decode
listening on lo, link-type EN10MB (Ethernet), capture size 96 bytes
09:38:14.446881 IP localhost.60169 > localhost.30031: S
09:38:14.447767 IP localhost.30031 > localhost.60169: R
09:38:14.447860 IP6 localhost.32904 > localhost.30031: S
09:38:14.448022 IP6 localhost.30031 > localhost.32904: R


so it tries to connect to port 30031 first by ipv4 then ipv6 but
nothing is listening on this port hence the R flag -> reset.

What is wrong here!?

Stefan

-- 
Stefan Bauer -----------------------------------------
PGP: E80A 50D5 2D46 341C A887 F05D 5C81 5858 DCEF 8C34
-------- plzk.de - Linux - because it works ----------



More information about the x2go-dev mailing list