Skip to content

Commit 8547744

Browse files
committed
Address review comments
1 parent f5aa00b commit 8547744

File tree

3 files changed

+8
-10
lines changed

3 files changed

+8
-10
lines changed

docs/man/xrdp.ini.5.in

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -30,11 +30,11 @@ examples can be found within xrdp.ini itself.
3030

3131
.TP
3232
\fBvmconnect\fR=\fI[true|false]\fR
33-
(Hyper-V VMs only). Allows the user to skip some unnecessary security
34-
checks when a virtual machine running xrdp is hosted on Hyper-V,
35-
and the user connects to it via the vmms service on TCP port 2179.
36-
In this configuration, RDP security is handled by the vmms service, and
37-
security features which are not yet added to xrdp itself can be supported.
33+
(Hyper-V VMs only). Enables a wider support of security protocols when a
34+
virtual machine running xrdp is hosted on Hyper-V, and the user connects
35+
to it via the vmms service on TCP port 2179. In this configuration,
36+
RDP security is handled by the vmms service, and security features which
37+
are not yet added to xrdp itself can be supported.
3838

3939
This parameter is required in environments which do not support 'classic'
4040
RDP encryption.

xrdp/xrdp.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -332,6 +332,9 @@ read_xrdp_ini_startup_params(struct xrdp_startup_params *startup_params)
332332

333333
else if (g_strcasecmp(name, "use_vsock") == 0)
334334
{
335+
LOG(LOG_LEVEL_WARNING,
336+
"Config parameter 'use_vsock' is obsolete. "
337+
"Use 'port=vsock://...' instead");
335338
startup_params->use_vsock = g_text2bool(val);
336339
}
337340

xrdp/xrdp.ini.in

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,6 @@ fork=true
2222
; port=vsock://<cid>:<port>
2323
port=3389
2424

25-
; 'port' above should be connected to with vsock instead of tcp
26-
; use this only with number alone in port above
27-
; prefer use vsock://<cid>:<port> above
28-
use_vsock=false
29-
3025
; if used inside a Hyper-V VM through vmconnect and bound on vsock,
3126
; turn this on to enable wider security protocol support.
3227
#vmconnect=true

0 commit comments

Comments
 (0)