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 not find anything.
I'd guess it's documented somewhere there but I haven't found that
exact spot yet.
The RDP connection itself seems to be regular but on a different
TCP port. What I'm not sure yet is how the initiation is done.

As I initially thought it's all done with RDP I started the FreeRDP
shadow server for testing and tried to connect with the /shadow:
parameter from a Windows 10. What happened is that mstsc said "The
computer name is invalid" after a while. When doing a TCP dump you will
see that before the RDP itself happens some SMB messages are exchanged
on port 445 (also after the RDP session is torn down).

Best regards,
Bernhard

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
___
FreeRDP-devel mailing list
FreeRDP-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freerdp-devel


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: https://msdn.microsoft.com/en-us/library/dn365131.aspx
RpcShadow2: https://msdn.microsoft.com/en-us/library/dn392652.aspx

This call is made in mstsc.exe to create the shadowing session, and
mstscax.dll is then configured correctly for the local shadowing session
connection.

Best regards,
-Marc-Andre


On Wed, Mar 1, 2017 at 3:58 AM, Norbert Federa 
wrote:

> On 01.03.2017 09:32, Jaime Crespo wrote:
> > Hello,
> >
> > 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 not find anything.
> >
> > Regards,
> >
> > Jaime.
> >
> >
> > On Tue, Feb 28, 2017 at 1:29 PM,  wrote:
> >
> >> 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 /v:SERVER01.local
> >>> /noConsentPrompt /control /prompt
> >> FreeRDP doesn't support this. As far as I'm aware of the new session
> >> shadowing requires SMB/WMI/.. to initiate the shadowing itself which
> >> FreeRDP can't do.
> >>
> >> Best regards,
> >> Bernhard
> >>
>
> Jaime, you should request the specifications in the Microsoft Windows
> Protocols forum:
>
> https://social.msdn.microsoft.com/Forums/en-US/home?forum=
> os_windowsprotocols
>
>
> Regards,
>
> Norbert
>
> 
> --
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, SlashDot.org! http://sdm.link/slashdot
> ___
> FreeRDP-devel mailing list
> FreeRDP-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/freerdp-devel
>
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
___
FreeRDP-devel mailing list
FreeRDP-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freerdp-devel