http://bugzilla.opensuse.org/show_bug.cgi?id=915677 Bug ID: 915677 Summary: locking the screen does not always work in lxde Classification: openSUSE Product: openSUSE Distribution Version: 13.2 Hardware: PC OS: openSUSE 13.2 Status: NEW Severity: Normal Priority: P5 - None Component: LXDE Assignee: andrea@opensuse.org Reporter: comes@naic.edu QA Contact: qa-bugs@suse.de Found By: --- Blocker: --- If lightdm is installed and in lxde I select Lock Screen in the logout window nothing happens. This is because the program lxsession-logout calls lxlock and lxlock contains: if test x"`which dm-tool 2>/dev/null`" != x""; then dm-tool switch-to-greeter So, if lightdm is installed, lxlock will execute "dm-tool switch-to-greeter" to lock the screen. Such command will fail with the error message: Not running inside a display manager, XDG_SEAT_PATH not defined But if I set lightdm as display manager then XDG_SEAT_PATH is defined and "dm-tool switch-to-greeter" will lock the screen. The fix is to change the if statement in lxlock like this: if test x"$XDG_SEAT_PATH" != x"" -a x"`which dm-tool 2>/dev/null`" != x""; then dm-tool will be executed only if lightdm is installed AND it is used as display manager. This fix is only for 13.2 and 13.1 (lxsession 0.4.9.3) newer version do not have this issue. -- You are receiving this mail because: You are on the CC list for the bug.