The QVD 4.2 user portal is a web tool to being connected to the QVD Virtual Desktops.
The current guide describes the steps to install the User Portal (UP) of QVD. The requirements and necessary steps to setup the UP will be described, both in server side and user side.
2. User side
In the user side, the User portal is basically a web portal with which the connection with the Virtual desktops is made. This connection can be established in two ways:
Through the browser using HTML5 technology
Launching the QVD classic client from the browser
Both methods have different requirements, so we will describe them separately.
2.1.1. HTML5 client
Connection with the server: To use the HTML5 client will be necessary that the computer have connection with the QVD server. This does not necessarily imply having an Internet connection, since it is possible to use QVD in a local network.
A modern web browser: Any updated web browser is enough to use the User Portal. If there is a limitation with the browser versions, the following compatibility matrix should be in mind.
Browsers compatibility matrix
Below, the versions of browsers from which compatibility is guaranteed are defined. Some previous version may be valid for the application, but it is not recommended.
2.1.2. Classic client
Connection and Web browser: To use the User portal to launch the QVD classic client, the requirements described above for the HTML5 client must be fulfilled, because the web portal is used anyway.
QVD Client 4.2 or higher: In addition, you must have a QVD Client installed in the system. This client will be launched in the background by the web application.
2.2.1. HTML5 Client
To use the HTML5 client, no installation required, simply enter the provided URL in your browser and use the provided credentials by the administrator.
The user portal includes everything necessary to use the HTML client once it has been accesed with personal credentials.
2.2.2. Classic client
There is a QVD client for each operating system. The download for its installation is accesible from the User portal in the downloads section.
For more details about the installation, consult the quick installation guide of the client in the operating system that you need or the QVD client general documentation.
3. The server side
QVD 4.2 or higher
Docker CE 17.04 or higher
- Install Docker
The minimum version required is Docker Community Edition 17.04.
For installing, use this link documentación oficial
- Download docker image
Use the following command to download all the requirements for using Docker from Dockerhub:
docker pull theqvd/qvd-nx2v-gateway:latest
- Add the QVD repository
root@myserver:~# echo "deb http://theqvd.com/packages/ubuntu-bionic main" > /etc/apt/sources.list.d/qvd.list root@myserver:~# apt-get update
- Installing the User portal
root@myserver:~# apt install perl-qvd-up
- Start the service
When installing UP, the service qvd-up-api will be registered.
To start the service we will write:
Para arrancar el servicio escribimos:
root@myserver:~# systemctl start qvd-up-api
In order to the User portal connection being established with the database as well as with the QVD containers, it is necessary to be configured pointing to the necessary components.
|After changing any configuration, a token will be necessary to restart the User portal service:|
root@myserver:~# systemctl restart qvd-up-api
The configuration is located in the file /etc/qvd/up-api.conf
|This configuration could be overwritten by the QVD database|
The User portal and the QVD installation use the same database. It can be in the same machine than the QVD installation or in another, and its configuration is given by the following configuration tokens.
database.host = example.com database.name = qvddb database.user = qvd database.password = qvd
To authenticate users, you must configure the address where the L7R is listening, which is the same address used in the classic client settings.
This address is configured with the following token:
up.api.l7r.address = example.com
3.3.3. Docker image
In the connection process, the User portal creates a container in docker. To do this, you must configure the name of the docker image created in the installation process using the following token:
up.api.docker.image.h5gw = theqvd/qvd-nx2v-gateway:latest
In addition, there are other tokens to configure the log level as well as the files where both the standard and the error outputs of the User portal’s backend code will be redirected.
log.level = DEBUG up.api.stderr.filename = /var/log/up-api.log up.api.stdout.filename = /var/log/up-api.log
|The easiest way of change those tokens is from the QVD Configuration section on WAT if you have the proper permissions or using the QA4 tool with the command qa4 config set tenant_id=-1,key=token.name,value=tokenValue|