Hi,


I'd like to use RDP to connect to Microsoft Hyper-V hosts for guest management from a Linux / Mac OS X client.

Basically the RDP service is offered by the hyper-V host on port 2179, requiring a different authentication service and PCB data containing the target guest name.

Do you guys think it's possible to implement this feature in RDesktop?
I'd be glad to help in developing missing features in case.

Here's a PCAP file containing the packets exchanged during a connection:  http://dl.dropbox.com/u/9060190/vmrdp.pcap.zip generated with:  dumpcap -f "tcp port 2179" -w vmrdp.pcap

Here's also a .Net code example that I used to generate it, wrapping mstscax.dll.

The server OS is Hyper-V Server 2008 R2 SP1.


            AxMsRdpClient7NotSafeForScripting m_RdpClient = new AxMsRdpClient7NotSafeForScripting();
            m_RdpClient.Dock = DockStyle.Fill;

            this.Controls.Add(m_RdpClient);

            m_RdpClient.DesktopWidth = 1024;
            m_RdpClient.DesktopHeight = 768;
            //m_RdpClient.FullScreen = true;

            m_RdpClient.Server = "Server";

            m_RdpClient.UserName = "Administrator";
            m_RdpClient.AdvancedSettings2.ClearTextPassword = "******";

            m_RdpClient.AdvancedSettings2.RDPPort = 2179;
            m_RdpClient.AdvancedSettings7.PCB = "7C50BF91-2D18-4683-8737-74774519F3B9";

            m_RdpClient.AdvancedSettings7.AuthenticationServiceClass = "Microsoft Virtual Console Service";
            m_RdpClient.AdvancedSettings8.EnableCredSspSupport = true;
            m_RdpClient.AdvancedSettings8.NegotiateSecurityLayer = false;

            m_RdpClient.Connect();


Interop assemblies assemblies generated with:
aximp %windir%\system32\mstscax.dll


Thanks!

Alessandro Pilotti
Cloudbase Solutions Srl
------------------------------------------------------------
IT Consultant & Technical Speaker
 
MVP ASP.Net / IIS
Microsoft Certified Professional & Trainer
MCSD, MCAD, MCSE, MCDBA, MCTS, MCT
RHCE - Red Hat Certified Engineer 
------------------------------------------------------------