]> TLD Linux GIT Repositories - packages/xrdp.git/blobdiff - config.patch
- updated to 0.10.0
[packages/xrdp.git] / config.patch
index 56af80c0d9d24e6c5c94c12ab72ad751e621d7de..fddebd73f6fef65b88808fed32294581b4d411e0 100644 (file)
@@ -1,6 +1,6 @@
-diff -ur xrdp-0.9.9.orig/sesman/sesman.ini xrdp-0.9.9/sesman/sesman.ini
---- xrdp-0.9.9.orig/sesman/sesman.ini  2018-12-25 05:49:32.000000000 +0100
-+++ xrdp-0.9.9/sesman/sesman.ini       2019-02-25 10:58:10.501000000 +0100
+diff -ur xrdp-0.10.0.orig/sesman/sesman.ini xrdp-0.10.0/sesman/sesman.ini
+--- xrdp-0.10.0.orig/sesman/sesman.ini 2024-05-10 16:14:05.000000000 +0200
++++ xrdp-0.10.0/sesman/sesman.ini      2024-06-13 19:35:30.492411263 +0200
 @@ -12,13 +12,13 @@
  ReconnectScript=reconnectwm.sh
  
@@ -16,24 +16,29 @@ diff -ur xrdp-0.9.9.orig/sesman/sesman.ini xrdp-0.9.9/sesman/sesman.ini
  ; if the group TerminalServerUsers is not defined.
 -AlwaysGroupCheck=false
 +AlwaysGroupCheck=true
- [Sessions]
- ;; X11DisplayOffset - x11 display number offset
-@@ -61,10 +61,10 @@
- Policy=Default
+ ; When RestrictOutboundClipboard=all clipboard from the
+ ; server is not pushed to the client.
+ ; In addition, you can control text/file/image transfer restrictions
+@@ -109,13 +109,13 @@
  
  [Logging]
+ ; Note: Log levels can be any of: core, error, warning, info, debug, or trace
 -LogFile=xrdp-sesman.log
--LogLevel=DEBUG
 +LogFile=/dev/null
-+LogLevel=INFO
- EnableSyslog=1
--SyslogLevel=DEBUG
+ LogLevel=INFO
+ EnableSyslog=true
+-#SyslogLevel=INFO
+-#EnableConsole=false
+-#ConsoleLevel=INFO
+-#EnableProcessId=false
 +SyslogLevel=INFO
++EnableConsole=false
++ConsoleLevel=INFO
++EnableProcessId=false
  
- ;
- ; Session definitions - startup command-line parameters for each session type
-@@ -87,8 +87,8 @@
+ [LoggingPerLogger]
+ ; Note: per logger configuration is only used if xrdp is built with
+@@ -147,8 +147,8 @@
  param=-noreset
  param=-nolisten
  param=tcp
@@ -44,34 +49,40 @@ diff -ur xrdp-0.9.9.orig/sesman/sesman.ini xrdp-0.9.9/sesman/sesman.ini
  
  [Xvnc]
  param=Xvnc
-diff -ur xrdp-0.9.9.orig/xrdp/xrdp.ini xrdp-0.9.9/xrdp/xrdp.ini
---- xrdp-0.9.9.orig/xrdp/xrdp.ini      2018-12-25 05:49:32.000000000 +0100
-+++ xrdp-0.9.9/xrdp/xrdp.ini   2019-02-25 10:59:57.214000000 +0100
-@@ -4,6 +4,8 @@
+diff -ur xrdp-0.10.0.orig/xrdp/xrdp.ini xrdp-0.10.0/xrdp/xrdp.ini
+--- xrdp-0.10.0.orig/xrdp/xrdp.ini     2024-05-10 16:14:05.000000000 +0200
++++ xrdp-0.10.0/xrdp/xrdp.ini  2024-06-13 19:36:33.477301111 +0200
+@@ -5,6 +5,9 @@
  ; fork a new process for each incoming connection
  fork=true
 +; IP address to listen
-+;address=127.0.0.1
- ; tcp port to listen
- port=3389
- ; 'port' above should be connected to with vsock instead of tcp
-@@ -118,10 +120,10 @@
- ls_btn_cancel_height=30
++#address=127.0.0.1
++
+ ; ports to listen on, number alone means listen on all interfaces
+ ; 0.0.0.0 or :: if ipv6 is configured
+ ; space between multiple occurrences
+@@ -195,13 +198,13 @@
  
  [Logging]
+ ; Note: Log levels can be any of: core, error, warning, info, debug, or trace
 -LogFile=xrdp.log
--LogLevel=DEBUG
 +LogFile=/dev/null
-+LogLevel=INFO
+ LogLevel=INFO
  EnableSyslog=true
--SyslogLevel=DEBUG
+-#SyslogLevel=INFO
+-#EnableConsole=false
+-#ConsoleLevel=INFO
+-#EnableProcessId=false
 +SyslogLevel=INFO
- ; LogLevel and SysLogLevel could by any of: core, error, warning, info or debug
++EnableConsole=false
++ConsoleLevel=INFO
++EnableProcessId=false
  
- [Channels]
-@@ -153,14 +155,15 @@
- ; Some session types such as Xorg, X11rdp and Xvnc start a display server.
+ [LoggingPerLogger]
+ ; Note: per logger configuration is only used if xrdp is built with
+@@ -234,13 +237,13 @@
+ ; Some session types such as Xorg 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]
@@ -79,25 +90,22 @@ diff -ur xrdp-0.9.9.orig/xrdp/xrdp.ini xrdp-0.9.9/xrdp/xrdp.ini
 -lib=libxup.so
 -username=ask
 -password=ask
--ip=127.0.0.1
 -port=-1
 -code=20
-+
 +#[Xorg]
 +#name=Xorg
 +#lib=libxup.so
 +#username=ask
 +#password=ask
-+#ip=127.0.0.1
 +#port=-1
 +#code=20
  
  [Xvnc]
  name=Xvnc
-@@ -172,25 +175,25 @@
- #xserverbpp=24
- #delay_ms=2000
+@@ -262,13 +265,13 @@
+ ; Generic VNC Proxy
+ ; Tailor this to specific hosts and VNC instances by specifying an ip
+ ; and port and setting a suitable name.
 -[vnc-any]
 -name=vnc-any
 -lib=libvnc.so
@@ -114,23 +122,27 @@ diff -ur xrdp-0.9.9.orig/xrdp/xrdp.ini xrdp-0.9.9/xrdp/xrdp.ini
 +#password=ask
  #pamusername=asksame
  #pampassword=asksame
- #pamsessionmng=127.0.0.1
  #delay_ms=2000
+@@ -276,15 +279,15 @@
+ ; Generic RDP proxy using NeutrinoRDP
+ ; Tailor this to specific hosts by specifying an ip and port and setting
+ ; a suitable name.
 -[neutrinordp-any]
 -name=neutrinordp-any
++#[neutrinordp-any]
++#name=neutrinordp-any
+ ; To use this section, you should build xrdp with configure option
+ ; --enable-neutrinordp.
 -lib=libxrdpneutrinordp.so
 -ip=ask
 -port=ask3389
 -username=ask
 -password=ask
-+#[neutrinordp-any]
-+#name=neutrinordp-any
 +#lib=libxrdpneutrinordp.so
 +#ip=ask
 +#port=ask3389
 +#username=ask
 +#password=ask
- ; You can override the common channel settings for each session type
- #channel.rdpdr=true
+ ; Uncomment the following lines to enable PAM authentication for proxy
+ ; connections.
+ #pamusername=ask