@@ -47,9 +47,30 @@ Or use your favorite RDP client to connect to `localhost:3399`.
47
47
48
48
The default username is ` Administrator ` and password is ` coderRDP! ` .
49
49
50
- ### Coder Desktop URI Handling (Beta)
50
+ ### RDP with Coder Desktop (Beta)
51
+
52
+ [ Coder Desktop] ( ../desktop/index.md ) 's Coder Connect feature creates a connection to your workspaces in the background.
53
+ There is no need for port forwarding when it is enabled.
54
+
55
+ Use your favorite RDP client to connect to ` <workspace-name>.coder ` instead of ` localhost:3399 ` .
56
+
57
+ > [ !NOTE]
58
+ > Some versions of Windows, including Windows Server 2022, do not communicate correctly over UDP
59
+ > when using Coder Connect because they do not respect the maximum transmission unit (MTU) of the link.
60
+ > When this happens the RDP client will appear to connect, but displays a blank screen.
61
+ >
62
+ > To avoid this error, Coder's [ Windows RDP] ( https://registry.coder.com/modules/windows-rdp ) module
63
+ > [ disables RDP over UDP automatically] ( https://github.com/coder/registry/blob/b58bfebcf3bcdcde4f06a183f92eb3e01842d270/registry/coder/modules/windows-rdp/powershell-installation-script.tftpl#L22 ) .
64
+ >
65
+ > To disable RDP over UDP, run the following in PowerShell:
66
+ >
67
+ > ``` powershell
68
+ > New-ItemProperty -Path 'HKLM:\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services' -Name "SelectTransport" -Value 1 -PropertyType DWORD -Force
69
+ > Restart-Service -Name "TermService" -Force
70
+ > ```
71
+
72
+ You can also use a URI handler to directly launch an RDP session.
51
73
52
- [ Coder Desktop] ( ../desktop ) can use a URI handler to directly launch an RDP session without setting up port-forwarding.
53
74
The URI format is:
54
75
55
76
```text
@@ -81,7 +102,7 @@ resource "coder_app" "rdp-coder-desktop" {
81
102
82
103
## RDP Web
83
104
84
- Our [ WebRDP ] ( https://registry.coder.com/modules/windows-rdp ) module in the Coder
105
+ Our [ Windows RDP ] ( https://registry.coder.com/modules/windows-rdp ) module in the Coder
85
106
Registry adds a one-click button to open an RDP session in the browser. This
86
107
requires just a few lines of Terraform in your template, see the documentation
87
108
on our registry for setup.
0 commit comments