aboutsummaryrefslogtreecommitdiffstats
path: root/roles
diff options
context:
space:
mode:
authorStonewall Jackson <stonewall@sacredheartsc.com>2023-05-22 17:39:51 -0400
committerStonewall Jackson <stonewall@sacredheartsc.com>2023-05-22 17:39:51 -0400
commit46c8bfbb101b8ea897d05b017c51f77367476bc6 (patch)
tree7aa1f15dad633f9fe7e8b2eec4d6ee7c66c1cfcd /roles
parent51e60f5f1a9d6a8441d108aa61f094fd621ca87b (diff)
downloadselfhosted-46c8bfbb101b8ea897d05b017c51f77367476bc6.tar.gz
selfhosted-46c8bfbb101b8ea897d05b017c51f77367476bc6.zip
linux_desktop: disable wayland sessions
Diffstat (limited to 'roles')
-rw-r--r--roles/linux_desktop/files/etc/sddm.conf5
-rw-r--r--roles/linux_desktop/tasks/main.yml10
2 files changed, 9 insertions, 6 deletions
diff --git a/roles/linux_desktop/files/etc/sddm.conf b/roles/linux_desktop/files/etc/sddm.conf
new file mode 100644
index 0000000..8de8382
--- /dev/null
+++ b/roles/linux_desktop/files/etc/sddm.conf
@@ -0,0 +1,5 @@
+[General]
+DisplayServer = x11
+
+[Wayland]
+SessionDir = /dev/null
diff --git a/roles/linux_desktop/tasks/main.yml b/roles/linux_desktop/tasks/main.yml
index 5fbb799..c933df6 100644
--- a/roles/linux_desktop/tasks/main.yml
+++ b/roles/linux_desktop/tasks/main.yml
@@ -23,12 +23,10 @@
dest: /etc/systemd/system/default.target
state: link
-- name: set sddm to use x11
- ini_file:
- path: /etc/sddm.conf
- section: General
- option: DisplayServer
- value: x11
+- name: copy sddm configuration
+ copy:
+ src: etc/sddm.conf
+ dest: /etc/sddm.conf
notify: restart sddm
- name: enable sddm