Recently, remote desktop has started crashing on me with win2k, xp and 2k3 servers. With win2k and 2k3 I was unable to get past the initial logon screen, and under xp rdesktop would dump core any time a new window was opened.
Finally this annoyed me enough to look into it. The problem seems to be with XCreateImage returning NULL sometimes, though I've been unable to determine why... searching for "xcreateimage failed" I find that this may be related to extra validation in libX11. here's a patch that makes my test machines happy. CK -- GDB has a 'break' feature; why doesn't it have 'fix' too?
rdesktop.diff
Description: Binary data