Auto detecting remote session protocol for remote access
View Patent ↗In an aspect of the disclosure, a method, a computer-readable medium, and an apparatus are provided. The apparatus may be a thin client. The thin client detects one or more remote session protocols supported by a first remote machine. The thin client determines a first remote session protocol from the one or more remote session protocols based on a first predetermined rule. The thin client determines a first protocol application from one or more protocol applications supporting the first remote session protocol based on a second predetermined rule. The thin client launches the first protocol application to establish a remote session with the first remote machine in accordance with the first remote session protocol.
1. A method of operating a thin client, comprising:
detecting one or more remote session protocols supported by a first remote machine, each of the one or more remote session protocols being for establishing a user interface of a remote desktop at the first remote machine;
determining, at the thin client, a first remote session protocol from the one or more remote session protocols based on a first predetermined rule, the first predetermined rule indicates priorities of the one or more remote session protocols;
determining a first protocol application from one or more protocol applications supporting the first remote session protocol based on a second predetermined rule; and
launching the first protocol application to establish a remote session with the first remote machine in accordance with the first remote session protocol.
2. The method of claim 1 , wherein the first remote machine is a virtual machine.
3. The method of claim 1 , wherein the first remote machine is a physical machine.
4. The method of claim 1 , wherein the first predetermined rule indicates that a candidate session protocol is to be selected when the candidate session protocol supports a maximum capacity of the thin client.
5. The method of claim 1 , wherein the second predetermined rule indicates priorities of the one or more protocol applications.
6. The method of claim 1 , further comprising:
retrieving credentials of a user from a storage device;
inputting the credentials to the first protocol application; and
establishing the remote session based on the credentials.
7. The method of claim 1 , further comprising:
receiving an indication of the first remote machine; and
determining to establish the remote session with the first remote machine based on the indication.
8. The method of claim 1 , further comprising:
receiving a request to establish a remote session with a remote machine satisfying a criterion;
identifying a remote machine manager;
requesting, from the remote machine manager, an indication of the remote machine satisfying the criterion;
receiving, from the remote machine manager, an indication of the first remote machine; and
determining to establish the remote session with the first remote machine based on the indication.
9. An apparatus, the apparatus being a thin client, comprising:
a memory; and
at least one processor coupled to the memory and configured to:
detect one or more remote session protocols supported by a first remote machine, each of the one or more remote session protocols being for establishing a user interface of a remote desktop at the first remote machine;
determine, at the thin client, a first remote session protocol from the one or more remote session protocols based on a first predetermined rule, the first predetermined rule indicates priorities of the one or more remote session protocols;
determine a first protocol application from one or more protocol applications supporting the first remote session protocol based on a second predetermined rule; and
launch the first protocol application to establish a remote session with the first remote machine in accordance with the first remote session protocol.
10. The apparatus of claim 9 , wherein the first predetermined rule indicates priorities of the one or more remote session protocols.
11. The apparatus of claim 9 , wherein the second predetermined rule indicates that a candidate session protocol is to be selected when the candidate session protocol supports a maximum capacity of the thin client.
12. The apparatus of claim 9 , wherein the at least one processor is further configured to:
retrieve credentials of a user from a storage device;
input the credentials to the first protocol application; and
establish the remote session based on the credentials.
13. The apparatus of claim 9 , wherein the at least one processor is further configured to:
receive an indication of the first remote machine; and
determine to establish the remote session with the first remote machine based on the indication.
14. The apparatus of claim 9 , wherein the at least one processor is further configured to:
receive a request to establish a remote session with a remote machine satisfying a criterion;
identify a remote machine manager;
request, from the remote machine manager, an indication of the remote machine satisfying the criterion;
receive, from the remote machine manager, an indication of the first remote machine; and
determine to establish the remote session with the first remote machine based on the indication.
15. A computer-readable medium storing computer executable code for operating a thin client, comprising code to:
detect one or more remote session protocols supported by a first remote machine, each of the one or more remote session protocols being for establishing a user interface of a remote desktop at the first remote machine;
determine, at the thin client, a first remote session protocol from the one or more remote session protocols based on a first predetermined rule, the first predetermined rule indicates priorities of the one or more remote session protocols;
determine a first protocol application from one or more protocol applications supporting the first remote session protocol based on a second predetermined rule; and
launch the first protocol application to establish a remote session with the first remote machine in accordance with the first remote session protocol.
16. The apparatus of claim 15 , wherein the first predetermined rule indicates that a candidate session protocol is to be selected when the candidate session protocol supports a maximum capacity of the thin client.
17. The apparatus of claim 15 , wherein the second predetermined rule indicates priorities of the one or more protocol applications.
18. The apparatus of claim 15 , wherein the code is further configured to:
retrieve credentials of a user from a storage device;
input the credentials to the first protocol application; and
establish the remote session based on the credentials.
19. The apparatus of claim 15 , wherein the code is further configured to:
receive an indication of the first remote machine; and
determine to establish the remote session with the first remote machine based on the indication.
20. The apparatus of claim 15 , wherein the code is further configured to:
receive a request to establish a remote session with a remote machine satisfying a criterion;
identify a remote machine manager;
request, from the remote machine manager, an indication of the remote machine satisfying the criterion;
receive, from the remote machine manager, an indication of the first remote machine; and
determine to establish the remote session with the first remote machine based on the indication.