xrdp_apphost: Made login screen configureable
This commit is contained in:
parent
da9b432864
commit
44241e5df5
@ -3,6 +3,23 @@
|
|||||||
xrdp_maxsessions: 10
|
xrdp_maxsessions: 10
|
||||||
xrdp_killdisconnected: true
|
xrdp_killdisconnected: true
|
||||||
xrdp_policy: UBDC
|
xrdp_policy: UBDC
|
||||||
|
xrdp_ls_title: Binary Kitchen Application Server
|
||||||
|
xrdp_ls_top_window_bg_color: 003377
|
||||||
|
xrdp_ls_bg_color: dedede
|
||||||
|
xrdp_ls_width: 350
|
||||||
|
xrdp_ls_height: 430
|
||||||
|
xrdp_ls_logo_filename: KitchenLogo.bmp
|
||||||
|
xrdp_ls_logo_x_pos: 55
|
||||||
|
xrdp_ls_logo_y_pos: 50
|
||||||
|
xrdp_ls_label_x_pos: 30
|
||||||
|
xrdp_ls_label_width: 65
|
||||||
|
xrdp_ls_input_x_pos: 110
|
||||||
|
xrdp_ls_input_width: 210
|
||||||
|
xrdp_ls_input_y_pos: 220
|
||||||
|
xrdp_ls_btn_ok_x_pos: 142
|
||||||
|
xrdp_ls_btn_ok_y_pos: 370
|
||||||
|
xrdp_ls_btn_cancel_x_pos: 237
|
||||||
|
xrdp_ls_btn_cancel_y_pos: 370
|
||||||
|
|
||||||
lightburn_user: lightburn
|
lightburn_user: lightburn
|
||||||
lightburn_group: lightburn
|
lightburn_group: lightburn
|
||||||
|
BIN
roles/xrdp_apphost/files/KitchenLogo.bmp
Normal file
BIN
roles/xrdp_apphost/files/KitchenLogo.bmp
Normal file
Binary file not shown.
After Width: | Height: | Size: 99 KiB |
@ -15,6 +15,13 @@
|
|||||||
template: src=sesman.ini.j2 dest=/etc/xrdp/sesman.ini
|
template: src=sesman.ini.j2 dest=/etc/xrdp/sesman.ini
|
||||||
notify: Restart xrdp
|
notify: Restart xrdp
|
||||||
|
|
||||||
|
- name: Create xrdp directory
|
||||||
|
file: path=/usr/local/share/xrdp/ state=directory mode=0755 owner=root group=root
|
||||||
|
|
||||||
|
- name: Copy Binary Kitchen Logo
|
||||||
|
copy: src={{ xrdp_ls_logo_filename }} dest=/usr/local/share/xrdp/{{ xrdp_ls_logo_filename }}
|
||||||
|
notify: Restart xrdp
|
||||||
|
|
||||||
- name: Install LightBurn dependencies
|
- name: Install LightBurn dependencies
|
||||||
apt:
|
apt:
|
||||||
name:
|
name:
|
||||||
|
@ -100,47 +100,47 @@ grey=dedede
|
|||||||
;
|
;
|
||||||
|
|
||||||
; Login Screen Window Title
|
; Login Screen Window Title
|
||||||
#ls_title=My Login Title
|
ls_title={{ xrdp_ls_title }}
|
||||||
|
|
||||||
; top level window background color in RGB format
|
; top level window background color in RGB format
|
||||||
ls_top_window_bg_color=009cb5
|
ls_top_window_bg_color={{ xrdp_ls_top_window_bg_color }}
|
||||||
|
|
||||||
; width and height of login screen
|
; width and height of login screen
|
||||||
ls_width=350
|
ls_width={{ xrdp_ls_width }}
|
||||||
ls_height=430
|
ls_height={{ xrdp_ls_height }}
|
||||||
|
|
||||||
; login screen background color in RGB format
|
; login screen background color in RGB format
|
||||||
ls_bg_color=dedede
|
ls_bg_color={{ xrdp_ls_bg_color }}
|
||||||
|
|
||||||
; optional background image filename (bmp format).
|
; optional background image filename (bmp format).
|
||||||
#ls_background_image=
|
#ls_background_image=
|
||||||
|
|
||||||
; logo
|
; logo
|
||||||
; full path to bmp-file or file in shared folder
|
; full path to bmp-file or file in shared folder
|
||||||
ls_logo_filename=
|
ls_logo_filename=/usr/local/share/xrdp/{{ xrdp_ls_logo_filename }}
|
||||||
ls_logo_x_pos=55
|
ls_logo_x_pos={{ xrdp_ls_logo_x_pos }}
|
||||||
ls_logo_y_pos=50
|
ls_logo_y_pos={{ xrdp_ls_logo_y_pos }}
|
||||||
|
|
||||||
; for positioning labels such as username, password etc
|
; for positioning labels such as username, password etc
|
||||||
ls_label_x_pos=30
|
ls_label_x_pos={{ xrdp_ls_label_x_pos }}
|
||||||
ls_label_width=65
|
ls_label_width={{ xrdp_ls_label_width }}
|
||||||
|
|
||||||
; for positioning text and combo boxes next to above labels
|
; for positioning text and combo boxes next to above labels
|
||||||
ls_input_x_pos=110
|
ls_input_x_pos={{ xrdp_ls_input_x_pos }}
|
||||||
ls_input_width=210
|
ls_input_width={{ xrdp_ls_input_width }}
|
||||||
|
|
||||||
; y pos for first label and combo box
|
; y pos for first label and combo box
|
||||||
ls_input_y_pos=220
|
ls_input_y_pos={{ xrdp_ls_input_y_pos }}
|
||||||
|
|
||||||
; OK button
|
; OK button
|
||||||
ls_btn_ok_x_pos=142
|
ls_btn_ok_x_pos={{ xrdp_ls_btn_ok_x_pos }}
|
||||||
ls_btn_ok_y_pos=370
|
ls_btn_ok_y_pos={{ xrdp_ls_btn_ok_y_pos }}
|
||||||
ls_btn_ok_width=85
|
ls_btn_ok_width=85
|
||||||
ls_btn_ok_height=30
|
ls_btn_ok_height=30
|
||||||
|
|
||||||
; Cancel button
|
; Cancel button
|
||||||
ls_btn_cancel_x_pos=237
|
ls_btn_cancel_x_pos={{ xrdp_ls_btn_cancel_x_pos }}
|
||||||
ls_btn_cancel_y_pos=370
|
ls_btn_cancel_y_pos={{ xrdp_ls_btn_cancel_y_pos }}
|
||||||
ls_btn_cancel_width=85
|
ls_btn_cancel_width=85
|
||||||
ls_btn_cancel_height=30
|
ls_btn_cancel_height=30
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user