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
|
|
|
40 |
; if 1, true, or yes, kill session after 60 seconds
|
|
|
41 |
KillDisconnected=false
|
|
|
42 |
|
|
|
43 |
;; DisconnectedTimeLimit - when to kill idle sessions
|
|
|
44 |
; Type: integer
|
|
|
45 |
; Default: 0
|
|
|
46 |
; if not zero, the seconds before a disconnected session is killed
|
|
|
47 |
; min 60 seconds
|
|
|
48 |
DisconnectedTimeLimit=0
|
|
|
49 |
|
|
|
50 |
;; IdleTimeLimit (specify in second) - wait before disconnect idle sessions
|
|
|
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]
|
|
|
67 |
LogFile=xrdp-sesman.log
|
|
|
68 |
LogLevel=DEBUG
|
|
|
69 |
EnableSyslog=1
|
|
|
70 |
SyslogLevel=DEBUG
|
|
|
71 |
|
|
|
72 |
;
|
|
|
73 |
; Session definitions - startup command-line parameters for each session type
|
|
|
74 |
;
|
|
|
75 |
|
|
|
76 |
[Xorg]
|
|
|
77 |
; Specify the path of non-suid Xorg executable. It might differ depending
|
|
|
78 |
; on your distribution and version. Find out the appropreate path for your
|
|
|
79 |
; environment. The typical path is known as follows:
|
|
|
80 |
;
|
|
|
81 |
; Fedora 26 or later : param=/usr/libexec/Xorg
|
|
|
82 |
; Debian 9 or later : param=/usr/lib/xorg/Xorg
|
|
|
83 |
; Ubuntu 16.04 or later : param=/usr/lib/xorg/Xorg
|
|
|
84 |
; Arch Linux : param=/usr/lib/Xorg
|
|
|
85 |
; CentOS 7 : param=/usr/bin/Xorg or param=Xorg
|
|
|
86 |
; CentOS 8 : param=/usr/libexec/Xorg
|
|
|
87 |
;
|
|
|
88 |
param=Xorg
|
|
|
89 |
; Leave the rest paramaters as-is unless you understand what will happen.
|
|
|
90 |
param=-config
|
|
|
91 |
param=xrdp/xorg.conf
|
|
|
92 |
param=-noreset
|
|
|
93 |
param=-nolisten
|
|
|
94 |
param=tcp
|
|
|
95 |
param=-logfile
|
|
|
96 |
param=.xorgxrdp.%s.log
|
|
|
97 |
|
|
|
98 |
[Xvnc]
|
|
|
99 |
param=Xvnc
|
|
|
100 |
param=-bs
|
|
|
101 |
param=-nolisten
|
|
|
102 |
param=tcp
|
|
|
103 |
param=-localhost
|
|
|
104 |
param=-dpi
|
|
|
105 |
param=96
|
|
|
106 |
|
|
|
107 |
[Chansrv]
|
|
|
108 |
; drive redirection, defaults to xrdp_client if not set
|
|
|
109 |
FuseMountName=thinclient_drives
|
|
|
110 |
; this value allows only the user to acess their own mapped drives.
|
|
|
111 |
; Make this more permissive (e.g. 022) if required.
|
|
|
112 |
FileUmask=077
|
|
|
113 |
|
|
|
114 |
[SessionVariables]
|
|
|
115 |
PULSE_SCRIPT=/etc/xrdp/pulse/default.pa
|