View Issue Details

IDProjectCategoryView StatusLast Update
0005897Kali Linux[All Projects] General Bugpublic2020-01-08 14:33
Reporterunchained Assigned Torhertzog  
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionwon't fix 
Product Version2019.4 
Target VersionFixed in Version2020.1 
Summary0005897: lock-screen issues
Descriptionlock-screen with Super(window) + L key combination does not work. Also both xdg-screensaver lock
and gnome-screensaver-command -l also does not work.

Activities

rhertzog

2019-12-10 16:00

administrator   ~0011630

Are you trying to do this in GNOME or in Xfce or somewhere else ?

unchained

2019-12-11 09:49

reporter   ~0011642

Gnome

godnelson

2019-12-19 21:41

reporter   ~0011731

I've the same issue. Im using Gnome and i dont have the lock icon too. I only have settings and power button

JokerSob

2019-12-19 22:00

reporter   ~0011732

Have you checked your shortcut keys?

godnelson

2019-12-19 22:43

reporter   ~0011734

Yes.. i tried Super(window) + L key and changed to Ctrl + L with the same result

godnelson

2019-12-20 22:59

reporter   ~0011743

Another note: running gnome-screensaver-command --lock from terminal i got kali locked but Lock Button still missing in System Menu

godnelson

2019-12-20 23:03

reporter   ~0011744

Another note: running gnome-screensaver-command --lock from terminal i got kali locked (but only after i run gnome-screensaver &)

 Lock Button still missing in System Menu

PS: I cant edit previous note

JokerSob

2019-12-21 00:31

reporter   ~0011746

apt-get -f install --reinstall gnome-shell* or apt-get -f install --reinstall gnome-shell-extension* and https://extensions.gnome.org/extension/930/suspend-and-lock-button/ have you tried?

JokerSob

2019-12-21 00:49

reporter   ~0011747

also have gnome-tweak installed?

unchained

2020-01-08 10:08

reporter   ~0011835

I have gnome-tweaks installed and done this "apt-get -f install --reinstall gnome-shell*". when I now click Super+L or gnome-screensaver-command --lock my screen goes blank and when i move my mouse it shows the current screen. does not lock thus does not ask for password

unchained

2020-01-08 10:38

reporter   ~0011836

locks for other accounts but not for root. a solution online said i should do this
https://forums.kali.org/showthread.php?1660-Root-screen-locking
how safe is it? any issues?
actually found the specified code in gnome-screensaver/src/setuid.c
if (getuid () == (uid_t) 0) {
reason = g_strdup ("running as root");
ret = FALSE;
goto out;
}
do i comment it out?

rhertzog

2020-01-08 14:33

administrator   ~0011837

It's precisely to avoid that kind of issues that we're moving away from using the root user. See https://www.kali.org/news/kali-default-non-root-user/

Thus we're not going to fix this specific issue.

Issue History

Date Modified Username Field Change
2019-12-10 09:32 unchained New Issue
2019-12-10 16:00 rhertzog Note Added: 0011630
2019-12-11 09:49 unchained Note Added: 0011642
2019-12-19 21:41 godnelson Note Added: 0011731
2019-12-19 22:00 JokerSob Note Added: 0011732
2019-12-19 22:43 godnelson Note Added: 0011734
2019-12-20 22:59 godnelson Note Added: 0011743
2019-12-20 23:03 godnelson Note Added: 0011744
2019-12-21 00:31 JokerSob Note Added: 0011746
2019-12-21 00:49 JokerSob Note Added: 0011747
2020-01-08 10:08 unchained Note Added: 0011835
2020-01-08 10:38 unchained Note Added: 0011836
2020-01-08 14:33 rhertzog Assigned To => rhertzog
2020-01-08 14:33 rhertzog Status new => closed
2020-01-08 14:33 rhertzog Resolution open => won't fix
2020-01-08 14:33 rhertzog Fixed in Version => 2020.1
2020-01-08 14:33 rhertzog Note Added: 0011837