Windows桌面RDP客户端

Windows桌面RDP客户端

本文介绍了Windows桌面RDP客户端的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述





我根据以下博客使用Windows桌面共享API开发了一个客户端和服务器应用程序: 



http://blogs.msdn.com/b/rds/archive/2007/03/23/writing-a-desktop-sharing-application.aspx



客户端和服务器应用程序都正常工作但我想知道是否可以使用第三方RDP客户端(例如Windows远程桌面或FreeRdp)连接到我的服务器应用程序?
$


我已经多次尝试连接我的服务器应用程序上的两个客户端,但没有一个工作。我不确定是否由于身份验证或其他原因引起的问题。



我在我的应用程序中生成邀请字符串的方式是:



IRDPSRAPIInvitation pInvitation = m_pRdpSession.Invitations.CreateInvitation(" WinPresenter"," PresentationGroup"," ",8);



和生成的输出XML是:



< E>< A KH =" QbNcOYYPa8ZrO5MJRumuMMix6CQ =" ID =" WinPresenter" />< C>< T ID =" 1" SID ="0">< L P =" 55372" N =" 192.168.173.1" />< / T>< / C>< / E>



所以,假设是Windows Remote桌面或FreeRdp能够与我的服务器应用程序一起工作(连接),我应该设置哪些值(用户,密码等)才能连接?到目前为止,我已经尝试过"WinPresenter"。作为用户名和"" (空
字符串)作为密码但不起作用。



BR



Gava

解决方案

Hi,

I've developed a client and server application using Windows Desktop Sharing API according to the blog below: 

http://blogs.msdn.com/b/rds/archive/2007/03/23/writing-a-desktop-sharing-application.aspx

Both client and server app are working properly but I'd like to know if it's possible to use a third party RDP client like, for example, Windows Remote Desktop or FreeRdp, to connect to my server application?

I have tried several times to connect with both clients on my server application and none of them worked. I'm not sure if the problem due to authentication or something else.

The way that I'm generating the Invitation String used on my application is:

IRDPSRAPIInvitation pInvitation = m_pRdpSession.Invitations.CreateInvitation("WinPresenter", "PresentationGroup", "", 8);

and the generated output XML is:

<E><A KH="QbNcOYYPa8ZrO5MJRumuMMix6CQ=" ID="WinPresenter"/><C><T ID="1" SID="0"><L P="55372" N="192.168.173.1"/></T></C></E>

So, supposing that either Windows Remote Desktop or FreeRdp are able to work (connect) with my server app, what values should I set (User, Password, etc) to be able to connect? So far I've tried "WinPresenter" as user name and "" (empty string) as password but didn't work.

BR

Gava

解决方案


这篇关于Windows桌面RDP客户端的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-04 12:27