]> 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.15.orig/sesman/sesman.ini xrdp-0.9.15/sesman/sesman.ini
2 --- xrdp-0.9.15.orig/sesman/sesman.ini  2020-12-28 15:06:46.000000000 +0100
3 +++ xrdp-0.9.15/sesman/sesman.ini       2021-01-04 00:09:55.106416646 +0100
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=true clipboard from the
20  ; server is not pushed to the client.
21  RestrictOutboundClipboard=false
22 @@ -65,13 +65,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 in XRDP_DEBUG builds of XRDP.
41 @@ -101,8 +101,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.15.orig/xrdp/xrdp.ini xrdp-0.9.15/xrdp/xrdp.ini
53 --- xrdp-0.9.15.orig/xrdp/xrdp.ini      2020-12-28 15:06:46.000000000 +0100
54 +++ xrdp-0.9.15/xrdp/xrdp.ini   2021-01-04 00:10:37.448416646 +0100
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 @@ -151,13 +154,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 in XRDP_DEBUG builds of XRDP.
84 @@ -193,14 +196,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 @@ -216,25 +220,25 @@
109  #disabled_encodings_mask=0
110  
111  
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  #delay_ms=2000
130  
131 -[neutrinordp-any]
132 -name=neutrinordp-any
133 -lib=libxrdpneutrinordp.so
134 -ip=ask
135 -port=ask3389
136 -username=ask
137 -password=ask
138 +#[neutrinordp-any]
139 +#name=neutrinordp-any
140 +#lib=libxrdpneutrinordp.so
141 +#ip=ask
142 +#port=ask3389
143 +#username=ask
144 +#password=ask
145  
146  ; You can override the common channel settings for each session type
147  #channel.rdpdr=true