@@ -13,6 +13,7 @@ kanboard_api_settings: "{{ lookup('file', '~/.kanboard_api_settings.json') }}" | |||||
# kanboard_api_user: ka | # kanboard_api_user: ka | ||||
# kanboard_api_key: xxx | # kanboard_api_key: xxx | ||||
home_vdesk_started_and_enabled: false | home_vdesk_started_and_enabled: false | ||||
home_vdesk_display_number: 47 | |||||
home_profile: desktop | home_profile: desktop | ||||
@@ -17,3 +17,10 @@ | |||||
file: | file: | ||||
path: ~/.eralitex | path: ~/.eralitex | ||||
state: absent | state: absent | ||||
- name: disable and stop vdesk user service at display 16 | |||||
systemd: | |||||
name: vdesk@:16.service | |||||
state: stopped | |||||
enabled: false | |||||
scope: user |
@@ -27,7 +27,7 @@ | |||||
- name: enable and start vdesk user service | - name: enable and start vdesk user service | ||||
systemd: | systemd: | ||||
name: vdesk@:16.service | |||||
name: vdesk@:{{home_vdesk_display_number}}.service | |||||
state: started | state: started | ||||
enabled: true | enabled: true | ||||
scope: user | scope: user | ||||
@@ -3,7 +3,7 @@ | |||||
{% if workspaces[workspace].type == "vdesk" %} | {% if workspaces[workspace].type == "vdesk" %} | ||||
xtigervncviewer localhost:{{workspaces[workspace].display|default(16)}} -via {{workspaces[workspace].host}} -PasswordFile ~/.vnc/passwd.{{workspaces[workspace].host}} | |||||
xtigervncviewer localhost:{{workspaces[workspace].display|default(home_vdesk_display_number)}} -via {{workspaces[workspace].host}} -PasswordFile ~/.vnc/passwd.{{workspaces[workspace].host}} | |||||
{% elif workspaces[workspace].type == "tmux" %} | {% elif workspaces[workspace].type == "tmux" %} | ||||