Le 16/09/2014 20:14, Bernhard Miklautz a écrit : > Hi Thomas, > > On Tue, Sep 16, 2014 at 06:44:52PM +0200, Thomas Calderon wrote: >> This happens when you connect to the RDP server using legacy "rdp" mode. >> The graphical logon screen is displayed and my plugin code runs. The issue >> is that very early in the client code, I have an "Invalid descriptor" error >> when using WTSVirtualChannelOpenEx. > did GetLastError give any further details? > >> I am wondering if you are allowed to use DVCs while the user has not yet >> authenticated himself. >> Could anyone confirm this ? > Interesting question. > Not sure if it's allowed or not but I could imagine that if the dynamic > virtual channel (drdynvc) is not (yet) loaded the open call will fail. > Did you try to open the channel "delayed"? - E.g. if you get an invalid > handle wait for some time and retry opening? I'd tend to say that there's no reason why you couldn't open the DVC while not authenticated. I don't think the spec say anything about this (the spec doesn't even contain the authenticated word), but perhaps the implementation (microsoft RDP server) is doing its own assertions.
Regards. PS: did anyone has seen that packet http://msdn.microsoft.com/en-us/library/cc240636.aspx sent, as it may be an indication that the user is logged on ? ------------------------------------------------------------------------------ Want excitement? Manually upgrade your production database. When you want reliability, choose Perforce Perforce version control. Predictably reliable. http://pubads.g.doubleclick.net/gampad/clk?id=157508191&iu=/4140/ostg.clktrk _______________________________________________ FreeRDP-devel mailing list FreeRDP-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freerdp-devel