Questions tagged [screen-lock]

The tag has no usage guidance.

0
votes
0answers
21 views

Check user is at lock screen

I'm guessing this is greeter specific but wondering if there is a terminal command you can run to see if a user has locked (or the lockscreen has come into effect on) their computer. This specific ...
0
votes
0answers
31 views

Screenlock backdoors and how to close them

There is a warning in the Archlinux List of security applications. It says that of all possible screen-lockers, only four block tty access: sflock, physlock, Cinnamon Screensaver, MATE Screensaver and ...
0
votes
0answers
28 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 ...
0
votes
0answers
14 views

KDE screen unlock rejects correct password, then eventually unlocks

When my KDE screen is locked, it rejects my password multiple times and then eventually unlocks. Sometimes I make multiple attempts and KDE eventually accepts it; other times, I'll type it in once, ...
0
votes
0answers
53 views

What screen-locking program does this dbus-send command invoke?

https://choffee.co.uk/thoughtsplurge/posts/2013/07/11/lock_gnome_screensaver/ In old versions of gnome the command gnome-screensaver-command -l would lock your screen. As gnome-screensaver ...
-3
votes
1answer
168 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 ...
4
votes
1answer
80 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 ...
4
votes
1answer
25 views

Multiple user authentications for same account/environment

A computer is being used for shift work currently with a shared account with autologin at boot. Certain UI applications start up at autologin and its important that they run continuously. How can we ...
3
votes
1answer
65 views

Lock Virtual Terminals when resuming

