194 |
- |
1 |
;; See `man 5 sesman.ini` for details
|
|
|
2 |
|
|
|
3 |
[Globals]
|
|
|
4 |
ListenAddress=127.0.0.1
|
|
|
5 |
ListenPort=3350
|
|
|
6 |
EnableUserWindowManager=true
|
|
|
7 |
; Give in relative path to user's home directory
|
|
|
8 |
UserWindowManager=startwm.sh
|
|
|
9 |
; Give in full path or relative path to /etc/xrdp
|
|
|
10 |
DefaultWindowManager=startwm-bash.sh
|
|
|
11 |
; Give in full path or relative path to /etc/xrdp
|
|
|
12 |
ReconnectScript=reconnectwm.sh
|
|
|
13 |
|
|
|
14 |
[Security]
|
|
|
15 |
AllowRootLogin=true
|
|
|
16 |
MaxLoginRetry=4
|
|
|
17 |
TerminalServerUsers=tsusers
|
|
|
18 |
TerminalServerAdmins=tsadmins
|
|
|
19 |
; When AlwaysGroupCheck=false access will be permitted
|
|
|
20 |
; if the group TerminalServerUsers is not defined.
|
|
|
21 |
AlwaysGroupCheck=false
|
|
|
22 |
; When RestrictOutboundClipboard=true clipboard from the
|
|
|
23 |
; server is not pushed to the client.
|
|
|
24 |
RestrictOutboundClipboard=false
|
|
|
25 |
|
|
|
26 |
[Sessions]
|
|
|
27 |
;; X11DisplayOffset - x11 display number offset
|
|
|
28 |
; Type: integer
|
|
|
29 |
; Default: 10
|
|
|
30 |
X11DisplayOffset=10
|
|
|
31 |
|
|
|
32 |
;; MaxSessions - maximum number of connections to an xrdp server
|
|
|
33 |
; Type: integer
|
|
|
34 |
; Default: 0
|
|
|
35 |
MaxSessions=50
|
|
|
36 |
|
|
|
37 |
;; KillDisconnected - kill disconnected sessions
|
|
|
38 |
; Type: boolean
|
|
|
39 |
; Default: false
|
197 |
- |
40 |
; if 1, true, or yes, every session will be killed within DisconnectedTimeLimit
|
|
|
41 |
; seconds after the user disconnects
|
194 |
- |
42 |
KillDisconnected=false
|
|
|
43 |
|
197 |
- |
44 |
;; DisconnectedTimeLimit (seconds) - wait before kill disconnected sessions
|
194 |
- |
45 |
; Type: integer
|
|
|
46 |
; Default: 0
|
197 |
- |
47 |
; if KillDisconnected is set to false, this value is ignored
|
194 |
- |
48 |
DisconnectedTimeLimit=0
|
|
|
49 |
|
197 |
- |
50 |
;; IdleTimeLimit (seconds) - wait before disconnect idle sessions
|
194 |
- |
51 |
; Type: integer
|
|
|
52 |
; Default: 0
|
|
|
53 |
; Set to 0 to disable idle disconnection.
|
|
|
54 |
IdleTimeLimit=0
|
|
|
55 |
|
|
|
56 |
;; Policy - session allocation policy
|
|
|
57 |
; Type: enum [ "Default" | "UBD" | "UBI" | "UBC" | "UBDI" | "UBDC" ]
|
|
|
58 |
; "Default" session per <User,BitPerPixel>
|
|
|
59 |
; "UBD" session per <User,BitPerPixel,DisplaySize>
|
|
|
60 |
; "UBI" session per <User,BitPerPixel,IPAddr>
|
|
|
61 |
; "UBC" session per <User,BitPerPixel,Connection>
|
|
|
62 |
; "UBDI" session per <User,BitPerPixel,DisplaySize,IPAddr>
|
|
|
63 |
; "UBDC" session per <User,BitPerPixel,DisplaySize,Connection>
|
|
|
64 |
Policy=Default
|
|
|
65 |
|
|
|
66 |
[Logging]
|
197 |
- |
67 |
; Note: Log levels can be any of: core, error, warning, info, debug, or trace
|
194 |
- |
68 |
LogFile=xrdp-sesman.log
|
197 |
- |
69 |
LogLevel=INFO
|
|
|
70 |
EnableSyslog=true
|
|
|
71 |
#SyslogLevel=INFO
|
|
|
72 |
#EnableConsole=false
|
|
|
73 |
#ConsoleLevel=INFO
|
|
|
74 |
#EnableProcessId=false
|
194 |
- |
75 |
|
197 |
- |
76 |
[LoggingPerLogger]
|
204 |
- |
77 |
; Note: per logger configuration is only used if xrdp is built with
|
|
|
78 |
; --enable-devel-logging
|
197 |
- |
79 |
#sesman.c=INFO
|
|
|
80 |
#main()=INFO
|
|
|
81 |
|
194 |
- |
82 |
;
|
|
|
83 |
; Session definitions - startup command-line parameters for each session type
|
|
|
84 |
;
|
|
|
85 |
|
|
|
86 |
[Xorg]
|
|
|
87 |
; Specify the path of non-suid Xorg executable. It might differ depending
|
|
|
88 |
; on your distribution and version. Find out the appropreate path for your
|
|
|
89 |
; environment. The typical path is known as follows:
|
|
|
90 |
;
|
|
|
91 |
; Fedora 26 or later : param=/usr/libexec/Xorg
|
|
|
92 |
; Debian 9 or later : param=/usr/lib/xorg/Xorg
|
|
|
93 |
; Ubuntu 16.04 or later : param=/usr/lib/xorg/Xorg
|
|
|
94 |
; Arch Linux : param=/usr/lib/Xorg
|
|
|
95 |
; CentOS 7 : param=/usr/bin/Xorg or param=Xorg
|
|
|
96 |
; CentOS 8 : param=/usr/libexec/Xorg
|
|
|
97 |
;
|
197 |
- |
98 |
param=/usr/libexec/Xorg
|
194 |
- |
99 |
; Leave the rest paramaters as-is unless you understand what will happen.
|
|
|
100 |
param=-config
|
|
|
101 |
param=xrdp/xorg.conf
|
|
|
102 |
param=-noreset
|
|
|
103 |
param=-nolisten
|
|
|
104 |
param=tcp
|
|
|
105 |
param=-logfile
|
|
|
106 |
param=.xorgxrdp.%s.log
|
|
|
107 |
|
|
|
108 |
[Xvnc]
|
|
|
109 |
param=Xvnc
|
|
|
110 |
param=-bs
|
|
|
111 |
param=-nolisten
|
|
|
112 |
param=tcp
|
|
|
113 |
param=-localhost
|
|
|
114 |
param=-dpi
|
|
|
115 |
param=96
|
|
|
116 |
|
|
|
117 |
[Chansrv]
|
197 |
- |
118 |
; drive redirection
|
|
|
119 |
; See sesman.ini(5) for the format of this parameter
|
|
|
120 |
#FuseMountName=/run/user/%u/thinclient_drives
|
|
|
121 |
#FuseMountName=/media/thinclient_drives/%U/thinclient_drives
|
194 |
- |
122 |
FuseMountName=thinclient_drives
|
|
|
123 |
; this value allows only the user to acess their own mapped drives.
|
|
|
124 |
; Make this more permissive (e.g. 022) if required.
|
|
|
125 |
FileUmask=077
|
197 |
- |
126 |
; Can be used to disable FUSE functionality - see sesman.ini(5)
|
|
|
127 |
#EnableFuseMount=false
|
208 |
- |
128 |
; Uncomment this line only if you are using GNOME 3 versions 3.29.92
|
|
|
129 |
; and up, and you wish to cut-paste files between Nautilus and Windows. Do
|
|
|
130 |
; not use this setting for GNOME 4, or other file managers
|
|
|
131 |
#UseNautilus3FlistFormat=true
|
194 |
- |
132 |
|
197 |
- |
133 |
[ChansrvLogging]
|
|
|
134 |
; Note: one log file is created per display and the LogFile config value
|
|
|
135 |
; is ignored. The channel server log file names follow the naming convention:
|
|
|
136 |
; xrdp-chansrv.${DISPLAY}.log
|
|
|
137 |
;
|
|
|
138 |
; Note: Log levels can be any of: core, error, warning, info, debug, or trace
|
|
|
139 |
LogLevel=INFO
|
|
|
140 |
EnableSyslog=true
|
|
|
141 |
#SyslogLevel=INFO
|
|
|
142 |
#EnableConsole=false
|
|
|
143 |
#ConsoleLevel=INFO
|
|
|
144 |
#EnableProcessId=false
|
|
|
145 |
|
|
|
146 |
[ChansrvLoggingPerLogger]
|
204 |
- |
147 |
; Note: per logger configuration is only used if xrdp is built with
|
|
|
148 |
; --enable-devel-logging
|
197 |
- |
149 |
#chansrv.c=INFO
|
|
|
150 |
#main()=INFO
|
|
|
151 |
|
194 |
- |
152 |
[SessionVariables]
|
|
|
153 |
PULSE_SCRIPT=/etc/xrdp/pulse/default.pa
|