cedrozor / myrtille

A native HTML4 / HTML5 Remote Desktop Protocol and SSH client
https://www.myrtille.io
Apache License 2.0
1.78k stars 372 forks source link

Tweak Myrtille remoteapp to work with win10/11 multisession? #339

Open Beej126 opened 2 years ago

Beej126 commented 2 years ago

first, thank you @cedrozor for open sourcing such a cool tool!

i'm seeing fairly new Windows 11 Enterprise "multi-session" host multiple remoteapps successfully - very neat msft finally saw fit to officially enable this under a windows desktop sku versus server!

along with github remoteapptool, an easy equivalent to the whole overly complicated RDS admin stack on windows server, this becomes a pretty slick low-overhead solve... this allows us to enable chosen apps for remote on windows desktop skus (i believe by applying some registry settings) and it conveniently generates the corresponding .rdp files to launch those apps remotely.

so now i'm wondering what would it take to tweak Myrtille's FreeRDP client to go that route vs the win server RDS dependency?

these are the pertinent settings i noticed in a working mstsc.exe .rdp file:

remoteapplicationmode:i:1
remoteapplicationname:s:Notepad
remoteapplicationprogram:s:||Notepad

fyi for others interested - make sure to also check out companion raweb tool which provides a simple approach to distributing all these rdp files.

the remoteapptool readmes also remind that RDPWrap has been enabling multisession (aka full terminal services) in desktop skus for a long while (granted, somewhat grey legality)... so i tried remoteapptool on a vanilla win11 pro sku with rdpwrap and sure enough that worked as well!

cedrozor commented 2 years ago

Thanks for these details! same comment as https://github.com/cedrozor/myrtille/issues/305#issuecomment-1073666383

sashaqwert commented 2 years ago

I have the same question. I have Windows 11 Enterprise multi-session installed illegally outside of Azure.