diff --git a/system_files/desktop/shared/usr/libexec/bazzite-user-setup b/system_files/desktop/shared/usr/libexec/bazzite-user-setup index f626c7ae..a9a1a43e 100755 --- a/system_files/desktop/shared/usr/libexec/bazzite-user-setup +++ b/system_files/desktop/shared/usr/libexec/bazzite-user-setup @@ -3,6 +3,9 @@ if [ "${EUID:-$(id -u)}" -eq 0 ]; then echo "Bazzite user setup ran as root user. Exiting." exit 0 +elif [ "$(whoami)" = "sddm" ]; then + echo "Bazzite user setup ran as sddm user. Exiting." + exit 0 fi IMAGE_INFO="/usr/share/ublue-os/image-info.json"