]> TLD Linux GIT Repositories - packages/xrdp.git/blob - config.patch
fddebd73f6fef65b88808fed32294581b4d411e0
[packages/xrdp.git] / config.patch
1 diff -ur xrdp-0.10.0.orig/sesman/sesman.ini xrdp-0.10.0/sesman/sesman.ini
2 --- xrdp-0.10.0.orig/sesman/sesman.ini  2024-05-10 16:14:05.000000000 +0200
3 +++ xrdp-0.10.0/sesman/sesman.ini       2024-06-13 19:35:30.492411263 +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 @@ -109,13 +109,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 @@ -147,8 +147,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.10.0.orig/xrdp/xrdp.ini xrdp-0.10.0/xrdp/xrdp.ini
53 --- xrdp-0.10.0.orig/xrdp/xrdp.ini      2024-05-10 16:14:05.000000000 +0200
54 +++ xrdp-0.10.0/xrdp/xrdp.ini   2024-06-13 19:36:33.477301111 +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 @@ -195,13 +198,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 @@ -234,13 +237,13 @@
85  ; Some session types such as Xorg 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 -port=-1
94 -code=20
95 +#[Xorg]
96 +#name=Xorg
97 +#lib=libxup.so
98 +#username=ask
99 +#password=ask
100 +#port=-1
101 +#code=20
102  
103  [Xvnc]
104  name=Xvnc
105 @@ -262,13 +265,13 @@
106  ; Generic VNC Proxy
107  ; Tailor this to specific hosts and VNC instances by specifying an ip
108  ; and port and setting a suitable name.
109 -[vnc-any]
110 -name=vnc-any
111 -lib=libvnc.so
112 -ip=ask
113 -port=ask5900
114 -username=na
115 -password=ask
116 +#[vnc-any]
117 +#name=vnc-any
118 +#lib=libvnc.so
119 +#ip=ask
120 +#port=ask5900
121 +#username=na
122 +#password=ask
123  #pamusername=asksame
124  #pampassword=asksame
125  #delay_ms=2000
126 @@ -276,15 +279,15 @@
127  ; Generic RDP proxy using NeutrinoRDP
128  ; Tailor this to specific hosts by specifying an ip and port and setting
129  ; a suitable name.
130 -[neutrinordp-any]
131 -name=neutrinordp-any
132 +#[neutrinordp-any]
133 +#name=neutrinordp-any
134  ; To use this section, you should build xrdp with configure option
135  ; --enable-neutrinordp.
136 -lib=libxrdpneutrinordp.so
137 -ip=ask
138 -port=ask3389
139 -username=ask
140 -password=ask
141 +#lib=libxrdpneutrinordp.so
142 +#ip=ask
143 +#port=ask3389
144 +#username=ask
145 +#password=ask
146  ; Uncomment the following lines to enable PAM authentication for proxy
147  ; connections.
148  #pamusername=ask