Skip to main content

Questions tagged [screen-lock]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
0 answers
38 views

After mate-screensaver blacks screen, input causes screen contents to be visible for a few seconds before showing unlock prompt

I regularly observe this behaviour on one particular system: I lock the screen either manually or by idling for the configured time screen turns black and shortly after the screen enters power-save I ...
bitmask's user avatar
  • 1,154
0 votes
1 answer
43 views

IceWM. How to lock screen after laptop lid is closed?

I use the IceWM window manager. I would like the screen to lock after closing the laptop lid. I've found a couple of guides that looked promising (1, 2) but unfortunately didn't work for me. Maybe ...
Fyodor's user avatar
  • 3
1 vote
1 answer
113 views

GNOME lockscreen disable Quick Settings

I don't like the idea of being able to toggle the radios or connect to a Wi-Fi network on the login/lock screen. Thus I would like to disable the "cards" of the Quick Settings menu, but ...
Kippi's user avatar
  • 51
0 votes
1 answer
86 views

Use `xautolock` to run script which captures image with `ffmpeg` after unlocking

I'm using i3wm and I want a script to run after I've unlocked my screen. I can get this to work when I manually lock my screen, e.g. using the steps outlined in this post. But I can't get this to work ...
nonreligious's user avatar
2 votes
0 answers
97 views

Why does my keyboard stop working after a screen lock?

I am using i3, betterlockscreen and Arch Linux. It is configured to lock itself after some minutes of inactivity. When this happens and I unlock, the keyboard does not appear to work thereafter. My ...
Bagalaw's user avatar
  • 945
3 votes
0 answers
280 views

xtrlock alternative for Wayland GNOME

As the title says, I'm looking for a program or an extension for GNOME that is similar to xtrlock but works under a Wayland session, locking the session with a transparent background. I'm aware of the ...
Andrea's user avatar
  • 31
0 votes
0 answers
239 views

disable RHEL 8 screenlock happening within VNC session

In using RHEL-8.9, when I create a VNC session then connect to it for the first time I get my desktop as expected not the screenlock. But if I disconnect my VNC session then reconnect, even if I ...
ron's user avatar
  • 7,264
2 votes
3 answers
1k views

Ubuntu screen lock but sometimes can't turn back on

I use Ubuntu 22.04 and sometimes when I return to use it (the screen locked) it wakes up and asks for password. However, I have noticed that sometimes when I return to use it, the screen stays black ...
Dang Manh Truong's user avatar
0 votes
0 answers
61 views

How to detect when screen goes on while screensaver is locked?

I am trying to execute MyCommand when the screen goes on while screensaver is locked in KDE, in two situations: when the screen is simply locked, and when the system is in suspend mode. Both are ...
Luis A. Florit's user avatar
2 votes
0 answers
347 views

How to disable screensaver/dpms/other power saving features

I have a problem where monitors connected via docking station fail to reconnect if, I believe, the screensaver has been activated. I'm using debian testing without a desktop environment (ie only a ...
laur's user avatar
  • 588
0 votes
1 answer
104 views

How can I find out when the computer monitor's inactivity timeout is triggered and what process triggers it?

I want to use slock to lock the screen when the screen's inactivity timeout switches the monitor off or into standby and want to know what process triggers it, or how it is notified to the system. Is ...
vfclists's user avatar
  • 7,619
0 votes
1 answer
299 views

How do I trigger a delayed shutdown after screen lock?

I'm a beginner Linux user, running Pop!_OS. Pop!_OS is based on Ubuntu, but uses SystemD and Gnome. I have no idea if that's going to be relevant, but figured it wouldn't hurt to mention. Here is what ...
user avatar
1 vote
1 answer
604 views

xdg-screensaver lock returns exit code 4 even though it worked

