echo "Lxdm sistemden kaldırılıyor."

mps -s lxdm

if ! getent group sddm > /dev/null; then
   groupadd -g 64 sddm
fi
if ! getent passwd sddm > /dev/null; then
   useradd -c "Simple Desktop Display Manager" \
           -d /var/lib/sddm \
           -u 64 -g sddm    \
           -s /bin/false sddm
           
   passwd -l sddm > /dev/null
fi

mkdir -p /var/lib/sddm
chown -R sddm:sddm /var/lib/sddm > /dev/null
