Re: [FreeRDP-devel] freerdp shadowing support

2017-03-21 Thread Jaime Crespo
Hello, Many thanks for pointing that piece of code it really helped. There is a nice example as well here: https://www.codeproject.com/Articles/714651/Desktop-Sharing-using-RDP-APIs-and-Socket For what I can see Windows Desktop Sharing API creates AuthConnectionString2 and remote assistance

Re: [FreeRDP-devel] freerdp shadowing support

2017-03-03 Thread Marc-André Moreau
Hi Jaime, You can refer to the following code to see how to parse the connection string, extract its components, and feed the proper parameters to the freerdp client afterwards. We have a special "shadow" server that has multiple capture techniques on Windows, one of which involves creating a

Re: [FreeRDP-devel] freerdp shadowing support

2017-03-03 Thread Jaime Crespo
Hello, Many thanks for the info. Using SessEnvRpc.idl or Windows Desktop Sharing API you can obtain an auth string and password that can be used in Windows Desktop Sharing API IRDPSRAPIViewer::Connect method to connect to the session running in the target session (specified by TargetSessionId).

Re: [FreeRDP-devel] freerdp shadowing support

2017-03-01 Thread bernhard . miklautz
Hi, On Wed, Mar 01, 2017 at 09:32:11AM +0100, Jaime Crespo wrote: > Thanks for your answer. Do you know where could I find more > documentation/info about how that process works? > I have been looking around the tech docs on: > https://msdn.microsoft.com/en-us/library/jj712081.aspx > but I could

Re: [FreeRDP-devel] freerdp shadowing support

2017-03-01 Thread Marc-André Moreau
Hi, The session shadowing that was reintroduced in Windows 8.1 with the new mstsc.exe command-line arguments is implemented with an RPC call. This means we could probably generate the RPC stubs on Windows, but for non-Windows, it would be too difficult to support. SessEnvRpc.idl:

Re: [FreeRDP-devel] freerdp shadowing support

2017-02-28 Thread bernhard . miklautz
Hi, sorry the late answer. On Tue, Feb 21, 2017 at 01:11:54PM +0100, Jaime Crespo wrote: > Can not see any cmd line option to mimic shadowing a session with control > on FreeRDP. > Is it supported on freerdp at all? > > win command: > C:\Windows\system32>mstsc.exe /shadow /s:3