]> TLD Linux GIT Repositories - packages/xrdp.git/blob - config.patch
- updated to 0.9.19, partial PLD merge
[packages/xrdp.git] / config.patch
1 diff -ur xrdp-0.9.19.orig/sesman/sesman.ini xrdp-0.9.19/sesman/sesman.ini
2 --- xrdp-0.9.19.orig/sesman/sesman.ini  2022-03-17 07:21:20.000000000 +0100
3 +++ xrdp-0.9.19/sesman/sesman.ini       2022-04-01 00:52:52.926266171 +0200
4 @@ -12,13 +12,13 @@
5  ReconnectScript=reconnectwm.sh
6  
7  [Security]
8 -AllowRootLogin=true
9 +AllowRootLogin=false
10  MaxLoginRetry=4
11 -TerminalServerUsers=tsusers
12 -TerminalServerAdmins=tsadmins
13 +TerminalServerUsers=xrdp
14 +TerminalServerAdmins=root
15  ; When AlwaysGroupCheck=false access will be permitted
16  ; if the group TerminalServerUsers is not defined.
17 -AlwaysGroupCheck=false
18 +AlwaysGroupCheck=true
19  ; When RestrictOutboundClipboard=all clipboard from the
20  ; server is not pushed to the client.
21  ; In addition, you can control text/file/image transfer restrictions
22 @@ -80,13 +80,13 @@
23  
24  [Logging]
25  ; Note: Log levels can be any of: core, error, warning, info, debug, or trace
26 -LogFile=xrdp-sesman.log
27 +LogFile=/dev/null
28  LogLevel=INFO
29  EnableSyslog=true
30 -#SyslogLevel=INFO
31 -#EnableConsole=false
32 -#ConsoleLevel=INFO
33 -#EnableProcessId=false
34 +SyslogLevel=INFO
35 +EnableConsole=false
36 +ConsoleLevel=INFO
37 +EnableProcessId=false
38  
39  [LoggingPerLogger]
40  ; Note: per logger configuration is only used if xrdp is built with
41 @@ -117,8 +117,8 @@
42  param=-noreset
43  param=-nolisten
44  param=tcp
45 -param=-logfile
46 -param=.xorgxrdp.%s.log
47 +#param=-logfile
48 +#param=.xorgxrdp.%s.log
49  
50  [Xvnc]
51  param=Xvnc
52 diff -ur xrdp-0.9.19.orig/xrdp/xrdp.ini xrdp-0.9.19/xrdp/xrdp.ini
53 --- xrdp-0.9.19.orig/xrdp/xrdp.ini      2022-03-17 07:16:35.000000000 +0100
54 +++ xrdp-0.9.19/xrdp/xrdp.ini   2022-04-01 00:53:37.547367844 +0200
55 @@ -5,6 +5,9 @@
56  ; fork a new process for each incoming connection
57  fork=true
58  
59 +; IP address to listen
60 +#address=127.0.0.1
61 +
62  ; ports to listen on, number alone means listen on all interfaces
63  ; 0.0.0.0 or :: if ipv6 is configured
64  ; space between multiple occurrences
65 @@ -178,13 +181,13 @@
66  
67  [Logging]
68  ; Note: Log levels can be any of: core, error, warning, info, debug, or trace
69 -LogFile=xrdp.log
70 +LogFile=/dev/null
71  LogLevel=INFO
72  EnableSyslog=true
73 -#SyslogLevel=INFO
74 -#EnableConsole=false
75 -#ConsoleLevel=INFO
76 -#EnableProcessId=false
77 +SyslogLevel=INFO
78 +EnableConsole=false
79 +ConsoleLevel=INFO
80 +EnableProcessId=false
81  
82  [LoggingPerLogger]
83  ; Note: per logger configuration is only used if xrdp is built with
84 @@ -218,14 +221,15 @@
85  ; Some session types such as Xorg, X11rdp and Xvnc start a display server.
86  ; Startup command-line parameters for the display server are configured
87  ; in sesman.ini. See and configure also sesman.ini.
88 -[Xorg]
89 -name=Xorg
90 -lib=libxup.so
91 -username=ask
92 -password=ask
93 -ip=127.0.0.1
94 -port=-1
95 -code=20
96 +
97 +#[Xorg]
98 +#name=Xorg
99 +#lib=libxup.so
100 +#username=ask
101 +#password=ask
102 +#ip=127.0.0.1
103 +#port=-1
104 +#code=20
105  
106  [Xvnc]
107  name=Xvnc
108 @@ -247,13 +251,13 @@
109  ; Generic VNC Proxy
110  ; Tailor this to specific hosts and VNC instances by specifying an ip
111  ; and port and setting a suitable name.
112 -[vnc-any]
113 -name=vnc-any
114 -lib=libvnc.so
115 -ip=ask
116 -port=ask5900
117 -username=na
118 -password=ask
119 +#[vnc-any]
120 +#name=vnc-any
121 +#lib=libvnc.so
122 +#ip=ask
123 +#port=ask5900
124 +#username=na
125 +#password=ask
126  #pamusername=asksame
127  #pampassword=asksame
128  #pamsessionmng=127.0.0.1
129 @@ -262,15 +266,15 @@
130  ; Generic RDP proxy using NeutrinoRDP
131  ; Tailor this to specific hosts by specifying an ip and port and setting
132  ; a suitable name.
133 -[neutrinordp-any]
134 -name=neutrinordp-any
135 +#[neutrinordp-any]
136 +#name=neutrinordp-any
137  ; To use this section, you should build xrdp with configure option
138  ; --enable-neutrinordp.
139 -lib=libxrdpneutrinordp.so
140 -ip=ask
141 -port=ask3389
142 -username=ask
143 -password=ask
144 +#lib=libxrdpneutrinordp.so
145 +#ip=ask
146 +#port=ask3389
147 +#username=ask
148 +#password=ask
149  ; Uncomment the following lines to enable PAM authentication for proxy
150  ; connections.
151  #pamusername=ask