On an up to date openSUSE Tumbleweed install with KDE, running xdg-screensaver lock works (as in, the screen is locked just as if I'd done so through the UI), but it returns exit code 4, which ...
Mark Raymond's user avatar
2 votes
3 answers
5k views

How to fix broken (KDE) screen locker?

When my computer tries to lock the screen, it fails, producing the following message: The screen locker is broken and unlocking is not possible anymore. In order to unlock switch to a virtual ...
Matthew's user avatar
  • 159
1 vote
1 answer
344 views

systemd screen lock with fingerprint on wake

5.18.9-arch1-1 Fingerprint sensor: 27c6:63ac Shenzhen Goodix Technology Co.,Ltd. Goodix USB2.0 MISC I created a systemd service that runs a bash script when the system wakes from hibernate: [Unit] ...
marc.soda's user avatar
  • 203
2 votes
1 answer
218 views

How to tell gnome-session(3), or gnome-screensaver, that there's been activity?

Under some circumstances I don't want my screen to lock. (Typically: I'm stepping away from the desk, while a computation is running, but I won't leave the room and still have an eye on it why it's ...
Marcus Müller's user avatar
0 votes
0 answers
395 views

Is there a way to turn on screen lock when I leave the computer?

I'm looking for a way to automatically turn on screen lock when I leave my computer, since I easily forget to do it manually. I do have a timer but it's not enough. I found this old question: Camera ...
klutt's user avatar
  • 554
0 votes
2 answers
334 views

How to turn the screen total/pitch black in GNOME?

Use case / Problem I wanna hear music in the night with my laptop/device and as such I want the screen to be black, as I don't want to get dazzled in the night. Tried workarounds/“solutions” As such, …...
rugk's user avatar
  • 3,216
16 votes
3 answers
12k views

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's user avatar
  • 527
2 votes
0 answers
608 views

KDE: Lock screen: Password box is only displayed after clicking mouse

When locking the screen KDE shows a nice lock screen image. But it only shows a password box after pressing a mouse button. I can also press TAB to make the box appear. If I then press TABTAB the ...
Ole Tange's user avatar
  • 35.8k
0 votes
1 answer
1k views

Xscreensaver Debian 11 not functioning properly on LXQt

Hi I am running Debian 11 Bullseye, LXQt version, and I'm having trouble with the screensaver called XScreensaver version 5.45. Basically what I would like to do is for the screen to completely shut ...
Michael Lanfield Raw Vegan's user avatar
1 vote
1 answer
4k views

disable GNOME screensaver screenlock in rhel/centos 7

running RHEL 7.9, with the installation of it as Server with GUI. My [work] operating environment is the server is in a server room and all users connect to it over the network using VNC. Problem I ...
ron's user avatar
  • 7,264
1 vote
1 answer
2k views

How do I make Linux Mint stop pestering me for passwords all the time?

I run Linux Mint in a VM. Every single time I look at it, it has gone into some sort of "lock screen"-like state where it requires me to enter a password to get back. This is very annoying. ...
Frink Engelage's user avatar
0 votes
0 answers
3k views

Debian 11: alternative for non-free `firmware-amd-graphics`

I've just installed Debian 11 LXDE without any non-free packages into my old notebook. Everything went fine except for the screen display, which there were some issues. Some of them could be solved by ...
Jeron Baffom's user avatar
0 votes
2 answers
2k views

Display crashes after screen lock

I am using Ubuntu 20.04 version on Lenovo Ideapad Whenever I lock my laptop (or it gets locked in inactivity) and try to unlock, my display is crashing. I see a screen as below I have another ...
Krish's user avatar
  • 3
0 votes
0 answers
700 views

Why are sessions breaking when starting from standby on Debian with Wayland? It shows a black screen with "the screen locker is broken"

Since I switched to Wayland on Debian11/KDE starting the computer from standby often shows a black screen with the notice that one should use ctrl+alt+f2 and loginctl unlock-session {id} (this text ...
mYnDstrEAm's user avatar
  • 4,398
1 vote
1 answer
1k views

AntiX linux, iceWM, how to suspend, and require password?

In AntiX Linux, using the default iceWM window manager. When I suspend a session, then wake it up, I expect it to ask for my screenlock password. Current behavior: it just wakes up without asking for ...
Morris's user avatar
  • 111
0 votes
2 answers
1k views

GNOME/gdm disable reveal password button

On the gdm login screen and on the GNOME lockscreen in the password entry box there is this little password reveal button at the right side. Since this is a toggle some classmates were able to trick ...
Kippi's user avatar
  • 51
0 votes
1 answer
1k views

Gnome (gdm) logs in and immediately locks the console. The logs indiciate "WARNING: Could not get session id for session."

Immediately after login to gdm the screen locks and we get this error in the logs: gnome-session-binary[25582]: WARNING: Could not get session id for session. Check that logind is properly installed ...
KJ7LNW's user avatar
  • 495
0 votes
2 answers
376 views

Set screen lock schedule on Fedora 34

Is there a screen time feature either built in to Fedora 34 or available as an app like in elementary os?
StackMatch's user avatar
0 votes
1 answer
651 views

Need to unlock for the system to suspend when using custom script with xss-lock

When I run systemctl suspend, my screen locks first, as is expected. However, it remains in locked state and does not suspend. It then suspends after I've unlocked it. I think this started after I've ...
dnaik's user avatar
  • 155
0 votes
1 answer
477 views

Where to put script in pam.d file?

I'm trying to add a script that will take a picture when someone unlocks my machine, as per this question. Right now, I have fprint setup so that I can unlock using my fingerprint - the line auth ...
nonreligious's user avatar
0 votes
1 answer
269 views

Capture picture after unlocking screen / logging in i3

Running Manjaro with i3wm, and my .i3/config has the following related to locking the screen: # Lock screen exec --no-startup-id xss-lock -- ~/.i3/lock.sh bindsym $mod+Ctrl+l exec --no-startup-id ...
nonreligious's user avatar
1 vote
0 answers
802 views

Cant lock screen on xfce

A few days before, I wanted to try out xscreensaver as it is knows for its cool screensavers. So I installed that by: sudo apt-get install xscreensaver xscreensaver-gl-extra xscreensaver-data-extra ...
psychoSherlock's user avatar
4 votes
1 answer
5k views

tmux: Lock session only when using tmux on console, not from a graphical DE

When using tmux on the tty, I want it to automatically lock after some time. This works with the following configuration in ~/.tmux.conf: set -g lock-command vlock set -g lock-after-time 30 # Seconds; ...
genodeftest's user avatar
1 vote
1 answer
271 views

Slim login manager: patch slimlock to not wake up display on mouse movement

I am using slim login manager on Debian 10. slim-1.3.6 part of the slim package is slimlock, a screenlocker. When I lock my screen (Ctrl+Alt+Del), two things happen: typical lock screen appears, ...
Martin Vegter's user avatar
0 votes
1 answer
351 views

After inactive period screen turn off for 1 second and then turn on again and just became blank black with cursor in Debian 11 Gnome

After update to Debian 11 from 10, screen can't turn off after inactive period. It starts dim and then screen turn off for few seconds, everything seems notrmal, but then screen just turn on itself ...
tiqqbvio's user avatar
1 vote
0 answers
510 views

Gnome 40 issues with locking the screen

I recently installed Fedora 34 on my desktop and have a couple of issues with GNOME 40: The screen doesn't lock. Although I have a settings Privacy > Screen Lock > Automatic Screen as enabled. ...
Alex's user avatar
  • 131
0 votes
2 answers
2k views

Lock screen option disappeared from Debian 9 and can't lock the OS

I have tried the answers to this question, Ubuntu 17.10 Screen lock not working and grey and tried installing sudo apt-get install gnome-screensaver. However, the problem is that I can't lock the ...
Mostafa Ghadimi's user avatar
3 votes
2 answers
10k views

Arch linux: i3wm set lock time out (xss-lock i3lock)

I use arch with i3wm. I have enabled i3lock in my .config/i3/config: exec --no-startup-id xss-lock --transfer-sleep-lock -- i3lock Problem is my computer locks like every 10 minutes. How can I set ...
Jan Černý's user avatar
  • 1,441
2 votes
0 answers
409 views

How secure is it to suspend Linux (Fedora) while using whole disk encryption?

I have a full disk encryption on my Fedora 33 workstation. The purpose of encryption was protection from stealing the laptop physically. But how much more unsafe to just suspend the OS, not fully ...
apazent's user avatar
  • 21
2 votes
2 answers
4k views

How to completely disable black screen and clock-page on CentOS 8 console (before login)?

I want my screen to stay EXACTLY the same after it's finished booting, forever, which means I NEVER want it to go black, and I NEVER want to see that clock overlay appearing over the top of my ...
cnd's user avatar
  • 209
2 votes
0 answers
3k views

Unlock i3lock on i3wm using finger print sensor (fprint)

I am trying to set up my i3lock that I would be able to unlock it using finger print sensor on my thinkpad x390 yoga. I have set up my i3lock in .config/i3/config: exec --no-startup-id xss-lock --...
Jan Černý's user avatar
  • 1,441
4 votes
0 answers
628 views

Touch-friendly lock screen for Gnome

I installed Fedora Linux with Gnome as a desktop environment on my Microsoft Surface Go. I want a lock-screen to be touch friendly -- something like a pattern lock, or a pin lock (with a keyboard ...
Ruslan Osipov's user avatar
1 vote
0 answers
430 views

Xubuntu: Cannot unlock/wakeup when lid is closed

My laptop is docked with the lid closed. If I lock the session, it is impossible to wake up the system with mouse or keyboard. I must open the lid to wake it up. How to unlock without opening the lid ?...
crepu's user avatar
  • 11
4 votes
1 answer
1k views

Why is the gnome keyring not locked when the screen is locked?

I wanted to know whether the gnome keyring gets locked automatically when the screen gets locked, so I checked it with this command: dbus-monitor --session "type='signal',interface='org.gnome....
C0ldPlasma's user avatar
0 votes
1 answer
540 views

Can't login after chown command [duplicate]

I just installed elementary OS dual booted with windows 10. After the installation. I saw that the / root directory has every file and folder locked. I can't rename, delete or create anything there. ...
Pera's user avatar
  • 3
0 votes
1 answer
1k views

Xfce - Lock the screen on suspend but not on hibernate

I am trying to get xfce to lock my screen on suspend, but not on hibernate. As I am using full disk encryption, I need to enter a password after hibernation to unlock my SSD (and I don't want to enter ...
GreenSmurf's user avatar
1 vote
0 answers
1k views

After locking, screen won't turn back on with keyboard or mouse under Debian Buster

I was on Jessie, did an upgrade to Stretch and then immediately to Buster. I believe I have the default gnome 3 desktop manager. If I lock the screen with super-l then I cannot wake the screen up ...
Integrator's user avatar
0 votes
1 answer
479 views

Why does Linux Mint MATE use a different login screen after a cold boot vs when locked? Does it have to?

Just what the title says. This is on the latest Linux Mint 19.3 MATE x64 as of a couple weeks ago. I noticed they're different because the initial login screen uses the system keyboard layout (which ...
Kev's user avatar
  • 1,739