HTML5 application, Web RDP Remote Desktop Connection

Source: Internet
Author: User
Tags rdp remote desktop

10.23 supplement

I recently found an open-source Web RDP engine on the Internet. You can refer to the introduction through the interface. It feels good.

Http://guac-dev.org/

Recently, I have been wondering how to easily deploy and develop bastion hosts. Linux bastion hosts are inconvenient in many places, especially the lack of human-computer interaction and common software, and the deployment of Windows bastion hosts is inadequate, in particular, you need to install the client. Therefore, you are wondering whether there is a web-only Remote Desktop Connection. Later, I found that some of them are true, but some HTML5 features are used. Some browsers do not support them yet, but in the long run, the trend is obvious, especially for tablet and mobile apps. HTML5 is preferred.

Principles: directly transcript an online article.

Earlier this week, I wrote about my initial
Thoughts on the chromebook, and I talked a little bit about HTML5 remote desktop clients, specifically accessnow from ericom. in the comments, we also heard from the creator of spark view, Walter Wang. walter's
Comment, plus a subsequent phone call with ericom, helped to shed some light on exactly how chrome (and other HTML5 compliant browsers, which is all of the big ones now, I think) use HTML5 technologies to show remote tracing tops. in that article, I speculated
That ericom was somehow wrapping RDP and shipping it to the client. it turns out that what actually is happening is a bit more complex, and it involves translating RDP data for consumption by the browser. before I get too far ahead, though, let's break this
Down.

There are two key technologies that enable remote desktop clients within a browser, websockets andcanvas.
Websockets is how the Remote Desktop data is sent from your environment to the browser, and canvas is the technology that allows it to be redrawn on the screen.

Websockets is a protocol/API that is built in to all the recent browsers that allows for continuous transmission of data via one TCP socket, as opposed to HTTP, which requires each request to have
A response. multiple requests, then, require multiple connections, which is pretty complex and inefficient for anything that needs to have a realtime feel to it. websockets changes this by essential opening a channel between the client and the server that
Remains open between requests. The main drawback of websockets is that it only supports textual data, not binary data (which is what remote protocols use), which we'll get into later.

Canvas was created by Apple way back in 2004, and has grown into being a native HTML5 element. Canvas enables the ability to control every single pixel discretely through the use of JavaScript, which
Allows the browser to render 2D graphics dynamically. When you see animations or games that play in the browser and don't use flash (I. e. HTML5 games like angry
Birds for chrome), you're seeing canvas in action. for Remote Desktop connections, the client (in this case, mostly a javascript program) consumes the data coming in Via websockets and draws the desktop on the screen via canvas.

Right now you may be thinking "canvas... no binary data support... that's not RDP at all, "which is absolutely correct. but if what you're using at the client isn' t RDP, then how is this working? The
Secret there is with a gateway of sorts. ericom callthis accessnow server (which is really just a lightweight service), and spark view callit a spark gateway. in both cases, these gateways establish an RDP session with the remote host and translate (or
Re-encode) that binary data into textual data for use with websockets. That text data is sent on to the browser where the client interprets that data and draws it on the screen with canvas.

The entire process looks something like this (click for larger image ):

Ericom has also introduced a version of accessnow that works with Vmware view. There's an added step that involves hosting the Web client on a view server so that it can take advantage of the View
Open client, which handles authentication and desktop selection before handing the connection off to the accessnow server (remember, that's more of a service than a server ). ultimately, they view this as a way to expand endpoint support for VMware view
Anything with an HTML5-compliant browser, which will level the playing field with Citrix when it comes to number of client devices supported by the platform.

At this point, accessnow does not support virtual keyboards like what you wocould find on iOS or Android devices. It appears that only spark view supports those types of devices today, although I havene' t
Had a chance to actually look at the product yet. we know Walter reads this blog, though, so maybe he can comment ericom has said that they are close to providing it, they just want to make sure they get it right before releasing the next version.

Since the Citrix HTML5 client hasn' t been released yet, I'm not sure how it works. I imagine it has the same basic architecture, though, while utilizing some of Citrix's existing components (Web interface,
Connection broker, NetScaler, Etc ...). it's my plan to do a HTML5 Remote Desktop client Roundup when Citrix releases theirs, but if that winds up being too far out, I'll do it without them. it's all so new, though, it seems only fair to give it a little more
Time.

Based on his comment, walter believes that websockets will be amended to include binary data at some point in the future, which may or may not eliminate the need for a gateway in the middle. there's
Not much doubt, though, that this article will be obsolete in the near future as more advances are made with HTML5 and Remote Desktop connections.

In principle, it is easier to understand, but it is still difficult to do it.

Case:

From the information found on the internet, it seems that the domestic R & D atmosphere is very weak, and everyone is busy making money, or they are very confidential, maybe they are confidential.

Thinrdp

Website: http://www.cybelesoft.com/

Remotesspark

Website: http://www.remotespark.com/

Powerterm webconnect

Website: http://www.ericom.com

This company seems to be quite powerful and has already entered the Chinese market.

Online Demo: http://www.ericom.com/AccessNow_DemosIntro.asp

Click to enter

Select EXCEL to go to the following page:

It's cool. You should know that there is no plug-in the pure web, and there is no rich client content such as flash.

If anyone is interested, we can study it together.

Another web tool using proxy

Web-based VNC client guacamole

 

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.