]> TLD Linux GIT Repositories - packages/xrdp.git/blob - config.patch
- updated to 0.9.11
[packages/xrdp.git] / config.patch
1 diff -ur xrdp-0.9.11.orig/sesman/sesman.ini xrdp-0.9.11/sesman/sesman.ini
2 --- xrdp-0.9.11.orig/sesman/sesman.ini  2019-08-19 17:41:37.000000000 +0200
3 +++ xrdp-0.9.11/sesman/sesman.ini       2019-08-21 23:14:04.896000000 +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=true clipboard from the
20  ; server is not pushed to the client.
21  RestrictOutboundClipboard=false
22 @@ -64,10 +64,10 @@
23  Policy=Default
24  
25  [Logging]
26 -LogFile=xrdp-sesman.log
27 -LogLevel=DEBUG
28 +LogFile=/dev/null
29 +LogLevel=INFO
30  EnableSyslog=1
31 -SyslogLevel=DEBUG
32 +SyslogLevel=INFO
33  
34  ;
35  ; Session definitions - startup command-line parameters for each session type
36 @@ -90,8 +90,8 @@
37  param=-noreset
38  param=-nolisten
39  param=tcp
40 -param=-logfile
41 -param=.xorgxrdp.%s.log
42 +#param=-logfile
43 +#param=.xorgxrdp.%s.log
44  
45  [Xvnc]
46  param=Xvnc
47 diff -ur xrdp-0.9.11.orig/xrdp/xrdp.ini xrdp-0.9.11/xrdp/xrdp.ini
48 --- xrdp-0.9.11.orig/xrdp/xrdp.ini      2019-08-19 17:41:37.000000000 +0200
49 +++ xrdp-0.9.11/xrdp/xrdp.ini   2019-08-21 23:15:10.436000000 +0200
50 @@ -5,6 +5,9 @@
51  ; fork a new process for each incoming connection
52  fork=true
53  
54 +; IP address to listen
55 +#address=127.0.0.1
56 +
57  ; ports to listen on, number alone means listen on all interfaces
58  ; 0.0.0.0 or :: if ipv6 is configured
59  ; space between multiple occurrences
60 @@ -143,10 +146,10 @@
61  ls_btn_cancel_height=30
62  
63  [Logging]
64 -LogFile=xrdp.log
65 -LogLevel=DEBUG
66 +LogFile=/dev/null
67 +LogLevel=INFO
68  EnableSyslog=true
69 -SyslogLevel=DEBUG
70 +SyslogLevel=INFO
71  ; LogLevel and SysLogLevel could by any of: core, error, warning, info or debug
72  
73  [Channels]
74 @@ -178,14 +181,15 @@
75  ; Some session types such as Xorg, X11rdp and Xvnc start a display server.
76  ; Startup command-line parameters for the display server are configured
77  ; in sesman.ini. See and configure also sesman.ini.
78 -[Xorg]
79 -name=Xorg
80 -lib=libxup.so
81 -username=ask
82 -password=ask
83 -ip=127.0.0.1
84 -port=-1
85 -code=20
86 +
87 +#[Xorg]
88 +#name=Xorg
89 +#lib=libxup.so
90 +#username=ask
91 +#password=ask
92 +#ip=127.0.0.1
93 +#port=-1
94 +#code=20
95  
96  [Xvnc]
97  name=Xvnc
98 @@ -197,25 +201,25 @@
99  #xserverbpp=24
100  #delay_ms=2000
101  
102 -[vnc-any]
103 -name=vnc-any
104 -lib=libvnc.so
105 -ip=ask
106 -port=ask5900
107 -username=na
108 -password=ask
109 +#[vnc-any]
110 +#name=vnc-any
111 +#lib=libvnc.so
112 +#ip=ask
113 +#port=ask5900
114 +#username=na
115 +#password=ask
116  #pamusername=asksame
117  #pampassword=asksame
118  #pamsessionmng=127.0.0.1
119  #delay_ms=2000
120  
121 -[neutrinordp-any]
122 -name=neutrinordp-any
123 -lib=libxrdpneutrinordp.so
124 -ip=ask
125 -port=ask3389
126 -username=ask
127 -password=ask
128 +#[neutrinordp-any]
129 +#name=neutrinordp-any
130 +#lib=libxrdpneutrinordp.so
131 +#ip=ask
132 +#port=ask3389
133 +#username=ask
134 +#password=ask
135  
136  ; You can override the common channel settings for each session type
137  #channel.rdpdr=true