Rev 197 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | RSS feed
;; See `man 5 sesman.ini` for details[Globals]ListenAddress=127.0.0.1ListenPort=3350EnableUserWindowManager=true; Give in relative path to user's home directoryUserWindowManager=startwm.sh; Give in full path or relative path to /etc/xrdpDefaultWindowManager=startwm-bash.sh; Give in full path or relative path to /etc/xrdpReconnectScript=reconnectwm.sh[Security]AllowRootLogin=trueMaxLoginRetry=4TerminalServerUsers=tsusersTerminalServerAdmins=tsadmins; When AlwaysGroupCheck=false access will be permitted; if the group TerminalServerUsers is not defined.AlwaysGroupCheck=false; When RestrictOutboundClipboard=true clipboard from the; server is not pushed to the client.RestrictOutboundClipboard=false[Sessions];; X11DisplayOffset - x11 display number offset; Type: integer; Default: 10X11DisplayOffset=10;; MaxSessions - maximum number of connections to an xrdp server; Type: integer; Default: 0MaxSessions=50;; KillDisconnected - kill disconnected sessions; Type: boolean; Default: false; if 1, true, or yes, kill session after 60 secondsKillDisconnected=false;; DisconnectedTimeLimit - when to kill idle sessions; Type: integer; Default: 0; if not zero, the seconds before a disconnected session is killed; min 60 secondsDisconnectedTimeLimit=0;; IdleTimeLimit (specify in second) - wait before disconnect idle sessions; Type: integer; Default: 0; Set to 0 to disable idle disconnection.IdleTimeLimit=0;; Policy - session allocation policy; Type: enum [ "Default" | "UBD" | "UBI" | "UBC" | "UBDI" | "UBDC" ]; "Default" session per <User,BitPerPixel>; "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>Policy=Default[Logging]LogFile=xrdp-sesman.logLogLevel=DEBUGEnableSyslog=1SyslogLevel=DEBUG;; Session definitions - startup command-line parameters for each session type;[Xorg]; Specify the path of non-suid Xorg executable. It might differ depending; on your distribution and version. Find out the appropreate path for your; environment. The typical path is known as follows:;; 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; Arch Linux : param=/usr/lib/Xorg; CentOS 7 : param=/usr/bin/Xorg or param=Xorg; CentOS 8 : param=/usr/libexec/Xorg;param=Xorg; Leave the rest paramaters as-is unless you understand what will happen.param=-configparam=xrdp/xorg.confparam=-noresetparam=-nolistenparam=tcpparam=-logfileparam=.xorgxrdp.%s.log[Xvnc]param=Xvncparam=-bsparam=-nolistenparam=tcpparam=-localhostparam=-dpiparam=96[Chansrv]; drive redirection, defaults to xrdp_client if not setFuseMountName=thinclient_drives; this value allows only the user to acess their own mapped drives.; Make this more permissive (e.g. 022) if required.FileUmask=077[SessionVariables]PULSE_SCRIPT=/etc/xrdp/pulse/default.pa