The AirKey control panel closes with an OpenGL error when trying to open it in an RDP session
Posted by Mikhail Yakovlev, Last modified by Mikhail Yakovlev on 26 February 2019 04:16 PM

Problem:
When using the AirKey card for connecting via RDP (from any OS) to workstations running Windows 7, 8, 2008 R2 and 2012 R2, the Indeed AirKey Enterprise control panel closes with an OpenGL error if you try to open it after installing the RDP connection:



Cause:
The Indeed AirKey Enterprise control Panel interface is implemented using the Qt Quick 2 library, which requires OpenGL and hardware graphics implementation, which are not supported in RDP for all versions of Windows prior to Windows 10. This is the cause of the error.

Solution:
To use Qt Quick 2 in configurations with no OpenGL support, you need to resort to Qt Quick 2D Renderer.
To enable Qt Quick 2D Renderer, add QMLSCENE_DEVICE variable to OS environment parameters and set this variable to softwarecontext value.
The QMLSCENE_DEVICE variable can be propagated to all computers of a domain via group policies or manually by editing the registry (see the example below or use the attached QMLSCENE_DEVICE.reg file):

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\Session Manager\Environment]
"QMLSCENE_DEVICE"="softwarecontext"

Variable setting is required only for workstations to which users connect via RDP (terminal servers), with the OS version lower than Windows 10 / Windows Server 2016. Restart the workstation after making changes.



Attachments 
 
 QMLSCENE_DEVICE.reg (0.31 KB)
(0 vote(s))
Helpful
Not helpful