PDA

View Full Version : Screen lock not working



lrkx
2013-03-15, 09:20
Hey all,
Minor bug cropped up when installing Kali into a new VMWare machine. When locking the screen via the menu, the screen goes black as expected, but any key press or mouse move stops the screensaver and gets you back into the session without asking for a password. I've checked gnome-session-properties and screensaver and lock is ticked as expected, and calling gnome-screensaver-command -l from the command line has the same problem. Any ideas on how to get this fixed? Thanks.

tr00n3r
2013-03-20, 20:00
have to confim that screen lock is not working! Does other have the same issue?
Would like to fix it :)

st3alther
2013-03-21, 06:57
have to confim that screen lock is not working! Does other have the same issue?
Would like to fix it :)

You must create user account and create password on "System Setting"

Goodluck, my screen is LOCK.
:cool:

system_crash
2013-03-21, 17:11
You must create user account and create password on "System Setting"

Goodluck, my screen is LOCK.
:cool:

But still isn't working for root.

critterah
2013-03-22, 16:25
Yeah, I see the same problem. I have it actually installed on partition on my laptop, and can't seem to get it to really lock the screen for 'root'.

F0cks
2013-03-26, 13:54
Same problem on all releases I have tested: 32 bits 64 bits VMware and Raspberry.

mustu
2013-04-05, 19:05
I've installed x64 it on my ProBook 4530s and encountering same issue. After pressing Ctrl+Alt+L it goes blank but upon pressing any key it returns back to screen.

I've tried using a standard user and it works. However when logged in as root user it doesn't work. I've updated the bug:0000245 I reported earlier.

system_crash
2013-04-06, 09:32
It's not a bug. Locking screen as root user is blocked in the source code of "gnome-screensaver".

aru
2013-04-10, 08:43
It's not a bug. Locking screen as root user is blocked in the source code of "gnome-screensaver".

No matter if it's called a bug or not, there needs to be a way to lock the screen for root.

aru
2013-04-10, 08:55
There's a bug for it: http://bugs.kali.org/view.php?id=245

system_crash
2013-04-10, 12:51
No matter if it's called a bug or not, there needs to be a way to lock the screen for root.

I agree with you aru. I deleted that part of code where locking is disabled for root and it works but I'm not able to unlock my screen after that, only way to unlock it is to reboot :S

system_crash
2013-04-10, 14:02
http://forums.kali.org/showthread.php?1660-Root-screen-locking here is how to fix it :D

critterahs
2013-04-10, 16:20
You can also install xlockmore and it will lock as root :) I just created a menu item that runs 'xlock -mode [whatever mode you want for the screensaver] -mousemotion'

maverik35
2013-04-13, 17:47
As root, you will not be able to lock screen, why?..Due to secutity reasons.

It is not a BUG..You need to keep in mind one thing: Debian as any other linux distro is composed by metapackages, and some of them such as Gnome is developed not by Debian team, but by gnome team.

The gnome-screensaver will not lock screen as root due to security reasons. If you still have your doubts, well, refer here:
https://live.gnome.org/GnomeScreensaver/FrequentlyAskedQuestions#Why_doesn.27t_my_screen_l ock_when_I.27m_logged_in_as_root.3F

If you want to lock screen, gnome won't let you as stated in its page. So you might need to create a new user and then you will be able to do so.

Luck my friends.

mustu
2013-04-14, 04:32
Bug has been resolved. Do sudo apt-get update; sudo apt-get upgrade
http://bugs.kali.org/view.php?id=245

maverik35
2013-04-14, 19:00
It's not a bug. Locking screen as root user is blocked in the source code of "gnome-screensaver".

I totally agree with you, as I mentioned before and there is an explanation on why (I posted the gnome.org link).

blu3gl0w13
2013-04-16, 17:48
There's a bug for it: http://bugs.kali.org/view.php?id=245

The most recent update seems to have fixed this. My screen locks appropriately now when left idle, and prompts for a password when waking up.

F0cks
2013-04-26, 18:05
Fixed in lastest release