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
|
2023-04-14 21:22:42 +03:00
|
|
|
; Set to 'no' to prevent users from logging in with alternate shells
|
|
|
|
#AllowAlternateShell=true
|
2023-05-13 09:14:54 +03:00
|
|
|
; On Linux systems, the Xorg X11 server is normally invoked using
|
|
|
|
; no_new_privs to avoid problems if the executable is suid. This may,
|
|
|
|
; however, interfere with the use of security modules such as AppArmor.
|
|
|
|
; Leave this unset unless you need to disable it.
|
|
|
|
#XorgNoNewPrivileges=true
|
2023-06-14 15:59:55 +03:00
|
|
|
; Specify the group which is to have read access to the directory where
|
|
|
|
; local sockets for the session are created. This is normally the GID
|
|
|
|
; which the xrdp process runs as.
|
|
|
|
; Default is 'root'
|
|
|
|
#SessionSockdirGroup=root
|
|
|
|
|
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
|
|
|
|
2023-02-06 19:14:36 +03:00
|
|
|
;; MaxDisplayNumer - maximum number considered for an X display
|
|
|
|
; Type: integer
|
|
|
|
; Default: 63
|
|
|
|
;
|
|
|
|
; IANA only allocates TCP ports up to 6063 for X servers. If you are not
|
|
|
|
; allowing TCP connections to your X servers you may safely increase this
|
|
|
|
; number.
|
|
|
|
#MaxDisplayNumber=63
|
|
|
|
|
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
|
2022-05-02 14:54:40 +03:00
|
|
|
;
|
|
|
|
; Type: enum [ "Default" | "Separate" | Combination from {UBDI} ]
|
|
|
|
; "Default" Currently same as "UB"
|
|
|
|
; "Separate" All sessions are separate. Sessions can never be rejoined,
|
|
|
|
; and will need to be cleaned up manually, or automatically
|
|
|
|
; by setting other sesman options.
|
|
|
|
;
|
|
|
|
; Combination options:-
|
|
|
|
; U Sessions are separated per user
|
|
|
|
; B Sessions are separated by bits-per-pixel
|
|
|
|
; D Sessions are separated by initial display size
|
|
|
|
; I Sessions are separated by IP address
|
|
|
|
;
|
|
|
|
; The options U and B are always active, and cannot be de-selected.
|
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
|
2022-09-03 02:48:01 +03:00
|
|
|
; on your distribution and version. Find out the appropriate path for your
|
2020-08-03 04:37:07 +03:00
|
|
|
; 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
|
2022-08-26 07:56:52 +03:00
|
|
|
; FreeBSD (from 2022Q4) : param=/usr/local/libexec/Xorg
|
2017-12-14 07:25:29 +03:00
|
|
|
;
|
2016-11-16 07:55:03 +03:00
|
|
|
param=Xorg
|
2022-09-03 02:48:01 +03:00
|
|
|
; Leave the rest parameters 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
|
2022-09-03 02:48:01 +03:00
|
|
|
; this value allows only the user to access their own mapped drives.
|
2019-11-14 17:43:57 +03:00
|
|
|
; 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
|
2023-03-25 14:20:42 +03:00
|
|
|
; sound redirection
|
|
|
|
; workaround for Microsoft mstsc.exe to suppress noise.
|
|
|
|
; SoundNumSilentFramesAAC | SoundNumSilentFramesMP3 silent frames are sent before SNDC_CLOSE is sent.
|
|
|
|
; during SoundMsecDoNotSend mS after SNDC_CLOSE is sent, sound data is not send.
|
|
|
|
; depending on the environment, it might be necessary to increase values.
|
|
|
|
; Defaults: SoundNumSilentFramesAAC=4, SoundNumSilentFramesMP3=2, SoundMsecDoNotSend=1000
|
|
|
|
; If set to 0, this workaround is not applied.
|
|
|
|
#SoundNumSilentFramesAAC=4
|
|
|
|
#SoundNumSilentFramesMP3=2
|
|
|
|
#SoundMsecDoNotSend=1000
|
2014-05-10 03:02:19 +04:00
|
|
|
|
2020-10-08 04:55:08 +03:00
|
|
|
[ChansrvLogging]
|
2022-09-03 02:48:01 +03:00
|
|
|
; 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:
|
2020-10-08 04:55:08 +03:00
|
|
|
; 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
|