From 198a68a4585ace43a7b45a8df9e8d4a06516ee1f Mon Sep 17 00:00:00 2001 From: Stonewall Jackson Date: Wed, 19 Apr 2023 08:46:33 -0400 Subject: linux_desktop: dont rewrite entire sddm.conf --- roles/linux_desktop/tasks/main.yml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'roles/linux_desktop/tasks/main.yml') diff --git a/roles/linux_desktop/tasks/main.yml b/roles/linux_desktop/tasks/main.yml index 496a147..d24099f 100644 --- a/roles/linux_desktop/tasks/main.yml +++ b/roles/linux_desktop/tasks/main.yml @@ -23,10 +23,11 @@ dest: /etc/systemd/system/default.target state: link -- name: generate sddm configuration - copy: - src: etc/sddm.conf - dest: /etc/sddm.conf +- name: set sddm to use x11 + lineinfile: + path: /etc/sddm.conf + regexp: ^DisplayServer= + line: DisplayServer=x11 notify: restart sddm - name: enable sddm -- cgit