You are not logged in.
I'm running BunsenLabs 8.3 with automatic login and startx. This caused Lock Screen, via both openbox menu and keybindings, to stop working.
To solve this I'm using slock and xset.
BunsenLabs comes with suckless-tools so no need to install. Just create a script, make it executable and bind to menu and keys.
New script at /usr/bin/bl-slock:
#!/bin/bash
#
# Type password to unlock (no prompt).
sleep 1; xset dpms force off && slock
Make executable:
sudo chmod +x /usr/bin/bl-slock
Open menu.xml and rc.xml (Menu > Preferences > Openbox) and change "bl-lock" to "bl-slock". In Geany use Replace (Crtl+H) to save time.
Result: A working screen locker that also turns off the screen and won't be affected by updates (to bunsen-utilities).
Source: superuser.com/questions/374637
Offline
Nice! Thanks for this
Off topic:
Is that working OK for you?
I had a similar guide here but I deleted it because some of the session permissions were b0rked (no gvfs automounting) without LightDM initialising the X server.
Offline
^ Thanks, it was your guide on here that I followed.
I also purged light-locker lightdm lightdm-gtk-greeter (and autoremoved liblightdm-gobject-1-0 libxklavier16).
Apart from the Lock Screen issue everything is behaving as usual. For example, when plugging in a drive it's automatically mounted with a notification.
Offline
when you say xset, does that mean you aren't using xscreensaver at all? why not purge that, too.
always a step closer to lightweightness.
and if it's not a laptop, you don't really need the xfce powermanager, either...
Offline
Thank you for this! Now I can uninstall xscreensaver.
Offline