Cannot run Remote Desktop Service by Wine

Questions about Wine on Linux
Locked
D3vil0p3r
Newbie
Newbie
Posts: 1
Joined: Fri Mar 24, 2023 12:49 pm

Cannot run Remote Desktop Service by Wine

Post by D3vil0p3r »

I'm using a WSL image based on Arch Linux and it has access to Windows executables and paths (as System32). When I run Windows programs like notepad.exe, I don't have issues. I tried to run mstsc.exe (Remote Desktop Services of Windows) and I get the following output:

Code: Select all

0084:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005
0084:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005
0084:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005
0084:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005
0108:err:module:import_dll Library api-ms-win-core-commandlinetoargv-l1-1-0.dll (which is needed by L"Z:\\mnt\\c\\Windows\\system32\\shcore.dll") not found
0108:err:module:import_dll Library shcore.dll (which is needed by L"Z:\\mnt\\c\\Windows\\system32\\SHLWAPI.dll") not found
0108:err:module:import_dll Library SHLWAPI.dll (which is needed by L"Z:\\mnt\\c\\Windows\\system32\\mstsc.exe") not found
0108:err:module:import_dll Library api-ms-win-core-commandlinetoargv-l1-1-0.dll (which is needed by L"Z:\\mnt\\c\\Windows\\system32\\SHCORE.dll") not found
0108:err:module:import_dll Library SHCORE.dll (which is needed by L"Z:\\mnt\\c\\Windows\\system32\\mstsc.exe") not found
0108:err:module:LdrInitializeThunk Importing dlls for L"Z:\\mnt\\c\\Windows\\system32\\mstsc.exe" failed, status c0000135
The problem should be "0108:err:module:import_dll Library api-ms-win-core-commandlinetoargv-l1-1-0.dll (which is needed by L"Z:\\mnt\\c\\Windows\\system32\\shcore.dll") not found", indeed on Windows/System32 I don't have "api-ms-win-core-commandlinetoargv-l1-1-0.dll" despite I installed several vc_redist on Windows. By googling, there is no info about that .dll.

What is strange is that, if I run "mstsc.exe" directly on Windows, Remote Desktop Services works. So, why Wine is asking for that non-existing .dll while on Windows it does not happen? Is it possible to run mstsc.exe by wine?
Locked