#143 rdesktop hang after connection successful

open
nobody
None
5
2012-11-29
2008-02-22
JayXie
No

With --with-debug configure argument, I got the following messages, and rdesktop does not go forward any more.
I thought it was waiting for something from server because I found it hang at poll() from libc.so.6, and tcpdump got the last packet from client to server is an tcp ACK packet.
=====
RDP depth: 24, display depth: 24, display bpp: 32, X server BE: 0, host BE: 0
server bpp 24 client bpp 32 depth 24
g_num_channels is 1
Requesting channel cliprdr
Server RDP version is 4
We're going for the RDP4-style encryption
Got Public key, RDP4-style
Generating client random
rc_4_key_size == 2, 128-bit encryption enabled
Sending CJRQ for channel #1005
Sending CJRQ for channel #1003
Sending CJRQ for channel #1004
Sending RDP5-style Logon packet
Called sec_init with packetlen 280
Sending encrypted packet:
0000 00 00 00 00 33 01 00 00 00 00 02 00 00 00 00 00 ....3...........
0010 00 00 00 00 78 00 00 00 00 00 00 00 00 00 02 00 ....x...........
0020 18 00 31 00 30 00 2e 00 31 00 2e 00 33 00 32 00 ..1.0...1...3.2.
0030 2e 00 32 00 31 00 30 00 00 00 3c 00 43 00 3a 00 ..2.1.0...<.C.:.
0040 5c 00 57 00 49 00 4e 00 4e 00 54 00 5c 00 53 00 \.W.I.N.N.T.\.S.
0050 79 00 73 00 74 00 65 00 6d 00 33 00 32 00 5c 00 y.s.t.e.m.3.2.\.
0060 6d 00 73 00 74 00 73 00 63 00 61 00 78 00 2e 00 m.s.t.s.c.a.x...
0070 64 00 6c 00 6c 00 00 00 20 fe ff ff 47 00 54 00 d.l.l... ...G.T.
0080 42 00 2c 00 20 00 6e 00 6f 00 72 00 6d 00 61 00 B.,. .n.o.r.m.a.
0090 6c 00 74 00 69 00 64 00 00 00 00 00 00 00 00 00 l.t.i.d.........
00a0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
00b0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0a 00 ................
00c0 00 00 05 00 03 00 00 00 00 00 00 00 00 00 00 00 ................
00d0 47 00 54 00 42 00 2c 00 20 00 73 00 6f 00 6d 00 G.T.B.,. .s.o.m.
00e0 6d 00 61 00 72 00 74 00 69 00 64 00 00 00 00 00 m.a.r.t.i.d.....
00f0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
0100 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
0110 00 00 03 00 00 00 05 00 02 00 00 00 00 00 00 00 ................
0120 c4 ff ff ff fe ff ff ff 07 00 00 00 00 00 ..............
Connection successful.

Discussion