We will describe a simple flexVDI configuration with no user authentication. This configuration is used to provide access to VDI in environments such as libraries and classrooms, where any user can access a terminal, and use it. There is no distinction among users in this configuration. However, since there is no authentication, you must configure the guest environment so that users do not have access to privileged resources (e.g. use guest accounts, put virtual desktops behind a firewall, limit bandwidth usage, etc). In environments like this, user desktops are all the same for a group of users: they are generated by cloning a Guest template. In this way, users can get fresh machines that are deleted and regenerated periodically.
Description of the scenario
In a kiosk scenario, this are the interactions among the components of the flexVDI Platform:
- The user takes a terminal (thin client, PC, or other) and opens flexVDI Client.
- flexVDI Client sends the terminal identifier (hardware device) to flexVDI Manager.
- flexVDI Manager associates this identifier with an unauthenticated terminal policy. As such, no credentials are requested and the flexVDI Manager just decides which desktop will be presented to the user, according to its configuration.
- flexVDI Client opens a connection to the user's desktop, who can start using it.
- Once the desktop is no longer used, flexVDI Manager can delete it to make room for new desktops for the next users.
Preparing a template
A template is just a Guest taken as the basis for creating clones. Templates cannot be started directly. To turn a regular Guest into a template with flexVDI Dashboard select the Guest, and click on the "Convert to template" option in the "Tools" dropdown:
The Guest must be stopped to be transformed. Now, convert the Guest you created in previous steps (which needs to have an installed OS to do something useful). Notice that the icon near "myGuest" has changed. It was a Guest icon before conversion:
From that moment on, the Guest cannot be started directly, and can only be cloned.
Creating a Desktop Policy
A Desktop Policy describes the life cycle and properties of the desktops that are assigned when users connect to the platform with flexVDI Client. In this example we will configure things like the source template from which desktops are cloned, and where their disk images will be stored. For more details on Desktop Policies, see the VDI section in our Administration Guide.
To create a Desktop Policy, open the VDI section in flexVDI Dashboard and navigate to "Desktop Policies". Then press the "New Desktop Policy" button. This will open a New Desktop Policy form:
Give the new Desktop Policy a name, select your Guest Template in the dropdown list and the Pool from which resources will be taken when a new desktop is started. Select also the Image Storage and Volume you created earlier, to store desktop images there, and leave other parameters with their default value. Then change to the Inactivity Management tab:
In this screen we will define the life cycle of our desktops. Being a kiosk desktop policy for public use, we will destroy desktops just as users disconnect from them. After that, flexVDI Manager will create a new desktop when the next user connects. To get this behavior, select "Stop & delete" after "0 minutes" in the 1st Operation field, as shown in the screenshot. Then click "Save".
Terminal Policy configuration
A terminal policy is a set of rules associated to one or more terminals. Given a terminal, it decides:
- Whether a user name and password is needed or not.
- The AD/LDAP server configuration to authenticate users.
- The list of desktop policies that the terminals and/or users will be able to access.
In our example, instead of creating a new terminal policy, we will modify the "default" policy that already exists. Any terminal that connects to the platform for the first time will be automatically registered to this policy, unless you register it manually to another policy. Select it from the tree view, you will see the following information in the details view:
By default, the "default" Terminal Policy is already not authenticated, as the "Authentication mode" is "none". In that case, the flexVDI Manager will assign desktops from the Desktop Policy that appears in the "Default desktop policy" field. Write the name of the Desktop Policy you just created, and press the "Save" button. You have completed configuring a basic VDI environment.
Accessing the desktops with flexVDI Client
Now we will show the steps to use the VDI environment you just created. You need a flexVDI Client, that you can download from the Downloads section of https://flexvdi.com. The images displayed in this guide correspond to the flexVDI Desktop Client.
Once installation is complete, go to the Start menu and in the flexVDI Client Program Group click on flexVDI Client. When you open it for the first time, it will suggest connecting to the flexVDI Demo Platform. Since you already have a working platform, answer "No" and you will be taken to the Settings page:
In the box next to the label "Connection address" enter the IP of the flexVDI Manager you configured during the server installation. Alternatively you can enter the name of the manager if you have set up a DNS service.
Note the "Terminal ID" string that appears in the lower left corner of the window. This is the identifier of the terminal from which the connection is made, and is used by the flexVDI Manager to refer to this particular terminal and distinguish it from others. In the screenshot shown above, it is "02:f1:00:35:00:01". Note it down, we will refer to it later.
Click the "save settings" button. After saving, flexVDI Client will connect to flexVDI manager. According to the policies that we have configured:
- It will decide that the applicable Terminal Policy is the "default" policy, because we have not set up another policy for terminal "02:f1:00:35:00:01" with flexVDI Dashboard.
- It will decide that the Desktop Policy you assigned earlier is to be applied.
- It will proceed to create a clone of the "myGuest" template, and send to flexVDI Client the data needed to establish a connection with it.
Finally flexVDI Client will open a connection with the new desktop, and it will present it on screen.
Assigning a terminal to a Terminal Policy
In our installation, we used the "default" Terminal Policy that is the one used for terminals that have not been explicitly registered in another Terminal Policy. If after connecting with flexVDI Client you select the "default" Terminal Policy in flexVDI Dashboard, you can see the terminal ID of the device which you used to connect in a table in the details view, and the time of the last access from that device:
From this screen it is easy to assign the terminal to another Terminal Policy. Use the "Reassign" button in the "Registered Terminals" table, next to your terminal.
Following the steps in this guide, a clone of MyGuest was automatically created when the connection from flexVDI Client was established. It is possible to see the VDI sessions that have been created by selecting the Desktop Policy in flexVDI Dashboard and switching to the "Sessions" tab. These Guests that are automatically created and destroyed after a while are called Volatile Guests:
From this list of VDI sessions you can operate on the corresponding virtual machines. For instance, use the tool buttons to stop them, or click on the Guest's name to navigate to its details window and connect to its console.