Lock screen (requiring password to unlock) when resuming from suspend
I am currently running Slackware 10 on a Dell C600, (PIII 850mhz, 512MB ram) and am using APM (not acpi) for power management. I have the laptop set up so that when I close the lid, the computer goes to sleep. However, when I open the lid again, it returns me to my desktop without requiring a password. I have tried enabling xscreensaver using both the xcreensaver-demo and KDE control interfaces (in both cases configuring the program to require a password to unlock the screen), suspending the computer by closing the lid, then waiting for the xscreensaver timeout before bringing the computer out of suspend mode, but I am returned to my desktop without being required to enter a password. I am running KDE, and would prefer to use KDE's "lock session" feature instead of xscreensaver to lock the screen (although if xscreensaver/some other program is the only way to make it work, it would be acceptable to me to use it) when I bring the computer back out of suspend mode. I have googled high and low, but have not found a way to configure APM or some apm script to lock the screen when the computer enters into or comes out of suspend. If anyone has any suggestions or guidance as to how I could accomplish locking the screen on suspend/resume, or has any feedback as to why the things I tried above did not work, it would be greatly appreciated. Thanks in advance.