
Virtual Desktop Infrastructure (VDI) delivers a secure, fully managed desktop operating system from a central server. Cendio ThinLinc is an open-source, enterprise-ready remote desktop solution designed for this purpose on Linux.
In this guide, you'll deploy a ThinLinc server on a Vultr Cloud GPU instance, configure GPU acceleration, and connect to your virtual desktop from both a web browser and the ThinLinc client application.
Before you begin, ensure you:
ThinLinc provides a Virtual Desktop Infrastructure (VDI) layer that allows multiple users to connect to your Ubuntu Desktop through a web browser or a dedicated client. Follow the steps below to download and install the ThinLinc server.
Update your system's package index.
Visit the Cendio ThinLinc download page and download the latest server package.
Extract the downloaded archive file.
Navigate to the extracted directory.
Start the ThinLinc installation.
The script installs the core server package and then launches the setup wizard. You'll get several configuration prompts.
Run ThinLinc setup now?: Enter Yes.Accept the license agreement?: Enter yes.Server type?: Enter Master. The wizard then checks for required system dependencies, such as ghostscript, nfs-common, and Python modules. Respond yes to the prompts to allow the wizard to install any missing packages automatically.
When prompted, configure the server's network and administrative details:
Externally reachable address to use?: Enter ip.Administrator email?: Enter your email address, for example, user@example.com.Web Administration password?: Enter a strong password. Finally, the wizard handles system integrations. Respond yes to the prompts to automatically configure the firewall and AppArmor for ThinLinc. After these steps, the script starts the necessary services to finish the installation.
After installation, verify that all ThinLinc services are running.
A brief explanation of each service is shown below:
vsmserver: Manages user authentication, session handling, and reconnections.vsmagent: Launches and maintains user desktop sessions on the server.tlwebaccess: Provides browser-based access to ThinLinc desktops over HTTPS.ThinLinc requires VirtualGL to take advantage of the NVIDIA GPU on your Vultr instance. VirtualGL redirects OpenGL commands from applications running in ThinLinc sessions to the GPU for smooth 3D rendering. Follow the steps below to install VirtualGL.
Download the GPG key for the VirtualGL repository.
Add the VirtualGL repository to your system sources.
Update the package index to include the new repository.
Install VirtualGL and Glmark2 for GPU rendering and OpenGL testing.
Verify the installation.
Output.
Configure VirtualGL to set permissions and access rules for GPU rendering in ThinLinc sessions.
When prompted, choose the following options:
Select Option 1 to configure the server for use with VirtualGL (GLX + EGL back ends):
Restrict 3D X server access to the vglusers group (recommended):
Restrict framebuffer device access to the vglusers group (recommended):
Disable the XTEST extension for security (recommended):
Exit the configuration menu:
Add your ThinLinc user to the vglusers group to access the GPU.
Stop the display manager and NVIDIA persistence daemon.
Unload NVIDIA kernel modules to be reloaded with VirtualGL configurations applied.
Restart your server to apply the configuration changes.
Follow the steps below to install the ThinLinc client package and access your Ubuntu desktop remotely.
Log in to your local desktop system and download the ThinLinc client package from the Cendio website.
Install the downloaded package file.
Open the ThinLinc Client from the application menu.
Enter your server’s IP address, username, and password, and click Connect. You should see your Linux desktop environment running on the Vultr Cloud GPU instance.
ThinLinc also lets you access your Ubuntu desktop session via a web browser. Follow the steps below to access your Desktop session and verify that the VDI solution is working with GPU acceleration.
Open your web browser and access your Ubuntu desktop on port 300.
Log in with your ThinLinc credentials. After logging in, you will see your full desktop session inside the browser window.
From within your ThinLinc desktop session, open a terminal and run the glmark2 benchmarking tool to test the performance of your graphics hardware.
You should see the OpenGL benchmark results, confirming GPU acceleration is working.
Open another terminal and run the command below to confirm that your session is utilizing the NVIDIA GPU on the Vultr instance.
The ThinLinc Control Panel is a web-based interface that provides administrators with tools to manage their ThinLinc environment. It allows you to configure settings, manage users and sessions, and monitor the status of the server.
Open your web browser and access your ThinLinc control panel on port 1010.
Log in with the default username admin and the password set during installation. You will see the interface as shown in the screenshot above. The menu on the left provides quick access to different administrative areas.
You can now administer your VDI environment directly from a browser.
In this guide, you deployed a Linux Virtual Desktop Infrastructure (VDI) solution on a Vultr Cloud GPU instance using Cendio ThinLinc. You installed and configured the ThinLinc server, enabled VirtualGL for GPU acceleration, and verified performance with tools like glmark2 and nvidia-smi. You also connected to your virtual desktop from the ThinLinc Client and a web browser, confirming that remote sessions benefit from hardware-accelerated OpenGL rendering using the NVIDIA GPU.
0 Comments
Be the first to comment and share your perspective with the community.