Advertisement
Guest User

Untitled

a guest
Jun 23rd, 2016
264
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.77 KB | None | 0 0
  1. [globals]
  2. # xrdp.ini file version number
  3. ini_version=1
  4.  
  5. bitmap_cache=yes
  6. bitmap_compression=yes
  7. port=3389
  8. allow_channels=true
  9. max_bpp=32
  10. fork=yes
  11. # minimum security level allowed for client
  12. # can be 'none', 'low', 'medium', 'high', 'fips'
  13. crypt_level=high
  14. # security layer can be 'tls', 'rdp' or 'negotiate'
  15. # for client compatible layer
  16. security_layer=rdp
  17. # X.509 certificate and private key
  18. # openssl req -x509 -newkey rsa:2048 -nodes -keyout key.pem -out cert.pem -days 365
  19. certificate=
  20. key_file=
  21.  
  22. # regulate if the listening socket use socket option tcp_nodelay
  23. # no buffering will be performed in the TCP stack
  24. tcp_nodelay=yes
  25.  
  26. # regulate if the listening socket use socket option keepalive
  27. # if the network connection disappear without close messages the connection will be closed
  28. tcp_keepalive=yes
  29.  
  30. #tcp_send_buffer_bytes=32768
  31. #tcp_recv_buffer_bytes=32768
  32.  
  33. #
  34. # colors used by windows in RGB format
  35. #
  36.  
  37. blue=009cb5
  38. grey=dedede
  39. #black=000000
  40. #dark_grey=808080
  41. #blue=08246b
  42. #dark_blue=08246b
  43. #white=ffffff
  44. #red=ff0000
  45. #green=00ff00
  46. #background=626c72
  47. #autorun=xrdp1
  48. #hidelogwindow=yes
  49.  
  50. # when true, userid/password *must* be passed on cmd line
  51. # require_credentials=yes
  52.  
  53. # set a default entry for autorun if the client send login and pass directly
  54. autorun=xrdp1
  55.  
  56. bulk_compression=yes
  57.  
  58. # You can set the PAM error text in a gateway setup (MAX 256 chars)
  59. #pamerrortxt=change your password according to policy at http://url
  60. new_cursors=yes
  61. allow_multimon=true
  62.  
  63. # fastpath - can be set to input / output / both / none
  64. use_fastpath=both
  65. #
  66. # configure login screen
  67. #
  68.  
  69. # Login Screen Window Title
  70. #ls_title=My Login Title
  71.  
  72. # top level window background color in RGB format
  73. #ls_top_window_bg_color=009cb5
  74. ls_top_window_bg_color=000000
  75.  
  76. # width and height of login screen
  77. ls_width=350
  78. ls_height=430
  79.  
  80. # login screen background color in RGB format
  81. ls_bg_color=dedede
  82.  
  83. # optional background image filename (bmp format).
  84. #ls_background_image=
  85.  
  86. # logo
  87. # full path to bmp-file or file in shared folder
  88. ls_logo_filename=/usr/share/xrdp/openSUSE.bmp
  89. ls_logo_x_pos=55
  90. ls_logo_y_pos=50
  91.  
  92. # for positioning labels such as username, password etc
  93. ls_label_x_pos=30
  94. ls_label_width=60
  95.  
  96. # for positioning text and combo boxes next to above labels
  97. ls_input_x_pos=110
  98. ls_input_width=210
  99.  
  100. # y pos for first label and combo box
  101. ls_input_y_pos=220
  102.  
  103. # OK button
  104. ls_btn_ok_x_pos=142
  105. ls_btn_ok_y_pos=370
  106. ls_btn_ok_width=85
  107. ls_btn_ok_height=30
  108.  
  109. # Cancel button
  110. ls_btn_cancel_x_pos=237
  111. ls_btn_cancel_y_pos=370
  112. ls_btn_cancel_width=85
  113. ls_btn_cancel_height=30
  114.  
  115. [Logging]
  116. LogFile=xrdp.log
  117. LogLevel=ERROR
  118. EnableSyslog=0
  119. SyslogLevel=ERROR
  120. # LogLevel and SysLogLevel could by any of: core, error, warning, info or debug
  121.  
  122. [channels]
  123. # Channel names not listed here will be blocked by XRDP.
  124. # You can block any channel by setting its value to false.
  125. # IMPORTANT! All channels are not supported in all use
  126. # cases even if you set all values to true.
  127. # You can override these settings on each session type
  128. # These settings are only used if allow_channels=true
  129. rdpdr=true
  130. rdpsnd=true
  131. drdynvc=true
  132. cliprdr=true
  133. rail=true
  134. xrdpvr=true
  135. tcutils=true
  136.  
  137. # for debugging xrdp, in section xrdp1, change port=-1 to this:
  138. # port=/tmp/.xrdp/xrdp_display_10
  139.  
  140. # for debugging xrdp, add following line to section xrdp1
  141. # chansrvport=/tmp/.xrdp/xrdp_chansrv_socket_7210
  142.  
  143. [xrdp1]
  144. name=sesman-Xvnc
  145. lib=libvnc.so
  146. username=ask
  147. password=ask
  148. ip=127.0.0.1
  149. port=-1
  150. #delay_ms=2000
  151.  
  152. [xrdp2]
  153. name=console
  154. lib=libvnc.so
  155. ip=127.0.0.1
  156. port=5900
  157. username=na
  158. password=ask
  159. #delay_ms=2000
  160.  
  161.  
  162. [Session manager]
  163. name=Session manager
  164. lib=libxup.so
  165. username=ask
  166. password=ask
  167. ip=127.0.0.1
  168. port=-1
  169. xserverbpp=24
  170. code=20
  171.  
  172. # You can override the common channel settings for each session type
  173. #channel.rdpdr=true
  174. #channel.rdpsnd=true
  175. #channel.drdynvc=true
  176. #channel.cliprdr=true
  177. #channel.rail=true
  178. #channel.xrdpvr=true
  179.  
  180. [Globals]
  181. ListenAddress=127.0.0.1
  182. ListenPort=3350
  183. EnableUserWindowManager=1
  184. UserWindowManager=startwm.sh
  185. DefaultWindowManager=startwm.sh
  186.  
  187. [Security]
  188. AllowRootLogin=1
  189. MaxLoginRetry=4
  190. TerminalServerUsers=tsusers
  191. TerminalServerAdmins=tsadmins
  192. # When AlwaysGroupCheck = false access will be permitted
  193. # if the group TerminalServerUsers is not defined.
  194. AlwaysGroupCheck = false
  195.  
  196. [Sessions]
  197.  
  198. ## X11DisplayOffset - x11 display number offset
  199. # Type: integer
  200. # Default: 10
  201. X11DisplayOffset=10
  202.  
  203. ## MaxSessions - maximum number of connections to an xrdp server
  204. # Type: integer
  205. # Default: 0
  206. MaxSessions=50
  207.  
  208. ## KillDisconnected - kill disconnected sessions
  209. # Type: integer
  210. # Default: 0
  211. # if 1, true, or yes, kill session after 60 seconds
  212. KillDisconnected=0
  213.  
  214. ## IdleTimeLimit - when to disconnect idle sessions
  215. # Type: integer
  216. # Default: 0
  217. # if not zero, the seconds without mouse or keyboard input before disconnect
  218. # not complete yet
  219. IdleTimeLimit=0
  220.  
  221. ## DisconnectedTimeLimit - when to kill idle sessions
  222. # Type: integer
  223. # Default: 0
  224. # if not zero, the seconds before a disconnected session is killed
  225. # min 60 seconds
  226. DisconnectedTimeLimit=0
  227.  
  228. ## Policy - session allocation policy
  229. # Type: enum [ "Default" | "UBD" | "UBI" | "UBC" | "UBDI" | "UBDC" ]
  230. # Default: Xrdp:<User,BitPerPixel> and Xvnc:<User,BitPerPixel,DisplaySize>
  231. # "UBD" session per <User,BitPerPixel,DisplaySize>
  232. # "UBI" session per <User,BitPerPixel,IPAddr>
  233. # "UBC" session per <User,BitPerPixel,Connection>
  234. # "UBDI" session per <User,BitPerPixel,DisplaySize,IPAddr>
  235. # "UBDC" session per <User,BitPerPixel,DisplaySize,Connection>
  236. Policy=Default
  237.  
  238. [Logging]
  239. LogFile=xrdp-sesman.log
  240. LogLevel=ERROR
  241. EnableSyslog=0
  242. SyslogLevel=ERROR
  243.  
  244. [Xvnc]
  245. param1=-bs
  246. param2=-ac
  247. param3=-nolisten
  248. param4=tcp
  249. param5=-localhost
  250. param6=-dpi
  251. param7=96
  252.  
  253. [Xorg]
  254. param1=-config
  255. param2=xrdp/xorg.conf
  256. param3=-logfile
  257. param4=/dev/null
  258. param5=-noreset
  259. param6=-ac
  260. param7=-nolisten
  261. param8=tcp
  262.  
  263. [Chansrv]
  264. # drive redirection, defaults to xrdp_client if not set
  265. FuseMountName=thinclient_drives
  266.  
  267. [SessionVariables]
  268. PULSE_SCRIPT=/etc/xrdp/pulse/default.pa
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement