2018-06-14 10:04:02 +03:00
|
|
|
;; See `man 5 sesman.ini` for details
|
|
|
|
|
2005-09-25 07:30:09 +04:00
|
|
|
[Globals]
|
2022-03-19 14:29:28 +03:00
|
|
|
; listening port
|
|
|
|
#ListenPort=sesman.socket
|
2016-11-14 10:21:23 +03:00
|
|
|
EnableUserWindowManager=true
|
2018-06-14 10:04:02 +03:00
|
|
|
; Give in relative path to user's home directory
|
2005-09-25 07:30:09 +04:00
|
|
|
UserWindowManager=startwm.sh
|
2018-06-14 10:04:02 +03:00
|
|
|
; Give in full path or relative path to @sesmansysconfdir@
|
2005-09-25 07:30:09 +04:00
|
|
|
DefaultWindowManager=startwm.sh
|
2018-06-14 10:04:02 +03:00
|
|
|
; Give in full path or relative path to @sesmansysconfdir@
|
2018-06-14 09:31:12 +03:00
|
|
|
ReconnectScript=reconnectwm.sh
|
2005-10-24 01:47:17 +04:00
|
|
|
|
2006-01-13 18:51:23 +03:00
|
|
|
[Security]
|
2016-11-14 10:21:23 +03:00
|
|
|
AllowRootLogin=true
|
2006-10-25 23:18:36 +04:00
|
|
|
MaxLoginRetry=4
|
2006-01-13 18:51:23 +03:00
|
|
|
TerminalServerUsers=tsusers
|
|
|
|
TerminalServerAdmins=tsadmins
|
2016-11-14 12:23:12 +03:00
|
|
|
; When AlwaysGroupCheck=false access will be permitted
|
|
|
|
; if the group TerminalServerUsers is not defined.
|
2016-11-14 10:21:23 +03:00
|
|
|
AlwaysGroupCheck=false
|
2021-12-14 08:38:52 +03:00
|
|
|
; When RestrictOutboundClipboard=all clipboard from the
|
2018-11-19 15:04:43 +03:00
|
|
|
; server is not pushed to the client.
|
2021-12-14 08:38:52 +03:00
|
|
|
; In addition, you can control text/file/image transfer restrictions
|
|
|
|
; respectively. It also accepts comma separated list such as text,file,image.
|
|
|
|
; To keep compatibility, some aliases are also available:
|
|
|
|
; true: an alias of all
|
|
|
|
; false: an alias of none
|
|
|
|
; yes: an alias of all
|
|
|
|
RestrictOutboundClipboard=none
|
|
|
|
; When RestrictInboundClipboard=all clipboard from the
|
|
|
|
; client is not pushed to the server.
|
|
|
|
; In addition, you can control text/file/image transfer restrictions
|
|
|
|
; respectively. It also accepts comma separated list such as text,file,image.
|
|
|
|
; To keep compatibility, some aliases are also available:
|
|
|
|
; true: an alias of all
|
|
|
|
; false: an alias of none
|
|
|
|
; yes: an alias of all
|
|
|
|
RestrictInboundClipboard=none
|
2006-01-13 18:51:23 +03:00
|
|
|
|
|
|
|
[Sessions]
|
2016-11-14 12:23:12 +03:00
|
|
|
;; X11DisplayOffset - x11 display number offset
|
|
|
|
; Type: integer
|
|
|
|
; Default: 10
|
2010-04-24 10:41:55 +04:00
|
|
|
X11DisplayOffset=10
|
2014-04-20 11:42:19 +04:00
|
|
|
|
2016-11-14 12:23:12 +03:00
|
|
|
;; MaxSessions - maximum number of connections to an xrdp server
|
|
|
|
; Type: integer
|
|
|
|
; Default: 0
|
2014-03-01 07:28:31 +04:00
|
|
|
MaxSessions=50
|
2014-04-20 11:42:19 +04:00
|
|
|
|
2016-11-14 12:23:12 +03:00
|
|
|
;; KillDisconnected - kill disconnected sessions
|
|
|
|
; Type: boolean
|
|
|
|
; Default: false
|
2020-12-18 09:21:21 +03:00
|
|
|
; if 1, true, or yes, every session will be killed within DisconnectedTimeLimit
|
|
|
|
; seconds after the user disconnects
|
2016-11-14 10:21:23 +03:00
|
|
|
KillDisconnected=false
|
2014-04-20 11:42:19 +04:00
|
|
|
|
2020-12-18 09:21:21 +03:00
|
|
|
;; DisconnectedTimeLimit (seconds) - wait before kill disconnected sessions
|
2016-11-14 12:23:12 +03:00
|
|
|
; Type: integer
|
|
|
|
; Default: 0
|
2020-12-18 09:21:21 +03:00
|
|
|
; if KillDisconnected is set to false, this value is ignored
|
2006-01-13 18:51:23 +03:00
|
|
|
DisconnectedTimeLimit=0
|
|
|
|
|
2020-12-18 09:21:21 +03:00
|
|
|
;; IdleTimeLimit (seconds) - wait before disconnect idle sessions
|
2018-10-16 10:53:33 +03:00
|
|
|
; Type: integer
|
|
|
|
; Default: 0
|
|
|
|
; Set to 0 to disable idle disconnection.
|
|
|
|
IdleTimeLimit=0
|
|
|
|
|
2016-11-14 12:23:12 +03:00
|
|
|
;; Policy - session allocation policy
|
|
|
|
; Type: enum [ "Default" | "UBD" | "UBI" | "UBC" | "UBDI" | "UBDC" ]
|
2020-08-26 12:04:33 +03:00
|
|
|
; "Default" session per <User,BitPerPixel>
|
2016-11-14 12:23:12 +03:00
|
|
|
; "UBD" session per <User,BitPerPixel,DisplaySize>
|
|
|
|
; "UBI" session per <User,BitPerPixel,IPAddr>
|
|
|
|
; "UBC" session per <User,BitPerPixel,Connection>
|
|
|
|
; "UBDI" session per <User,BitPerPixel,DisplaySize,IPAddr>
|
|
|
|
; "UBDC" session per <User,BitPerPixel,DisplaySize,Connection>
|
2014-04-20 11:42:19 +04:00
|
|
|
Policy=Default
|
|
|
|
|
2005-10-24 01:47:17 +04:00
|
|
|
[Logging]
|
2020-10-08 04:55:08 +03:00
|
|
|
; Note: Log levels can be any of: core, error, warning, info, debug, or trace
|
2012-06-11 08:50:57 +04:00
|
|
|
LogFile=xrdp-sesman.log
|
2020-10-08 04:55:08 +03:00
|
|
|
LogLevel=INFO
|
|
|
|
EnableSyslog=true
|
|
|
|
#SyslogLevel=INFO
|
|
|
|
#EnableConsole=false
|
|
|
|
#ConsoleLevel=INFO
|
|
|
|
#EnableProcessId=false
|
|
|
|
|
|
|
|
[LoggingPerLogger]
|
2021-05-19 13:19:43 +03:00
|
|
|
; Note: per logger configuration is only used if xrdp is built with
|
|
|
|
; --enable-devel-logging
|
2020-10-08 04:55:08 +03:00
|
|
|
#sesman.c=INFO
|
|
|
|
#main()=INFO
|
2006-09-18 08:40:43 +04:00
|
|
|
|
2017-12-15 08:18:37 +03:00
|
|
|
;
|
|
|
|
; Session definitions - startup command-line parameters for each session type
|
|
|
|
;
|
2014-03-09 04:41:37 +04:00
|
|
|
|
2014-03-09 22:24:30 +04:00
|
|
|
[Xorg]
|
2017-12-14 07:25:29 +03:00
|
|
|
; Specify the path of non-suid Xorg executable. It might differ depending
|
2020-08-03 04:37:07 +03:00
|
|
|
; on your distribution and version. Find out the appropreate path for your
|
|
|
|
; environment. The typical path is known as follows:
|
2017-12-14 07:25:29 +03:00
|
|
|
;
|
|
|
|
; Fedora 26 or later : param=/usr/libexec/Xorg
|
|
|
|
; Debian 9 or later : param=/usr/lib/xorg/Xorg
|
|
|
|
; Ubuntu 16.04 or later : param=/usr/lib/xorg/Xorg
|
2020-04-02 10:18:06 +03:00
|
|
|
; Arch Linux : param=/usr/lib/Xorg
|
2017-12-14 07:25:29 +03:00
|
|
|
; CentOS 7 : param=/usr/bin/Xorg or param=Xorg
|
2020-08-03 04:37:07 +03:00
|
|
|
; CentOS 8 : param=/usr/libexec/Xorg
|
2017-12-14 07:25:29 +03:00
|
|
|
;
|
2016-11-16 07:55:03 +03:00
|
|
|
param=Xorg
|
2017-12-14 07:25:29 +03:00
|
|
|
; Leave the rest paramaters as-is unless you understand what will happen.
|
2016-11-16 07:55:03 +03:00
|
|
|
param=-config
|
|
|
|
param=xrdp/xorg.conf
|
|
|
|
param=-noreset
|
|
|
|
param=-nolisten
|
|
|
|
param=tcp
|
|
|
|
param=-logfile
|
2016-12-02 20:11:13 +03:00
|
|
|
param=.xorgxrdp.%s.log
|
2014-04-20 04:08:55 +04:00
|
|
|
|
2017-12-15 08:18:37 +03:00
|
|
|
[Xvnc]
|
|
|
|
param=Xvnc
|
|
|
|
param=-bs
|
|
|
|
param=-nolisten
|
|
|
|
param=tcp
|
|
|
|
param=-localhost
|
|
|
|
param=-dpi
|
|
|
|
param=96
|
|
|
|
|
2014-04-20 04:08:55 +04:00
|
|
|
[Chansrv]
|
2020-08-22 20:05:24 +03:00
|
|
|
; drive redirection
|
|
|
|
; See sesman.ini(5) for the format of this parameter
|
|
|
|
#FuseMountName=/run/user/%u/thinclient_drives
|
|
|
|
#FuseMountName=/media/thinclient_drives/%U/thinclient_drives
|
2014-04-20 04:08:55 +04:00
|
|
|
FuseMountName=thinclient_drives
|
2019-11-14 17:43:57 +03:00
|
|
|
; this value allows only the user to acess their own mapped drives.
|
|
|
|
; Make this more permissive (e.g. 022) if required.
|
|
|
|
FileUmask=077
|
2020-08-22 20:05:24 +03:00
|
|
|
; Can be used to disable FUSE functionality - see sesman.ini(5)
|
|
|
|
#EnableFuseMount=false
|
2021-09-14 17:00:01 +03:00
|
|
|
; Uncomment this line only if you are using GNOME 3 versions 3.29.92
|
|
|
|
; and up, and you wish to cut-paste files between Nautilus and Windows. Do
|
|
|
|
; not use this setting for GNOME 4, or other file managers
|
|
|
|
#UseNautilus3FlistFormat=true
|
2014-05-10 03:02:19 +04:00
|
|
|
|
2020-10-08 04:55:08 +03:00
|
|
|
[ChansrvLogging]
|
|
|
|
; Note: one log file is created per display and the LogFile config value
|
|
|
|
; is ignored. The channel server log file names follow the naming convention:
|
|
|
|
; xrdp-chansrv.${DISPLAY}.log
|
|
|
|
;
|
|
|
|
; Note: Log levels can be any of: core, error, warning, info, debug, or trace
|
|
|
|
LogLevel=INFO
|
|
|
|
EnableSyslog=true
|
|
|
|
#SyslogLevel=INFO
|
|
|
|
#EnableConsole=false
|
|
|
|
#ConsoleLevel=INFO
|
|
|
|
#EnableProcessId=false
|
|
|
|
|
|
|
|
[ChansrvLoggingPerLogger]
|
2021-05-19 13:19:43 +03:00
|
|
|
; Note: per logger configuration is only used if xrdp is built with
|
|
|
|
; --enable-devel-logging
|
2020-10-08 04:55:08 +03:00
|
|
|
#chansrv.c=INFO
|
|
|
|
#main()=INFO
|
|
|
|
|
2014-05-10 03:02:19 +04:00
|
|
|
[SessionVariables]
|
2018-02-08 21:30:00 +03:00
|
|
|
PULSE_SCRIPT=@sesmansysconfdir@/pulse/default.pa
|