microsoft / wslg

Enabling the Windows Subsystem for Linux to include support for Wayland and X server related scenarios
MIT License
10.07k stars 304 forks source link

RemoteApp nags with "Invalid ressource settings #916

Open stlorenz opened 1 year ago

stlorenz commented 1 year ago

Windows build number:

Microsoft Windows [Version 10.0.22000.1281]

Your Distribution version:

kali-rolling

Your WSL versions:

WSL-Version: 1.0.0.0 Kernelversion: 5.15.74.2 WSLg-Version: 1.0.47 MSRDC-Version: 1.2.3575 Direct3D-Version: 1.606.4 DXCore-Version: 10.0.25131.1002-220531-1700.rs-onecore-base2-hyp Windows Version: 10.0.22000.1281

Steps to reproduce:

  1. Start a Windows Terminal 2

WSL logs:

No response

WSL dumps:

No response

Expected behavior:

No response

Actual behavior:

Screenshot_20221206_105642

As you can see, multipe RDP windows are opened. If i close one, another pops up.

hideyukn88 commented 1 year ago

@stlorenz, would you please share output from reg QUERY "HKLM\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services" /S on Windows's command prompt? thanks!

stlorenz commented 1 year ago

Sure

PS C:\Users\StefanLorenz> reg QUERY "HKLM\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services" /S

HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services\Client
    fEnableUsbBlockDeviceBySetupClass    REG_DWORD    0x1
    fEnableUsbNoAckIsochWriteToDevice    REG_DWORD    0x50
    fEnableUsbSelectDeviceByInterface    REG_DWORD    0x1

HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services\Client\UsbBlockDeviceBySetupClasses
    1000    REG_SZ    {3376f4ce-ff8d-40a2-a80f-bb4359d1415c}

HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services\Client\UsbSelectDeviceByInterfaces
    1000    REG_SZ    {6bdd1fc6-810f-11d0-bec7-08002be2092f}
hideyukn88 commented 1 year ago

@stlorenz, please report problem using Feedback Hub..

1: put link to this Github page at description and same title as this issue.

2: select below category.

image

3: record the problem by selecting "recreate my problem" and "start recording", you can restart WSL at this point and once dialog shows up, close the dialog, then stop recording. Note: recording requires to opt-in to optional data collection (if you are not insider).

image

image

Thank you very much for helping us.