On 6/23/2010 9:42 AM, Jay Sorg wrote:
Hey guys. So I was looking at the code for xrdp. I know I need to have the connection between sesman and xrdp be maintained for the entire session, and then have sesman kill the session when xrdp sees a user disconnect. I could go looking through all the code, but I was just wondering if someone knew where in the code xrdp connects/disconnects from sesman. ThanksHi Murtaza, The connection goes up in file xrdp/xrdp_mm.c function xrdp_mm_connect It uses an object called struct trans to talk to sesman. trans_connect is the call to do the connect. The connection goes down in xrdp_mm_process_login_response self->delete_sesman_trans = 1; will cause the disconnect later. Then on the sesman side, I have to look more. Jay
Hey Jay. Let me know what you remember/find from the sesman side. Also, the enviornment I was running xrdp before was using xrdp-0.4.0~dfsg as the main xrdp server. I downloaded the cvs version of xrdp, and did the standard make && make install and it worked fine, the compiling and installing at least. Then when I rdesktop'ed like I usually would have. As it was connecting, it would get to "connecting to 127.0.0.1 5910". Then I would get an error - problem connecting. Is there a debug or verbose mode to xrdp or something of the like? What could be different between the two version to break it?
-Murtaza
smime.p7s
Description: S/MIME Cryptographic Signature
------------------------------------------------------------------------------ This SF.net email is sponsored by Sprint What will you do first with EVO, the first 4G phone? Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________ xrdp-devel mailing list xrdp-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xrdp-devel