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 ----------
Am 09.09.2010 09:49, Stefan Bauer schrieb:
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!?
GRRRR! Missing Depends.
Please add Depends: libxcomposite1 to x2goserver-one and ia32-libs for amd64 arch.
x2go:/var/mail# x2goagent :3 /usr/lib/x2go/x2goagent: error while loading shared libraries: libXcomposite.so.1: cannot open shared object file: No such file or directory
libXcomposite.so.1 is in the packages mentioned above.
Stefan
-- Stefan Bauer ----------------------------------------- PGP: E80A 50D5 2D46 341C A887 F05D 5C81 5858 DCEF 8C34 -------- plzk.de - Linux - because it works ----------
On Thu, 2010-09-09 at 09:49 +0200, Stefan Bauer wrote:
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. That's not a good sign that they are increased. It means X2Go thinks many other such ports are already open. The are, respectively, the video, the sound, the file/print sharing. They are the way the X2GoServer sends video/sound/print jobs/files back to the X2GoClient.
Do you have sshd running on BOTH client and server? Is it running on a non-standard port on either side? <snip>