Start XDM and disable console getty

This commit is contained in:
Anthony Rose 2019-11-12 10:00:45 +00:00
parent 6f360e89f0
commit d6b836e723

View file

@ -4,3 +4,15 @@
pkgin: pkgin:
name: firefox,motif,vim-motif,xlockmore-lite name: firefox,motif,vim-motif,xlockmore-lite
state: present state: present
- name: Enable xdm
become: true
lineinfile:
path: /etc/rc.conf
regexp: ^xdm=.*
line: xdm=YES
- name: Disable console getty
become: true
lineinfile:
path: /etc/ttys
regexp: ^console\s+
line: 'console "/usr/libexec/getty Pc" vt100 off secure'