diff --git a/installer/installer.kmdr b/installer/installer.kmdr index 332ea1c..8e65876 100755 --- a/installer/installer.kmdr +++ b/installer/installer.kmdr @@ -3464,7 +3464,7 @@ fi if [ "$DESKTOP_SESSION" == "gnome" ]; then gnome-session-save --shutdown-dialog -elif [ "${DESKTOP_SESSION:0:3}" == "kde" -a -x /usr/bin/qdbus ]; then +elif [ "${DESKTOP_SESSION:0:3}" == "kde" -o "${KDE_FULL_SESSION}" == "true" ]; then /usr/bin/qdbus org.kde.ksmserver /KSMServer logout 0 1 2 elif [ "${DESKTOP_SESSION:0:3}" == "kde" ]; then dcop ksmserver ksmserver logout 0 1 1