]> TLD Linux GIT Repositories - packages/xrdp.git/blob - config.patch
- updated to 0.9.9
[packages/xrdp.git] / config.patch
1 diff -ur xrdp-0.9.9.orig/sesman/sesman.ini xrdp-0.9.9/sesman/sesman.ini
2 --- xrdp-0.9.9.orig/sesman/sesman.ini   2018-12-25 05:49:32.000000000 +0100
3 +++ xrdp-0.9.9/sesman/sesman.ini        2019-02-25 10:58:10.501000000 +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  
20  [Sessions]
21  ;; X11DisplayOffset - x11 display number offset
22 @@ -61,10 +61,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 @@ -87,8 +87,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.9.orig/xrdp/xrdp.ini xrdp-0.9.9/xrdp/xrdp.ini
48 --- xrdp-0.9.9.orig/xrdp/xrdp.ini       2018-12-25 05:49:32.000000000 +0100
49 +++ xrdp-0.9.9/xrdp/xrdp.ini    2019-02-25 10:59:57.214000000 +0100
50 @@ -4,6 +4,8 @@
51  
52  ; fork a new process for each incoming connection
53  fork=true
54 +; IP address to listen
55 +;address=127.0.0.1
56  ; tcp port to listen
57  port=3389
58  ; 'port' above should be connected to with vsock instead of tcp
59 @@ -118,10 +120,10 @@
60  ls_btn_cancel_height=30
61  
62  [Logging]
63 -LogFile=xrdp.log
64 -LogLevel=DEBUG
65 +LogFile=/dev/null
66 +LogLevel=INFO
67  EnableSyslog=true
68 -SyslogLevel=DEBUG
69 +SyslogLevel=INFO
70  ; LogLevel and SysLogLevel could by any of: core, error, warning, info or debug
71  
72  [Channels]
73 @@ -153,14 +155,15 @@
74  ; Some session types such as Xorg, X11rdp and Xvnc start a display server.
75  ; Startup command-line parameters for the display server are configured
76  ; in sesman.ini. See and configure also sesman.ini.
77 -[Xorg]
78 -name=Xorg
79 -lib=libxup.so
80 -username=ask
81 -password=ask
82 -ip=127.0.0.1
83 -port=-1
84 -code=20
85 +
86 +#[Xorg]
87 +#name=Xorg
88 +#lib=libxup.so
89 +#username=ask
90 +#password=ask
91 +#ip=127.0.0.1
92 +#port=-1
93 +#code=20
94  
95  [Xvnc]
96  name=Xvnc
97 @@ -172,25 +175,25 @@
98  #xserverbpp=24
99  #delay_ms=2000
100  
101 -[vnc-any]
102 -name=vnc-any
103 -lib=libvnc.so
104 -ip=ask
105 -port=ask5900
106 -username=na
107 -password=ask
108 +#[vnc-any]
109 +#name=vnc-any
110 +#lib=libvnc.so
111 +#ip=ask
112 +#port=ask5900
113 +#username=na
114 +#password=ask
115  #pamusername=asksame
116  #pampassword=asksame
117  #pamsessionmng=127.0.0.1
118  #delay_ms=2000
119  
120 -[neutrinordp-any]
121 -name=neutrinordp-any
122 -lib=libxrdpneutrinordp.so
123 -ip=ask
124 -port=ask3389
125 -username=ask
126 -password=ask
127 +#[neutrinordp-any]
128 +#name=neutrinordp-any
129 +#lib=libxrdpneutrinordp.so
130 +#ip=ask
131 +#port=ask3389
132 +#username=ask
133 +#password=ask
134  
135  ; You can override the common channel settings for each session type
136  #channel.rdpdr=true