Linux

Satish Auti
Satish Auti used Ask the Experts™
on
Hi.

I am new to  linux, and am assign to project base on linux. I have Linux VM installed. But it never get locked. It always remain on desktop or any open window.

Is there any settings we I need to check and any command.

Thanks..
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Hi,
which version of linux are you using (Ubuntu, Redhat, ....) ?
Satish AutiSenior System Administrator

Author

Commented:
Redhat...(RHEL_6.3)
I'm no Redhat expert (I use Debian and Ubuntu distros), but I found a possible reason here: https://wiki.gnome.org/Projects/GnomeScreensaver/FrequentlyAskedQuestions#Why_doesn.27t_my_screen_lock_when_I.27m_logged_in_as_root.3F

"Why doesn't my screen lock when I'm logged in as root?
gnome-screensaver will blank the screen but will not lock. This is for security reasons. Seriously, it is very unwise to login as root in the first place. Try logging in as an unprivileged user and using sudo or su instead. "

I don't know if you're logged in as root when this happens, but this could be the reason. You should always use another user to login and sudo to root only when needed.

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial