How can I have an RDP webapp launch the native client instead of the web client?
RDP User Select option:
Selects the type of remote client that will be loaded at the workstation.
Web Client will load the ActiveX (for IE) or Java WebRDP (Firefox, Opera, or Safari) control within the browser.
Web Client - Java will load the Java WebRDP control within the browser for all browsers.
Native Client will attempt to start the workstation’s native RDP client. This client is different depending on the workstation’s operating system (Windows - Microsoft’s Remote Desktop Connection, Mac - Microsoft’s Remote Desktop Connection, or Linux - RDesktop client).
The User Select option will look at either a Directory or Workstation cookie to determine the proper client. If no cookie is set it will default to the Web Client.
With the User Select option, we can’t be as granular with the two web clients. We can only specify if it will be a web client or the native client. If you have ActiveX (IE) then you will launch the ActiveX client, if you do not (Firefox, Chrome, or Safari) then you will get the Java client).
To use the User Select option, you will need to add some logic to your profile’s login script, to set which type of client should be loaded for your supported operating systems.
Sample loginscript:
if clientos = Windows then
useClient( NativeRDP )
end
if clientos = MacOSX then
useClient( NativeRDP )
end
if clientos = Linux then
useClient( WebRDP )
end
The Sample login script above will load the native client on Windows and OS X, while loading the web client on Linux.
On your RDP webapp choose, choose User Select for the Client Type, which will then read the cookie set by the login script to determine which client should be used for the specific OS.
Note - When using the Mac OSX NativeRDP option, you need to have RDC client 2.0.0.1 installed on your Mac.
Also, We can only pass username and domain when using the native client, we can not pass the users password. That is the one caveat of using the native client versus the web client.