Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RemoteApp - "identity of remote computer could not be verified" popups since 1.0.3.0 #9347

Open
1 of 2 tasks
DevRCRun opened this issue Dec 16, 2022 · 9 comments
Open
1 of 2 tasks

Comments

@DevRCRun
Copy link

Version

10.0.19045.2364

WSL Version

  • WSL 2
  • WSL 1

Kernel Version

5.15.79.1

Distro Version

Ubuntu 22.04

Other Software

No response

Repro Steps

Since installing 1.0.3.0 via wsl --update, at random times RemoteApp windows will pop up "the identity of the remote computer cannot be verified. Do you want to connect anyway? (yes/no). If the window is ignored and left in place, more will gradually pop up over time. Clicking no does not stop more spawning.

Looking at the process list, they do seem to be coming from wsl and the command line is a variation on:

msrdc.exe /v:2E0C5CDE-CE45-4D11-849B-8C4B694268A5 /hvsocketserviceid:BA7142FC-FACB-11E6-BD58-64006A7986D3 /silent /wslg /plugin:WSLDVC_PACKAGE /wslgsharedmemorypath:WSL\2E0C5CDE-CE45-4D11-849B-8C4B694268A5\wslg "C:\Program Files\WindowsApps\MicrosoftCorporationII.WindowsSubsystemForLinux_1.0.3.0_x64__8wekyb3d8bbwe\wslg.rdp"

They even seem to popup whilst wsl --list --verbose shows the installed distro as stopped. I have not clicked "yes" on one to see what it does!

Expected Behavior

No random popups!

Actual Behavior

Random popups...

Diagnostic Logs

No response

@yuri-per
Copy link

There is a workaround.
Disabling WSLg in %USERPROFILE%.wslconfig removes RemoteApp popups:

[wsl2]
guiApplications=false

@lalku
Copy link

lalku commented Dec 29, 2022

I have the same issue and noticed that on my install the wslg.rdp file is missing.

@cwarlich
Copy link

Same issue here: I get this message once after WSLg starts and after clicking yes. It only reappears after wsl --shutdown followed by starting wsl again.

@lalku: Although I do not see why RDP should be involved: Where is wslg.rdp supposed to be located and what should it contain? Does adding wslg.rdp fix the issue?

@lalku
Copy link

lalku commented Jan 11, 2023

From the initial message it should be located at
C:\Program Files\WindowsApps\MicrosoftCorporationII.WindowsSubsystemForLinux_1.0.3.0_x64__8wekyb3d8bbwe\wslg.rdp

@DevRCRun
Copy link
Author

The file is present and currently contains:

audiocapturemode:i:2
authentication level:i:0
disableconnectionsharing:i:1
enablecredsspsupport:i:0
hvsocketenabled:i:1
remoteapplicationmode:i:1
remoteapplicationprogram:s:dummy-entry

@bersbersbers
Copy link

bersbersbers commented Feb 13, 2023

I am seeing the same thing, with the exact same wslg.rdp. I believe https://github.com/microsoft/wslg might be a more appropriate repository for this one, for two reasons:

  1. Disabling WSLg solves this, compare RemoteApp - "identity of remote computer could not be verified" popups since 1.0.3.0 #9347 (comment)
  2. Until I acknowledge the popup, no GUI applications (xeyes, ...) are working, while they are working as soon as I acknowledge the popup.

@bersbersbers
Copy link

I filed microsoft/wslg#997

@resried
Copy link

resried commented Dec 4, 2023

I think it is also related to microsoft/wslg#841

@nickschurch
Copy link

There is a workaround. Disabling WSLg in %USERPROFILE%.wslconfig removes RemoteApp popups:

[wsl2]
guiApplications=false

Doesn't this disable GUI apps entirely though? I don't want to do that, but I do want the damn popups to stop...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants