Questions tagged [screen-lock]

182 questions
64
votes
19 answers

Ubuntu 18.04 won't wake after screen lock and blank / suspend / sleep

I am trying to run Ubuntu 18.04 on a laptop with an AMD A12 processor and Radeon R7 graphics. I am having nothing but problems and am very discouraged with Ubuntu though I used 12.04 for years without such problems. I have two problems that are…
ubuntu_user7
  • 761
  • 1
  • 6
  • 4
59
votes
15 answers

How can I lock my screen in Gnome 3 without GDM?

There is no "Lock" option showing up in the user menu, and the standard shortcuts (Ctrl+L or Ctrl+Alt+L) don't do anything. I'm running Fedora 19 with Gnome Shell 3.8.3, and XDM 1.1.11. I'm using XDM because of broken XDMCP support in GDM - but…
jcsanyi
  • 1,162
  • 1
  • 8
  • 13
36
votes
9 answers

Why doesn't my screen lock in XFCE?

I'm trying out XFCE on Arch Linux, and for some reason the Lock Screen option in the session menu doesn't do anything. Neither does running xflock4 at the command line (it exits 0 with no output). xfce4-session is running. Do I need to install a…
cjm
  • 26,740
  • 12
  • 88
  • 84
32
votes
4 answers

Is there a way to lock command line?

For example, in X session, I can use Ctrl-Alt-L to lock the screen, so it would ask for password to unlock and prevent somebody from messing with mine computer. But if I have an open terminal session on one of the tty's (which I can access with…
Rogach
  • 6,150
  • 11
  • 38
  • 41
29
votes
4 answers

suspend AND lock screen on closing lid in arch/systemd

what is the most straightforward way to lock the screen AND suspend when closing the lid? I'm using event hooks in /etc/systemd/logind.conf and successfully suspend upon closing the lid. However I'm lost when it comes to the locking part - am I…
pldimitrov
  • 393
  • 1
  • 3
  • 5
27
votes
11 answers

How to get Kali Linux to not go to sleep?

I'm using Kali linux on vmware in windows7. I've been trying to crack my wpa password and noticed that when I leave the system running (in process of cracking password) and leave the laptop on and go away for about 10-15 minutes, Kali linux goes to…
Educ
  • 403
  • 1
  • 7
  • 11
14
votes
4 answers

CentOS lock screen not unlocking

I have a centOS VM that when I lock the screen it will not let log me back in. I can enter my password as many times as I'd like, even try to "switch users" but the VM just ignores everything and keeps me logged out. I then have to do a restart. I…
now_world
  • 243
  • 1
  • 3
  • 7
14
votes
7 answers

Locking the screen via CLI?

Is there any way that I can lock the screen CLI-style? I'm trying to target as many desktop managers as possible (mostly LightDM, but GDM, KDM, SLiM, XScreensaver, etc. would be great too), but I can only dig things up for GDM and XScreensaver. For…
Blender
  • 1,853
  • 2
  • 18
  • 25
14
votes
1 answer

How can I trigger the screensaver's locking feature using D-BUS from the command line?

How can I trigger the screen saver manually from the command line? I'm using GNOME 3.8.4 on Fedora 19, but the solution should not necessarily be specific to this distro.
slm
  • 363,520
  • 117
  • 767
  • 871
13
votes
1 answer

Black screen after suspension on ubuntu 22.04

I have just installed Ubuntu 22.04 LTS. It works fine but after I suspend the session, the screen remains black after restarting the session. How can I solve it? Thanks
Gigiux
  • 475
  • 6
  • 16
13
votes
5 answers

Disable automatic screen lock in XFCE in Centos

I have a generic install of Centos 5.8 with XFCE 4.4. Pretty much all defaults. As is, after a certain amount of idle time the screen locks (goes black, requires a password to continue). How do I disable the automatic screen lock? I've searched…
Old Pro
  • 1,272
  • 3
  • 10
  • 20
13
votes
1 answer

Screen turns off after 10 minutes and I can't find out why

I'm running Arch Linux with Mate Desktop version 1.16.0 on Linux kernel 4.8.13. I have a weird problem. My screen turns black after around 5 or 10 minutes and I can not find out why. Here is my mate configuration: As you can see, the…
q9f
  • 2,308
  • 8
  • 29
  • 39
13
votes
2 answers

Can I simulate mouse movements via terminal without xdotool?

I would like to write a script to prevent a computer from locking by virtually wiggling the mouse. However, I do not have xdotool on the computer that I am using, and I cannot install since I am not root. Is there a way to move the cursor without…
ichbinallen
  • 313
  • 2
  • 4
  • 9
12
votes
2 answers

How do I customize Gnome screen shield / curtain / login screen appearance?

Gnome desktop seems configurable in various ways: in "Gnome settings", with gnome-extensions, gnome-tweak-tool, gsettings or dconf-editor. However, apart from this procedure to change the login screen background, which involves a little bit of glib…
iago-lito
  • 2,581
  • 4
  • 20
  • 35
11
votes
1 answer

Too big delay with xscreensaver on wrong password in OpenSUSE 12.2

There is too big delay when logging in with xscreensaver in OpenSUSE 12.2 --- Actual delay is 10 seconds, but not found anywhere in configs Already done: checked pam timeout in login.defs (3 seconds) no pam_faildelay.so options in any of…
Ribtoks
  • 111
  • 5
1
2 3
12 13