boot graphical with lightdm
This commit is contained in:
parent
497a5597c1
commit
92a000d007
14
kodi.yml
14
kodi.yml
@ -73,6 +73,20 @@
|
|||||||
notify:
|
notify:
|
||||||
- Restart lightdm
|
- Restart lightdm
|
||||||
|
|
||||||
|
- name: 'add lightdm to startup'
|
||||||
|
command: systemctl enable signal-cli
|
||||||
|
args:
|
||||||
|
creates: /etc/systemd/system/multi-user.target.wants/lightdm.service
|
||||||
|
|
||||||
|
- name: "Get current systemd default"
|
||||||
|
command: "systemctl get-default"
|
||||||
|
changed_when: false
|
||||||
|
register: systemdefault
|
||||||
|
|
||||||
|
- name: "Set default to graphical target"
|
||||||
|
command: "systemctl set-default graphical.target"
|
||||||
|
when: "'graphical' not in systemdefault.stdout"
|
||||||
|
|
||||||
|
|
||||||
handlers:
|
handlers:
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user