From 4f2d94505a27063578b6c2ea33f0c190d146233b Mon Sep 17 00:00:00 2001 From: Koichiro IWAO Date: Mon, 14 Nov 2016 16:21:23 +0900 Subject: [PATCH] config: unify all boolean values in config to true/false --- sesman/sesman.ini | 13 ++++++------- xrdp/xrdp.ini | 22 +++++++++++----------- 2 files changed, 17 insertions(+), 18 deletions(-) diff --git a/sesman/sesman.ini b/sesman/sesman.ini index 5e70225e..98996a08 100644 --- a/sesman/sesman.ini +++ b/sesman/sesman.ini @@ -1,21 +1,20 @@ [Globals] ListenAddress=127.0.0.1 ListenPort=3350 -EnableUserWindowManager=1 +EnableUserWindowManager=true UserWindowManager=startwm.sh DefaultWindowManager=startwm.sh [Security] -AllowRootLogin=1 +AllowRootLogin=true MaxLoginRetry=4 TerminalServerUsers=tsusers TerminalServerAdmins=tsadmins # When AlwaysGroupCheck = false access will be permitted # if the group TerminalServerUsers is not defined. -AlwaysGroupCheck = false +AlwaysGroupCheck=false [Sessions] - ## X11DisplayOffset - x11 display number offset # Type: integer # Default: 10 @@ -27,10 +26,10 @@ X11DisplayOffset=10 MaxSessions=50 ## KillDisconnected - kill disconnected sessions -# Type: integer -# Default: 0 +# Type: boolean +# Default: false # if 1, true, or yes, kill session after 60 seconds -KillDisconnected=0 +KillDisconnected=false ## IdleTimeLimit - when to disconnect idle sessions # Type: integer diff --git a/xrdp/xrdp.ini b/xrdp/xrdp.ini index 8acd8214..59a4f278 100644 --- a/xrdp/xrdp.ini +++ b/xrdp/xrdp.ini @@ -2,12 +2,12 @@ # xrdp.ini file version number ini_version=1 -bitmap_cache=yes -bitmap_compression=yes +bitmap_cache=true +bitmap_compression=true port=3389 allow_channels=true max_bpp=32 -fork=yes +fork=true # minimum security level allowed for client # can be 'none', 'low', 'medium', 'high', 'fips' crypt_level=high @@ -19,17 +19,17 @@ security_layer=negotiate certificate= key_file= # disable SSlv3 -#disableSSLv3=yes +#disableSSLv3=true # set TLS cipher suites #tls_ciphers=HIGH # regulate if the listening socket use socket option tcp_nodelay # no buffering will be performed in the TCP stack -tcp_nodelay=yes +tcp_nodelay=true # regulate if the listening socket use socket option keepalive # if the network connection disappear without close messages the connection will be closed -tcp_keepalive=yes +tcp_keepalive=true #tcp_send_buffer_bytes=32768 #tcp_recv_buffer_bytes=32768 @@ -49,20 +49,20 @@ grey=dedede #green=00ff00 #background=626c72 -#hidelogwindow=yes +#hidelogwindow=true # when true, userid/password *must* be passed on cmd line -# require_credentials=yes +# require_credentials=true # Section name to use for automatic login if the client sends username # and password autorun=X11rdp -bulk_compression=yes +bulk_compression=true # You can set the PAM error text in a gateway setup (MAX 256 chars) #pamerrortxt=change your password according to policy at http://url -new_cursors=yes +new_cursors=true allow_multimon=true # fastpath - can be set to input / output / both / none @@ -119,7 +119,7 @@ ls_btn_cancel_height=30 [Logging] LogFile=xrdp.log LogLevel=DEBUG -EnableSyslog=1 +EnableSyslog=true SyslogLevel=DEBUG # LogLevel and SysLogLevel could by any of: core, error, warning, info or debug