aboutsummaryrefslogtreecommitdiff
path: root/roles/xrdp/templates/xrdp.ini.j2
diff options
context:
space:
mode:
Diffstat (limited to 'roles/xrdp/templates/xrdp.ini.j2')
-rw-r--r--roles/xrdp/templates/xrdp.ini.j287
1 files changed, 87 insertions, 0 deletions
diff --git a/roles/xrdp/templates/xrdp.ini.j2 b/roles/xrdp/templates/xrdp.ini.j2
new file mode 100644
index 0000000..2afb769
--- /dev/null
+++ b/roles/xrdp/templates/xrdp.ini.j2
@@ -0,0 +1,87 @@
+[Globals]
+tcp_send_buffer_bytes=33554432
+tcp_recv_buffer_bytes=33554432
+ini_version=1
+fork=true
+port={{ 'tcp://.:3389' if xrdp_listen_local else 'tcp://:3389' }}
+use_vsock=false
+tcp_nodelay=true
+tcp_keepalive=true
+security_layer=negotiate
+crypt_level=medium
+key_file=
+ssl_protocols=TLSv1.2, TLSv1.3
+autorun=
+allow_channels=true
+allow_multimon=true
+bitmap_cache=true
+bitmap_compression=true
+bulk_compression=true
+max_bpp=32
+new_cursors=true
+use_fastpath=both
+grey=ffffff
+black=555555
+dark_grey=ffffff
+blue=19315a
+dark_blue=2777ff
+white=eeeeee
+ls_title=Remote Desktop Protocol (xRDP)
+ls_top_window_bg_color=2f2f2f
+ls_width=350
+ls_height=180
+ls_bg_color=dedede
+ls_logo_filename=/etc/xrdp/logo.bmp
+ls_logo_x_pos=0
+ls_logo_y_pos=0
+ls_label_x_pos=30
+ls_label_width=65
+ls_input_x_pos=110
+ls_input_y_pos=50
+ls_input_width=210
+ls_btn_ok_x_pos=142
+ls_btn_ok_y_pos=135
+ls_btn_ok_width=85
+ls_btn_ok_height=30
+ls_btn_cancel_x_pos=235
+ls_btn_cancel_y_pos=135
+ls_btn_cancel_width=85
+ls_btn_cancel_height=30
+
+[Logging]
+LogFile=xrdp.log
+LogLevel=INFO
+EnableSyslog=true
+
+[LoggingPerLogger]
+#xrdp.c=INFO
+#main()=INFO
+
+[Channels]
+rdpdr=true
+drdynvc=true
+cliprdr=true
+rdpsnd=false
+rail=false
+xrdpvr=false
+tcutils=false
+
+[Xorg]
+name=Xorg
+lib=libxup.so
+username=ask
+password=ask
+ip=127.0.0.1
+port=-1
+code=20
+
+#[Xvnc]
+#name=Xvnc
+#lib=libvnc.so
+#username=ask
+#password=ask
+#ip=127.0.0.1
+#port=-1
+#xserverbpp=24
+#delay_ms=2000
+#disabled_encodings_mask=0