WSL icon indicating copy to clipboard operation
WSL copied to clipboard

GUI won't work on Windows 10 ltsc 2021 x64 19044.1288

Open SilentCoding2026 opened this issue 4 months ago • 14 comments

Hello,

I’m having an issue with GUI applications on Windows 10 LTSC 2021 (19044.1288).

GUI apps do not work. For example, when I run gnome-text-editor, I get the following error:

(process:5027): Gtk-WARNING **: 09:47:46.962: cannot open display: :0

I specifically need GUI support for Chromium, but it does not work either.

Additional information:

WSL version: WSL 2 (2.7.10.0 x64) Everything else works fine (CLI tools, networking, etc.) Only GUI applications fail to start

Any help or clarification would be appreciated. Thank you.

SilentCoding2026 avatar Jul 06 '26 06:07 SilentCoding2026

Logs are required for review from WSL team

If this a feature request, please reply with '/feature'. If this is a question, reply with '/question'. Otherwise, please attach logs by following the instructions below, your issue will not be reviewed unless they are added. These logs will help us understand what is going on in your machine.

How to collect WSL logs

Download and execute collect-wsl-logs.ps1 in an administrative powershell prompt:

Invoke-WebRequest -UseBasicParsing "https://raw.githubusercontent.com/microsoft/WSL/master/diagnostics/collect-wsl-logs.ps1" -OutFile collect-wsl-logs.ps1
Set-ExecutionPolicy Bypass -Scope Process -Force
.\collect-wsl-logs.ps1

The script will output the path of the log file once done.

If this is a networking issue, please use .\collect-wsl-logs.ps1 -LogProfile networking instead, following the instructions in Collect WSL logs for networking issues

Once completed please upload the output files to this GitHub issue.

See Collect WSL logs (recommended method).

If you choose to email these logs instead of attaching them to the bug, please send them to [email protected] with the GitHub issue number in the subject, and include a link to your GitHub issue comment in the message body, and reply with '/emailed-logs'.

github-actions[bot] avatar Jul 06 '26 06:07 github-actions[bot]

Can confirm on Windows 10 22H2 as well. When I run wsl with guiApplications=false, it works okay. As soon as I enable it, it shows a dialog of RDP: "Could not load the Remote Desktop Services ActiveX control. Make sure rdclientx.dll is in the path" Now, I have ensured that it's in the path. I also tried adding the dll via 'regsvr32', with no avail

sheikhmishar avatar Jul 06 '26 18:07 sheikhmishar

Hi @sheikhmishar , for your issue, please check if the file C:\Program Files\WSL\rdclientax.dll exists. WSL uses the packed dll instead of the system one. If not, please download the msi installer from https://github.com/microsoft/WSL/releases and repair / reinstall WSL.

chemwolf6922 avatar Jul 07 '26 06:07 chemwolf6922

This issue has been automatically closed since it has not had any author activity for the past 7 days. If you're still experiencing this issue please re-file it as a new issue.

Thank you!

我也遇到过,并且已经修复了也无法使用

easonjim avatar Jul 27 '26 22:07 easonjim

@chemwolf6922 已经使用了你提供的方法,也是修复不了的

easonjim avatar Jul 27 '26 22:07 easonjim

我也遇到过,并且已经修复了也无法使用

What did you say?)

ixenion avatar Jul 28 '26 08:07 ixenion

Just restart your computer, the error will go away

Astral100 avatar Jul 28 '26 17:07 Astral100

Can confirm on Windows 10 22H2 as well. When I run wsl with guiApplications=false, it works okay. As soon as I enable it, it shows a dialog of RDP: "Could not load the Remote Desktop Services ActiveX control. Make sure rdclientx.dll is in the path" Now, I have ensured that it's in the path. I also tried adding the dll via 'regsvr32', with no avail

I encountered the same with wsl-2.7.11.0 release on Windows 10 22H2. Freshly installed today. @chemwolf6922

litian1992 avatar Jul 29 '26 08:07 litian1992

I kinda made it work by copying RDP related files from an old internet archive

sheikhmishar avatar Jul 29 '26 10:07 sheikhmishar

Broken for me as well with newly updated version today:

C:\Users\Username>wsl -v
WSL version: 2.7.11.0
Kernel version: 6.18.33.2-2
WSLg version: 1.0.73.2
MSRDC version: 1.2.7214
Direct3D version: 1.611.1-81528511
DXCore version: 10.0.26100.1-240331-1435.ge-release
Windows version: 10.0.19044.3086

I'm not using GUI distros, so I was able to silence the dialog by setting the following in C:\Users\Username\.wslconfig:

[wsl2]
guiApplications=false

maritaria avatar Jul 29 '26 21:07 maritaria

I kinda made it work by copying RDP related files from an old internet archive

Nice! Instruction?

ixenion avatar Jul 30 '26 15:07 ixenion

I also had the same problem. This was my configuration:

 PS C:\Windows\system32> wsl -v
 WSL version: 2.7.11.0
 Kernel version: 6.18.33.2-2
 WSLg version: 1.0.73.2
 MSRDC version: 1.2.7214
 Direct3D version: 1.611.1-81528511
 DXCore version: 10.0.26100.1-240331-1435.ge-release
 Windows version: 10.0.19044.4780

According to https://learn.microsoft.com/en-us/windows/wsl/tutorials/gui-apps gui capabilities were introduced in WSL in Windows version 10.0.19044+, and things worked fine before, but I think a recent update broke it. I think the issue is related to changes in msrdc that don't work in this version of Windows. In the git repo for WSL, I found that between WSL version 2.7.10.0 and 2.7.11.0 this change was made:

Updated MSRDC to 1.2.7214 (https://github.com/advisories/GHSA-5468-67hp-7rjg).

So I downloaded the 2.7.10 version: https://github.com/microsoft/WSL/releases#release-2.7.10 and installed it. Then I removed the rdclientax.dll I had copied from C:\Program Files\WSL into C:\Windows\System32 before I had reverted WSL versions, and now it works.

dwoo17 avatar Aug 10 '26 20:08 dwoo17

Wow! You are amaizing! Iv done exactly as you say: installed WSL2 v2.7.10, and removed file C:\Windows\System32\rdclientax.dll And now it works! <3

ixenion avatar Aug 19 '26 17:08 ixenion