bolkedebruin / rdpgw

Remote Desktop Gateway in Go for deploying on Linux/BSD/Kubernetes
Apache License 2.0
757 stars 119 forks source link

Template default.rdp please add remoteapplicationmode:i:1 #103

Closed pbvdven closed 6 months ago

pbvdven commented 6 months ago

Hi @bolkedebruin,

I created a default.rdp template for a remoteapp but not all the needed parameters come true.

im missing the following could you have a look when you find the time thanks.

remoteapplicationmode:i:1 << when i add this to the downloaded file remoteapp works disableremoteappcapscheck:i:1 span monitors:i:1

I added this: allow font smoothing:i:1 allow desktop composition:i:1 remoteapplicationmode:i:1 remoteapplicationname:s:Microsoft Edge remoteapplicationprogram:s:||Microsoft Edge audiocapturemode:i:1 audiomode:i:1 disableremoteappcapscheck:i:1 drivestoredirect:s:* prompt for credentials:i:1 promptcredentialonce:i:0 redirectcomports:i:1 span monitors:i:1 use multimon:i:1

This is the what came from the downloaded rdp file: allow font smoothing:s:1 allow desktop composition:s:1 gatewayhostname:s: full address:s:WINDOWSVM:3389 username:s: gatewaycredentialssource:i:5 gatewayprofileusagemethod:i:1 gatewayusagemethod:i:1 promptcredentialonce:i:0 audiocapturemode:i:1 audiomode:i:1 drivestoredirect:s:* redirectcomports:i:1 use multimon:i:1 remoteapplicationname:s:Microsoft Edge remoteapplicationprogram:s:||Microsoft Edge

pbvdven commented 6 months ago

Because 1 "true "is the default for remoteapplicationmode its not presented in the rdp file but if its not presented in the rdp file its not opening as remoteapp but normal remote desktop connection so im stuck here

bolkedebruin commented 6 months ago

I changed the default to false/0 now. Looking for a way to set it if found explicitly in the rdp file - but don't know how to do that yet.

The latest docker image will have the change as does master.

bolkedebruin commented 6 months ago

And it should now also support explicit settings in the RDP file so they always will get included.