2022 Developer Survey is open! Take survey.

Questions tagged [screen-lock]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
1 answer
15 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, …...
user avatar
  • 2,136
3 votes
0 answers
446 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
user avatar
  • 295
0 votes
0 answers
26 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 ...
user avatar
  • 29.7k
0 votes
0 answers
12 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 ...
user avatar
1 vote
1 answer
30 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 ...
user avatar
  • 4,121
0 votes
0 answers
42 views

Kali Linux Lock Screen Flickering

Yesterday I installed Kali Linux on my laptop. The installation went without any problems, but when Kali booted and I'm on the login screen, my screen starts to flicker when I press the lock button, ...
user avatar
  • 1
0 votes
1 answer
65 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. ...
user avatar
0 votes
0 answers
594 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 ...
user avatar
0 votes
2 answers
311 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 ...
user avatar
  • 3
0 votes
0 answers
20 views

Ubuntu 20.04 focal version frequently hang and software closes automatically with screen lock

My Current version of OS & Hardware: OS: Ubuntu 20.04 focal Kernel: x86_64 Linux 5.11.0-41-generic Shell: bash 5.0.17 Resolution: 1920x1080 WM Theme: Adwaita Disk: 22G / 229G (SSD) CPU: AMD Ryzen ...
user avatar
0 votes
1 answer
114 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 ...
user avatar
  • 101
0 votes
2 answers
102 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 ...
user avatar
  • 11
0 votes
2 answers
220 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 ...
user avatar
  • 123
0 votes
0 answers
22 views

How to set the delay before locking the screen

The best option to set the delay time befroe locking screen is Screensaver in xubuntu, but it can only allow the time in minute, I want is in second, so I find the configure file of the Screensaver, /...
user avatar
0 votes
2 answers
120 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?
user avatar
0 votes
1 answer
150 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 ...
user avatar
  • 111
0 votes
1 answer
52 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 ...
user avatar
0 votes
1 answer
69 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 ...
user avatar
0 votes
0 answers
20 views

Screen saver / lock screen disables all extensions

It happened to me a few times now that after returning from the screen saver / lock screen (which doesn't lock when logged in from remote via RDP/Xvnc) all extensions are deactivated without further ...
user avatar
0 votes
0 answers
244 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 ...
user avatar
2 votes
1 answer
722 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; ...
user avatar
2 votes
1 answer
124 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, ...
user avatar
0 votes
1 answer
154 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 ...
user avatar
1 vote
0 answers
295 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. ...
user avatar
  • 131
0 votes
2 answers
482 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 ...
user avatar
1 vote
2 answers
2k 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 ...
user avatar
2 votes
0 answers
123 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 ...
user avatar
  • 21
1 vote
2 answers
1k 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 ...
user avatar
  • 59
1 vote
0 answers
1k 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 --...
user avatar
3 votes
0 answers
184 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 ...
user avatar
1 vote
0 answers
98 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 ?...
user avatar
  • 11
3 votes
1 answer
400 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....
user avatar
0 votes
1 answer
172 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. ...
user avatar
  • 3
0 votes
1 answer
887 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 ...
user avatar
2 votes
0 answers
602 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 ...
user avatar
0 votes
1 answer
108 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 ...
user avatar
  • 1,659
0 votes
0 answers
70 views

Why does GDM lock screen allows entering partially correct password to login?

I am using GNOME 3.34.2 on OpenSUSE Tumbleweed(20191221) with GDM. I locked my screen and was able to get back in just by entering the portion of correct password greater than a certain threshold ...
user avatar
  • 15
4 votes
1 answer
707 views

dconf editor value is different from gsettings get value

I did as follows: $ gsettings get org.gnome.desktop.session idle-delay uint32 300 $ gsettings set org.gnome.desktop.session idle-delay 80 $ gsettings get org.gnome.desktop.session idle-delay uint32 ...
user avatar
  • 1,364
2 votes
1 answer
618 views

GNOME lock screen - programatically remove screen dimming

I am Using Ubuntu 18.04 and Higher Versions. The gnome-lock screen/ gnome-screensaver what ever it is called, There are two possibilities of locking the screen in my use case: Lock the screen with ...
user avatar
  • 106
1 vote
2 answers
2k views

void linux and locking screen on suspend

I have some troubles with using slock with void linux. I tried adding slock as a script to zzz: /etc/zzz.d/suspend/slock #!/bin/sh slock which works in a strange way: if I call zzz, it brings up ...
user avatar
2 votes
3 answers
901 views

How can I disable F1 key in linux console (i.e. to prevent tty switching)?

pressing CTRL-ALT-F1 allows to switch to tty1. Being on another tty. I can change the keymap using loadkeys FILE. What would be a way to disable F1 key? Would that allow to prevent switching to the ...
user avatar
0 votes
1 answer
271 views

Screen Lock Checks password file but not Active Directory

We have a Linux system running Centos 7 and have an issue with the screen lock. We have a multi-user environment where each user has their own account. The authentication is using our university ...
user avatar
0 votes
1 answer
877 views

Sleep monitor without requiring password on KDE?

I’ve got a Debian Stretch/KDE machine set up to run a CNC router. I'd like to set things up so that the display goes to sleep if the machine is left alone for a bit, but without requiring a password ...
user avatar
  • 135
1 vote
0 answers
519 views

How to login to KDE Plasma without pressing enter?

At my lock screen in Plasma, I can start typing my password directly. What I want to do is that as soon as the password is correct, it should unlock. Say my password is "1234", on my lock screen, by ...
user avatar
2 votes
1 answer
67 views

The screens remain off after locking them in Debian

I have Debian SO as root and I have installed the XFCE desktop distribution. After this, it seems that I have lost the keyboard shortcuts and when I lock the screens I do not get the traditional lock ...
user avatar
0 votes
0 answers
2k views

What is the best way to handle screenlock and screensaver in Arch/i3?

I recently switched to Manjaro/i3, and I was trying to make i3lock into my screenlock/screensaver, so have it lock the screen after x mn of inactivity, as well as locking the screen upon going to ...
user avatar
0 votes
0 answers
151 views

How do I get Oracle Solaris 11.3 to lock the screen automatically

Anybody know how I can get Oracle Solaris 11.3 to lock the screen instead of automatically logging out after a default period of time? The time frame does not matter; it's the fact that I get logged ...
user avatar
  • 1
0 votes
0 answers
58 views

Is it possible to keep some program running outside screen locking?

Is it possible to keep some program running outside screen locking? For example, some keys on my keyboard are not good to use, making it difficult to type password to unlock screen. so I want to keep ...
user avatar
  • 89.8k
-3 votes
1 answer
3k views

How can I lock the screen of a remote machine?

From https://unix.stackexchange.com/a/505644/674 When you're using SSH, you can access the screen you're connected from by using ssh -X or ssh -Y . Programs can perfectly run on a machine and ...
user avatar
  • 89.8k
4 votes
1 answer
481 views

Can I lock the screen of a remote computer and still keep it visible to the others on its side, but keep it unlocked to me on my side?

I would like to accessing a remote computer via xpra or vnc or some other desktop sharing way, and on the site of the remote machine , I would like to lock the screen (and optionally make it ...
user avatar
  • 89.8k