Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
R
Rdpgw
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
mirror
Rdpgw
Commits
e9e592b4
Commit
e9e592b4
authored
Sep 13, 2023
by
Bolke de Bruin
Browse files
Options
Downloads
Patches
Plain Diff
Add missing rdp options
Some options were missing so they could not be set in the rdp template. Closes: #78
parent
6b326314
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
cmd/rdpgw/rdp/rdp.go
+7
-0
7 additions, 0 deletions
cmd/rdpgw/rdp/rdp.go
with
7 additions
and
0 deletions
cmd/rdpgw/rdp/rdp.go
+
7
−
0
View file @
e9e592b4
...
@@ -27,6 +27,12 @@ const (
...
@@ -27,6 +27,12 @@ const (
)
)
type
RdpSettings
struct
{
type
RdpSettings
struct
{
AllowFontSmoothing
string
`rdp:"allow font smoothing" default:"0"`
AllowDesktopComposition
string
`rdp:"allow desktop composition" default:"0"`
DisableFullWindowDrag
string
`rdp:"disable full window drag" default:"0"`
DisableMenuAnims
string
`rdp:"disable menu anims" default:"0"`
DisableThemes
string
`rdp:"disable themes" default:"0"`
DisableCursorSetting
string
`rdp:"disable cursor setting" default:"0"`
GatewayHostname
string
`rdp:"gatewayhostname"`
GatewayHostname
string
`rdp:"gatewayhostname"`
FullAddress
string
`rdp:"full address"`
FullAddress
string
`rdp:"full address"`
AlternateFullAddress
string
`rdp:"alternate full address"`
AlternateFullAddress
string
`rdp:"alternate full address"`
...
@@ -75,6 +81,7 @@ type RdpSettings struct {
...
@@ -75,6 +81,7 @@ type RdpSettings struct {
DesktopWidth
int
`rdp:"desktopwidth"`
DesktopWidth
int
`rdp:"desktopwidth"`
DesktopScaleFactor
int
`rdp:"desktopscalefactor"`
DesktopScaleFactor
int
`rdp:"desktopscalefactor"`
BitmapCacheSize
int
`rdp:"bitmapcachesize" default:"1500"`
BitmapCacheSize
int
`rdp:"bitmapcachesize" default:"1500"`
BitmapCachePersistEnable
bool
`rdp:"bitmapcachepersistenable" default:"true"`
RemoteApplicationCmdLine
string
`rdp:"remoteapplicationcmdline"`
RemoteApplicationCmdLine
string
`rdp:"remoteapplicationcmdline"`
RemoteAppExpandWorkingDir
bool
`rdp:"remoteapplicationexpandworkingdir" default:"true"`
RemoteAppExpandWorkingDir
bool
`rdp:"remoteapplicationexpandworkingdir" default:"true"`
RemoteApplicationFile
string
`rdp:"remoteapplicationfile" default:"true"`
RemoteApplicationFile
string
`rdp:"remoteapplicationfile" default:"true"`
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment