summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--docs/man/xrdp.ini.56
-rw-r--r--xrdp/xrdp.ini2
2 files changed, 7 insertions, 1 deletions
diff --git a/docs/man/xrdp.ini.5 b/docs/man/xrdp.ini.5
index 0b5acfee..6a4da78c 100644
--- a/docs/man/xrdp.ini.5
+++ b/docs/man/xrdp.ini.5
@@ -288,6 +288,12 @@ Specifies the ip address of the host to connect to.
Specifies the port number to connect to. If set to \fI\-1\fR, the default port for the specified library is used.
.TP
+\fBxserverbpp\fR=\fI<number>\fR
+Specifies color depth of the backend X server. The default is the color
+depth of the client. Only Xvnc and X11rdp use that setting. Xorg runs at
+\fI24\fR bpp.
+
+.TP
\fBcode\fR=\fI<number>\fR|\fI\-1\fR
Specifies the session type, the default, \fI\0\fR, is Xvnc, \fI\10\fR, is X11rdp, and \fI\20\fR, uses Xorg driver mode.
diff --git a/xrdp/xrdp.ini b/xrdp/xrdp.ini
index 1ebfd52e..1da90cca 100644
--- a/xrdp/xrdp.ini
+++ b/xrdp/xrdp.ini
@@ -162,7 +162,6 @@ username=ask
password=ask
ip=127.0.0.1
port=-1
-xserverbpp=24
code=20
[Xvnc]
@@ -172,6 +171,7 @@ username=ask
password=ask
ip=127.0.0.1
port=-1
+#xserverbpp=24
#delay_ms=2000
[console]