Many screen lockers (mine is i3lock) do not block access to other Virtual Terminals. This means that, if I leave a session opened in some VT, then even when the desktop is locked (for example when ...
0
votes
0answers
1k views

gdm3: Failed to parse options: Unknown option -reset (Ubuntu 18.04)

I'm having the same issue as described here: my computer won't wake up after I lock the screen or put it to sleep. One of the answers suggests running sudo gdm3 -reset, which I tried. But just as some ...
0
votes
0answers
216 views

Use GNOME Lockscreen on non-GNOME Desktop Environment (e.g. XFCE)

Using GDM, I have started using XFCE in place of GNOME. But, in one of my first sessions, the xscreensaver lock screen greeted me to my surprise. Can I still use XFCE, but use the GNOME lock screen ...
1
vote
0answers
38 views

kscreenlocker_greet: Disable VLC controls

When locking my screen I get the VLC controls for the actively playing video on the lock screen. How can I disable these controls?
1
vote
1answer
557 views

GNOME: Different PAM configurations for lockscreen vs login

I recently purchased a U2F security key, and I have successfully configured my Ubuntu 18.04 machine to require authentication via the key as well as my usual password to log in. I am hoping to change ...
1
vote
0answers
96 views

How to remove linux mint useless login screen? [duplicate]

I've managed to remove password on login but can't remove this useless screen, so every time I boot up I have to press the "Log in" button to bypass it: Following on from a comment suggestion I've ...
1
vote
0answers
281 views

i3lock wallpaper when closing lid

I'm new to Arch Linux, and I would like to have i3lock with a background of my choice welcoming me after I close the lid of my laptop. However, though I was able to achieve the nice background for ...
0
votes
1answer
485 views

LXQt - stop screen-locking upon waking from suspend/sleep

Posted in order to provide the answer. I have a good experience with LXQt desktop environment installed on top of Kubuntu 18.04, but it still has some odd features - about which it is not that easy ...
0
votes
1answer
102 views

Allow DPMS to turn off screen with force when the screen is locked?

I discover that command xset dpms 300 which turn off the screen for example after 5 minutes (300s), and it wonderfully doesn't turn off the screen if a youtube video is actually playing even in a ...
1
vote
0answers
65 views

Cinnamon moves all windows to primary monitor when unlocking screen

I run Cinnamon with two 4K monitors. Every time I unlock my screen, all open windows move back the primary monitor. How can I make these existing windows remember their position? This is a desktop ...
1
vote
0answers
260 views

lightdm and xfce - password prompt invisible after locking

just updated from LinuxMint 18.3 to 19.0, found a weird problem in locking and unlocking screen. Closing the laptop lid puts the computer to suspend, but when opening it, the password prompt for ...
0
votes
1answer
2k views

CentOS 7 GNOME lock screen although all settings say otherwise

My CentOS 7.5 VM pops up a blank screen after that is left unused for some time (~15 minutes). When the mouse is moved, it shows a clock in the middle of the screen and requests a password to unlock. ...
0
votes
1answer
445 views

What happens when I forget to logout in TTY?

This is something I have asking myself for some time. Imagine the following: I press CTRL+ALT+F1 to switch to TTY1 I login there and execute a command I switch back to xorg with CTRL+ALT+F7 I forget ...
17
votes
10answers
36k views

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 ...
1
vote
0answers
641 views

Suspend linux from KDE Plasma 5 lockscreen

TLDR: How to suspend from KDE LockScreen? I'm using KDE's default lockscreen which you can somewhat configure But I haven't found a way to suspend my PC from the lockscreen, so I had to enter my ...
3
votes
1answer
2k views

Can I invoke a GNOME screen-lock from the terminal? [duplicate]

I'm running a GNOME/Wayland desktop environment, with GDM, on a Debian-based distro. I normally lock the screen with Super + L . Is there a command to invoke the screen-lock from the terminal?
0
votes
1answer
47 views

how to determine the source application of xorg activity?

My screen was not auto locking after 10mins as i configured it. Using xssstate -i, and w/o touching the mouse or the keyboard, i saw that every 30s the iddle timer got reset to 0. I need to know ...
0
votes
1answer
166 views

How can I wait until xscreensaver is unlocked?

How can I wait until xscreensaver is unlocked? xscreensaver-command -lock locks the screen, but it returns before the screen is unlocked again. xscreensaver provides an xscreensaver-command -watch ...
0
votes
1answer
343 views

Check if user is idle/locked out

I am working on a little script that logs what the user is actively working on (on the desktop), and thus needs to know if the user is active or idle. The script is run as root via crontab every 1 ...
1
vote
1answer
314 views

Make keyboard shortcut work with locked screen

I currently use slock to lock the screen. It intercepts all keystrokes, preventing them from reaching the window manager (in my case Fluxbox). This is a good thing. However, I want to be able to use ...
1
vote
0answers
98 views

Desktop doesn't lock when running Virtualbox

I am running Kali Linux as my host OS. To keep this host installation clean, I run VirtualBox to host a guest instance of Linux Mint. In the virtual machine is where I run a web browser, and install ...
5
votes
1answer
472 views

change KDE screen locker

How can I change whatever program KDE5 uses for screen locking to slock? AFAICS there is no such option in the system settings.
2
votes
1answer
511 views

LightDM screen lock in awesome-wm unlocks by itself

I use LightDM with awesome-wm. To lock screen I use command dm-tool lock. Most of the time it works fine but if after issuing the session lock command I switch to another tty and then go back, ...
1
vote
0answers
36 views

`vim` brings me to lockout [Unity bug? Solved…ish]

Anytime I open a file with vim I am taken to the lockout screen. My monitors briefly display that there is no signal. After entering my credentials I am back in and the file is opened. This started ...
1
vote
1answer
122 views

xscreensaver doesn't stop fadeout correctly

I have xscreensaver set to blank my screen, with a 5 second fade duration. When user input happens during this fadeout, the following happens: screen starts fading Image freezes, only fading updates ...
1
vote
1answer
377 views

Dim screen before screensaver

Using DPMS, my screen goes blank after 10 minutes. How would I go about dimming (lowering the backlight) of the screen a few seconds before this happens, as a sort of warning? Output of xset -q: [......
-1
votes
1answer
6k views

How to disable screensaver in LXDE? [closed]

I want to disable screensaver in LXDE.
0
votes
1answer
2k views

Locked out of Ubuntu after installing amdgpu-pro and adding user to video group

I have managed to lock myself out of linux (ubuntu). I installed amdgpu-pro, video drivers for graphics card (Radeon RX470) and then followed their guide to add myself to the video group with (as is) ...
2
votes
2answers
1k views

Run script on screen lock in KDE

Is there a way to run a bash script on locking the current KDE session?
8
votes
2answers
5k views

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 ...
-4
votes
1answer
353 views

Kali linux laptop lock screen

Now I am trying to hack my router password, and I want to ask if I lock my laptop, the hacking procces still goes on? or I need to have my screen on. Thanks.
6
votes
2answers
160 views

Have certain keys pass through lockscreen

I'd like to have certain keys (mainly media keys) reach my windowmanager even if my lockscreen is active. This way, I could control my media player even when my screen is locked. As far as I can see, ...
4
votes
1answer
4k views

how to customize gnome-screensaver on xfce desktop

I'm running GalliumOS on a Chromebook with gnome-screensaver as my screen locker. I am hoping to customize the lock-screen background but am having difficulty figuring out how to change it. It ...
1
vote
0answers
798 views

A blank screen after logging in from suspend on Debian

I have installed Debian 8.7.1 on my Asus n552-vw laptop. The problem is that after going to suspend and trying to login again, my laptop works(fan and LEDs and caps lock work) but there is no screen! ...
1
vote
1answer
232 views

USB encryption login Ubuntu Elementary OS Freya [closed]

I'm a web developer and I know a lot about servers and scripting languages, but I don't know much about Bash and Linux(in comparison). It's my understanding that it is possible to allow login to a ...
0
votes
0answers
724 views

How to unlock Gnome3 screen from command line?

This had been asked before. But existing answers to not seem to function on newer Gnome 3 versions (I have 3.14.0). Instead the following error message is received: Error org.freedesktop.DBus.Error....
1
vote
1answer
1k views

How can I add a transparent lock screen in Raspbian/Pixel

I want to use my Raspberry Pi as a very simple uptime dashboard and have a specific Web page showing up all the time. For practical security purposes though, I'd like to have a lock so someone can't ...
9
votes
1answer
3k views

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 ...
1
vote
1answer
355 views

How to lock non-virtual terminal? Something like “vlock -a”"

There is an option with vlock to lock all pts/tty at a time which is, $ vlock -a But vlock can lock only virtual consoles. There is also an option named TMOUT which will terminate the current ...
1
vote
0answers
580 views

Black Screen CentOS 7, VirtualBox-5.1.10

I have CentOS 7 installed like Guest on VirtualBox (Mac OS Sierra like Anfitrion)... My Problem is, when I'm using CentOS and change to MAC, Appears black Screen with a Cursor and Mouse Pointer, but ...
6
votes
1answer
723 views

How to lock mouse and keyboard under Wayland

Pyxtrlock is a program to lock a workstation while still displaying the screen. That is, keyboard and mouse can not be used until a password is typed on the keyboard, but the contents of the display ...
1
vote
1answer
225 views

What is the Konsole command that locks the screen

I'm using OpenSuse Leap 42.1 and I would like to remap my Keyboard. Now, I want to remap one key (The Sleep key) to lock the screen instead of sending the entire PC to sleep. For that reason, I need ...