File xrdp-default-config.patch of Package xrdp.27351
Index: b/sesman/sesman.ini
===================================================================
--- a/sesman/sesman.ini 2018-12-27 17:50:27.173173569 +0800
+++ b/sesman/sesman.ini 2018-12-27 17:51:31.737663351 +0800
@@ -24,7 +24,7 @@ AlwaysGroupCheck=false
;; X11DisplayOffset - x11 display number offset
; Type: integer
; Default: 10
-X11DisplayOffset=10
+X11DisplayOffset=200
;; MaxSessions - maximum number of connections to an xrdp server
; Type: integer
@@ -62,9 +62,9 @@ Policy=Default
[Logging]
LogFile=xrdp-sesman.log
-LogLevel=DEBUG
-EnableSyslog=1
-SyslogLevel=DEBUG
+LogLevel=ERROR
+EnableSyslog=0
+SyslogLevel=ERROR
;
; Session definitions - startup command-line parameters for each session type
Index: b/xrdp/xrdp.ini
===================================================================
--- a/xrdp/xrdp.ini 2018-12-27 17:50:27.173173569 +0800
+++ b/xrdp/xrdp.ini 2018-12-27 17:57:38.260447082 +0800
@@ -76,7 +76,7 @@ grey=dedede
#ls_title=My Login Title
; top level window background color in RGB format
-ls_top_window_bg_color=009cb5
+ls_top_window_bg_color=000000
; width and height of login screen
ls_width=350
@@ -119,9 +119,9 @@ ls_btn_cancel_height=30
[Logging]
LogFile=xrdp.log
-LogLevel=DEBUG
-EnableSyslog=true
-SyslogLevel=DEBUG
+LogLevel=ERROR
+EnableSyslog=false
+SyslogLevel=ERROR
; LogLevel and SysLogLevel could by any of: core, error, warning, info or debug
[Channels]
@@ -153,24 +153,24 @@ tcutils=true
; Some session types such as Xorg, X11rdp and Xvnc start a display server.
; Startup command-line parameters for the display server are configured
; in sesman.ini. See and configure also sesman.ini.
-[Xorg]
-name=Xorg
-lib=libxup.so
+[Xvnc]
+name=Xvnc
+lib=libvnc.so
username=ask
password=ask
ip=127.0.0.1
port=-1
-code=20
+#xserverbpp=24
+delay_ms=2000
-[Xvnc]
-name=Xvnc
-lib=libvnc.so
+[Xorg]
+name=Xorg
+lib=libxup.so
username=ask
password=ask
ip=127.0.0.1
port=-1
-#xserverbpp=24
-#delay_ms=2000
+code=20
[vnc-any]
name=vnc-any