How can I lock the screen via the shell?
- Solaris 10
- GNOME desktop environment
For some reason Launch > Lock Screen does not work. A fix for that would also be much appreciated. Thank you.
After reading @egorgry's answer, I tried
So for future reference:
Is the system using the gnome screen saver?
If it is then you can do this:
use xset -q to see if locking is enabled or disabled. read the xset man to see how to change these settings. I hope this helps you.