cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - When posting, your subject should be specific and summarize your question. Here are some additional tips on asking a great question. X

Why Thingworx need Tunnel session for Remote Desktop control (VNC) connection?

jhooda
1-Visitor

Why Thingworx need Tunnel session for Remote Desktop control (VNC) connection?

What is use of Tunnel session created by EMS for Remote Desktop control session, where as we can connect to VNC server via any VNC client without tunnel session.

5 REPLIES 5
Aanjan
12-Amethyst
(To:jhooda)

Jitender, the EMS essentially creates a websocket through which the connection/ communication/ data flows through. Are you talking about a specific session that gets created and remains open until the tunnel duration?

jhooda
1-Visitor
(To:Aanjan)

Question is what is the need of that session, because any vnc client like vnc viewer/tight VNC can connect without any kind of tunnel session then why Thingworx need this tunnel session for RDP connection.

supandey
19-Tanzanite
(To:jhooda)

Jitender, I believe its because of the proprietary protocol in action as you know WS EMS works with AlwaysOn, whereas a VNC client employs Remote Frame Buffer protocol (RFB).

AlwaysOn is designed for securing the communication while still keeping the low latency bi-directional communication yet reducing power consumption and bandwidth. Yet you have the RESTful HTTP interface, allowing other applications to communicate to it. Thus extending the reach to the edge devices which provide minimalistic platform for a software to execute

RFB is a simple protocol mainly designed for GUI later evolved to include features like file transfer and compression. That's why you need VNCServer or SSH or MicrosoftRDP for doing remote desktop to the Edge device running WS EMS.

Hope this helps.

cgerdes
5-Regular Member
(To:jhooda)

Hi Jitender,

the short answer is:

You are right, you may use a VNC client, but you don't have to.

And if you wanna do some automated stuff for a bigger set of devices it is very convenient to have this tunnel.

Happy thinging... ;o)

CG

rupadhyay
12-Amethyst
(To:jhooda)

Hi jitender hooda​ ,

I am trying to give in brief uses/advantages of Tunneling. Considering Thingworx as an IOT application providing connectivity to huge number of devices and sensors.

Few important advantages are :

  1. A tunneling protocol allows a network user to access or provide a network service that the underlying network does not support or provide directly.
  2. One important use of a tunneling protocol is to allow a foreign protocol to run over a network that does not support that particular protocol; for example, running IPv6 over IPv4.
  3. Another important use is to provide services that are impractical or unsafe to be offered using only the underlying network services; for example, providing a corporate network address to a remote user whose physical network address is not part of the corporate network.
  4. Because tunneling involves repackaging the traffic data into a different form, perhaps with encryption as standard, a third use is to hide the nature of the traffic that is run through the tunnels.

So for your question above , if we consider 3rd point , we are somewhat able to correlate why tunnel session is created for EMS server.

Let me know if you find this helpful.

Thanks

Ravi Upadhyay

Announcements


Top Tags