config: unify all boolean values in config to true/false

master
Koichiro IWAO 8 years ago
parent bb55e0118b
commit 4f2d94505a

@ -1,21 +1,20 @@
[Globals] [Globals]
ListenAddress=127.0.0.1 ListenAddress=127.0.0.1
ListenPort=3350 ListenPort=3350
EnableUserWindowManager=1 EnableUserWindowManager=true
UserWindowManager=startwm.sh UserWindowManager=startwm.sh
DefaultWindowManager=startwm.sh DefaultWindowManager=startwm.sh
[Security] [Security]
AllowRootLogin=1 AllowRootLogin=true
MaxLoginRetry=4 MaxLoginRetry=4
TerminalServerUsers=tsusers TerminalServerUsers=tsusers
TerminalServerAdmins=tsadmins TerminalServerAdmins=tsadmins
# When AlwaysGroupCheck = false access will be permitted # When AlwaysGroupCheck = false access will be permitted
# if the group TerminalServerUsers is not defined. # if the group TerminalServerUsers is not defined.
AlwaysGroupCheck = false AlwaysGroupCheck=false
[Sessions] [Sessions]
## X11DisplayOffset - x11 display number offset ## X11DisplayOffset - x11 display number offset
# Type: integer # Type: integer
# Default: 10 # Default: 10
@ -27,10 +26,10 @@ X11DisplayOffset=10
MaxSessions=50 MaxSessions=50
## KillDisconnected - kill disconnected sessions ## KillDisconnected - kill disconnected sessions
# Type: integer # Type: boolean
# Default: 0 # Default: false
# if 1, true, or yes, kill session after 60 seconds # if 1, true, or yes, kill session after 60 seconds
KillDisconnected=0 KillDisconnected=false
## IdleTimeLimit - when to disconnect idle sessions ## IdleTimeLimit - when to disconnect idle sessions
# Type: integer # Type: integer

@ -2,12 +2,12 @@
# xrdp.ini file version number # xrdp.ini file version number
ini_version=1 ini_version=1
bitmap_cache=yes bitmap_cache=true
bitmap_compression=yes bitmap_compression=true
port=3389 port=3389
allow_channels=true allow_channels=true
max_bpp=32 max_bpp=32
fork=yes fork=true
# minimum security level allowed for client # minimum security level allowed for client
# can be 'none', 'low', 'medium', 'high', 'fips' # can be 'none', 'low', 'medium', 'high', 'fips'
crypt_level=high crypt_level=high
@ -19,17 +19,17 @@ security_layer=negotiate
certificate= certificate=
key_file= key_file=
# disable SSlv3 # disable SSlv3
#disableSSLv3=yes #disableSSLv3=true
# set TLS cipher suites # set TLS cipher suites
#tls_ciphers=HIGH #tls_ciphers=HIGH
# regulate if the listening socket use socket option tcp_nodelay # regulate if the listening socket use socket option tcp_nodelay
# no buffering will be performed in the TCP stack # no buffering will be performed in the TCP stack
tcp_nodelay=yes tcp_nodelay=true
# regulate if the listening socket use socket option keepalive # regulate if the listening socket use socket option keepalive
# if the network connection disappear without close messages the connection will be closed # 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_send_buffer_bytes=32768
#tcp_recv_buffer_bytes=32768 #tcp_recv_buffer_bytes=32768
@ -49,20 +49,20 @@ grey=dedede
#green=00ff00 #green=00ff00
#background=626c72 #background=626c72
#hidelogwindow=yes #hidelogwindow=true
# when true, userid/password *must* be passed on cmd line # 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 # Section name to use for automatic login if the client sends username
# and password # and password
autorun=X11rdp autorun=X11rdp
bulk_compression=yes bulk_compression=true
# You can set the PAM error text in a gateway setup (MAX 256 chars) # You can set the PAM error text in a gateway setup (MAX 256 chars)
#pamerrortxt=change your password according to policy at http://url #pamerrortxt=change your password according to policy at http://url
new_cursors=yes new_cursors=true
allow_multimon=true allow_multimon=true
# fastpath - can be set to input / output / both / none # fastpath - can be set to input / output / both / none
@ -119,7 +119,7 @@ ls_btn_cancel_height=30
[Logging] [Logging]
LogFile=xrdp.log LogFile=xrdp.log
LogLevel=DEBUG LogLevel=DEBUG
EnableSyslog=1 EnableSyslog=true
SyslogLevel=DEBUG SyslogLevel=DEBUG
# LogLevel and SysLogLevel could by any of: core, error, warning, info or debug # LogLevel and SysLogLevel could by any of: core, error, warning, info or debug

Loading…
Cancel
Save