This still happens in 17.10, and it is probably because a DBUS call Totem does, as deleting /usr/share/dbus-1/services/org.gnome.ScreenSaver.service solves the problem.
Btw, gnome-screensaver-command -l doesn't even notify you when it didn't do anything. At least cinnamon-screensaver-command -l shows "Can't connect to screensaver!" -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to gnome-screensaver in Ubuntu. https://bugs.launchpad.net/bugs/1653264 Title: gnome-screensaver starts within a KDE session To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gnome-screensaver/+bug/1653264/+subscriptions -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs