In the recent past, the default keyboard shortcut, CTRL+L set to lock the screen had stopped working. I tried manually setting different keyboard shortcuts like CTRL+ALT+L. None of them would work.
To set the keyboard shortcuts
After going through several discussion threads on the Internet, I found the cause of the issue. If Location Pointer is enabled in mouse settings, the keyboard shortcuts starting with CTRL stopped working. To fix the issue follow these steps:
Lock my screen with a password
Hi Sudheer,
Thanks for the information.
I had the same problem and this is now working for me using the ctrl+l to lock the screen.
However what I would like to know is if there is any way that you can lock your screen with a password.
If so it would be great help.
Thank you in advance.
Don't you have to type your
Don't you have to type your password to unlock the screen?
Sudheer
Binary Vibes
Nope. I am using CentOS
Nope. I am using CentOS release 5.3 (Final) version and in that the screen just turns dark's out and comes back if there is any cursor movement.
Configure screen saver and lock
Have you logged on as root? If yes, try another user. Look for configuration options to enable screen saver when the screen is locked. I don't remember the exact steps to do that though.
Sudheer
Binary Vibes
Yes I log in as a different
Yes I log in as a different user it works but it does not work if I log in as root.
But I am not sure about two things:
1. Why screen saver needs to be enabled for this to work?
2. Why it doesn't work if I have logged in as root and how to lock my screen in root log in?
Well, the settings are
Well, the settings are correct in that case. CentOS punishes you because you follow bad system administration practices. Avoid logging on as root. Log on as a regular user and become root with 'su -' when needed.
Sudheer
Binary Vibes
That is exactly the point -
That is exactly the point - you do not lock the screen as Administrator in windoze - you should not be logged in as root. It is part of the fundamental security of Linux - Centos/Redhat force you to log in as a user (even on an admin type server) and then su whenever you need to perform administrative tasks. That is the first line of defense in security. Thus the root (if you are dangerous enough to log in as root and leave your machine logged in as such) screen cannot be locked. You are forced to log in as a user - and then lock your screen - already two steps away from a possible compromise rather than one.
You dont leave your front door open when you leave home? And even if you do lock your front door do you leave the stereo on full blast? No!
So good housekeeping starts at home - and good security policies start from the most vulnerable part of your risk working outwards sealing up all the small minor infractions.
regards
mainmeat
Post new comment