File xrdp-default-config.patch of Package xrdp

Index: b/sesman/sesman.ini
===================================================================
--- a/sesman/sesman.ini	2018-01-04 15:37:57.612073999 +0800
+++ b/sesman/sesman.ini	2018-01-04 15:38:02.957413999 +0800
@@ -18,7 +18,7 @@
 ;; X11DisplayOffset - x11 display number offset
 ; Type: integer
 ; Default: 10
-X11DisplayOffset=10
+X11DisplayOffset=200
 
 ;; MaxSessions - maximum number of connections to an xrdp server
 ; Type: integer
@@ -50,9 +50,9 @@
 
 [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-01-04 15:37:57.612073999 +0800
+++ b/xrdp/xrdp.ini	2018-01-04 15:59:09.282474000 +0800
@@ -76,7 +76,7 @@
 #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 @@
 
 [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,34 +153,24 @@
 ; 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
 
-[X11rdp]
-name=X11rdp
+[Xorg]
+name=Xorg
 lib=libxup.so
 username=ask
 password=ask
 ip=127.0.0.1
 port=-1
-xserverbpp=24
-code=10
-
-[Xvnc]
-name=Xvnc
-lib=libvnc.so
-username=ask
-password=ask
-ip=127.0.0.1
-port=-1
-#xserverbpp=24
-#delay_ms=2000
+code=20
 
 [console]
 name=console
@@ -189,28 +179,7 @@
 port=5900
 username=na
 password=ask
-#delay_ms=2000
-
-[vnc-any]
-name=vnc-any
-lib=libvnc.so
-ip=ask
-port=ask5900
-username=na
-password=ask
-#pamusername=asksame
-#pampassword=asksame
-#pamsessionmng=127.0.0.1
-#delay_ms=2000
-
-[sesman-any]
-name=sesman-any
-lib=libvnc.so
-ip=ask
-port=-1
-username=ask
-password=ask
-#delay_ms=2000
+delay_ms=2000
 
 [neutrinordp-any]
 name=neutrinordp-any
openSUSE Build Service is sponsored by