From bef1fea9b5f4e46981e085946cf322b7527d8539 Mon Sep 17 00:00:00 2001 From: Eriq Taing Date: Mon, 19 May 2025 11:36:48 -0400 Subject: [PATCH] Sddm patch for issue on login --- files/systemd/system/sddm-boot-patch.service | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 files/systemd/system/sddm-boot-patch.service diff --git a/files/systemd/system/sddm-boot-patch.service b/files/systemd/system/sddm-boot-patch.service new file mode 100644 index 0000000..8f6699b --- /dev/null +++ b/files/systemd/system/sddm-boot-patch.service @@ -0,0 +1,18 @@ +# Taken from Wayblue's repo, https://github.com/wayblueorg/wayblue +# This is to resolve issue on boot for sddm login +# Creates an SDDM user before SDDM runs. +# See: +# - https://github.com/ublue-os/cinnamon/blob/bf44562ddbed670cdd0d03a45ea08bdb8a6e96a7/system_files/usr/lib/systemd/system/ublue-lightdm-workaround.service#L4 +# - https://github.com/ublue-os/main/issues/224#issuecomment-1987851271 + +[Unit] +Description=Create SDDM user on system boot +Before=sddm.service + +[Service] +Type=oneshot +ExecStart=/usr/etc/sddm/sddm-useradd +RemainAfterExit=yes + +[Install] +WantedBy=multi-user.target