Skip to main content
Version: Developer

Configure direct RDP login for Kasm Workspaces clients

Overview

Users typically reach a Kasm Workspace by logging in to the web UI and connecting in the browser or through a downloaded RDP file. In environments with limited or no browser access, direct RDP login lets an RDP client connect to Kasm and authenticate the user by Kasm username and password. This guide configures the deployment zone, the group setting, and a target Workspace so users can launch RDP workspaces without the web app.

Prerequisites

  • A working Kasm Workspaces deployment with administrator access.
  • An available Windows or Linux RDP target.
  • At least one RDP-enabled Workspace, or the ability to create one as part of this guide.

Solution approach

This guide progresses through the following phases:

  1. Configure the deployment zone for direct RDP login.
  2. Enable the group setting for direct RDP login.
  3. Configure a target Workspace.
  4. Connect with an RDP client.

Detailed steps

Configure the deployment zone for direct RDP login

Configure the default zone to allow direct RDP login.

  1. Log in to Kasm as an administrator.
  2. Navigate to Infrastructure, then Deployment Zones, select the default zone, and click Edit.

List of deployment zones in Kasm

List of zones
  1. Set Kasm Authorization Domain to the parent domain of the Web App and Agent servers, for example kasm.example.com.
  2. Under Basic Details, enable the Enable Direct RDP Login toggle.
  3. Click Save at the bottom of the page.

Zone configuration options for direct RDP login

Zone configuration options

Enable the group setting for direct RDP login

Configure the All Users group so members can use direct RDP login.

  1. Log in to Kasm as an administrator.
  2. Navigate to Access Management, then Groups.
  3. Select the All Users group, click Edit, and select the Settings tab.

List of groups in Kasm Access Management

List of groups

Group settings page for the All Users group

Group settings page
  1. Click Add Settings, then use the Setting Name box to find and add the allow_login_kasm_rdp setting with a value of True.

Configuring the allow_login_kasm_rdp group setting

Configuring group settings

Configure a target Workspace

Configure a Workspace that allows RDP client connections.

  1. Log in to Kasm as an administrator.
  2. Navigate to Infrastructure, then Servers.
  3. Click Add Server and complete the form, with attention to the following settings:
    • Deployment Zone: the zone configured earlier.
    • Connection Type: RDP.

Server configuration for direct RDP login

Server configuration
  1. Navigate to Workspaces, then Workspaces.
  2. Click Add Workspace and complete the form, with attention to the following settings:
    • Workspace Type: Server.
    • Server: the server configured in the previous step.
    • RDP Client Options: User Selectable or RDP local client.

Workspace configuration for direct RDP login

Workspace configuration

Connect with an RDP client

With direct RDP login configured, users connect through RDP using their Kasm credentials. Direct RDP login supports username and password only, with no multi-factor authentication support at this time.

  1. Launch an RDP client. The screenshots use Remmina on an Ubuntu desktop.
  2. Enter the server hostname or IP address, for example kasm.example.com. Leave the username and password blank for this test, even when the client allows setting them in advance.

RDP client connection details for direct RDP login

RDP client connection details
  1. When prompted, enter your Kasm username and password.

Kasm RDP login page

Kasm RDP login page
  1. Review the list of available RDP workspaces, which includes the server configured earlier.

Available RDP workspaces list

Available workspaces list
  1. Select the server with the keyboard (the up and down arrows and Enter) or the mouse (double-click).
  2. Confirm that a full RDP session opens to the target server.

Working RDP session to the target server

Working RDP session

Common troubleshooting steps

  • The RDP login page does not appear. Confirm that Enable Direct RDP Login is on for the zone and that Kasm Authorization Domain matches the deployment domain.
  • A user authenticates but sees no workspaces. Confirm that allow_login_kasm_rdp is set to True for the user's group and that an RDP-enabled Workspace exists.
  • Stored credentials are a security concern. Most RDP clients do not encrypt saved credentials. Save Kasm credentials in the client only when the security implications are acceptable.