The tag has no usage guidance.

learn more… | top users | synonyms

0
votes
0answers
9 views

XScreenSaver: 1-2 seconds delay within which my laptop isn't locked

I want my screen to lock automatically and I'm using XScreenSaver. It locks the screen when my laptop suspends but when open the lid or press the power button, there's a small, 1-2 seconds delay and ...
1
vote
1answer
945 views

Light Locker - Run script on screen lock/unlock

I'd like to run a script if the XFCE session is locked and unlocked. Is there a way that I can intercept this and perform certain actions when the desktop is locked or unlocked? I have found ...
12
votes
1answer
8k views

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

desktop: how to enable sleep from lock screen?

I sometimes find I have just "awoken" (resumed from suspend to memory) my Debian-8-running device only to find I must do something else. At that point I am confronted by my "lock screen" (i.e., the ...
2
votes
1answer
24 views

Awesome TM gnome-screensaver lockscreen command not working

My friend recently introduced me to the Awesome tiling window manager. I was trying to manipulate the rc.lua to configure it to my liking. Can someone tell me why this command doesn't take effect: ...
3
votes
1answer
367 views

How to use Desktop Lock Screen and turn off XScreenSaver Login Screen?

I am running Linux Mint 17.1, Cinnamon Desktop, Compiz, and XScreenSaver. I want to be able to use the Desktop Lock Screen and turn off the XScreenSaver Lock Screen. Turning off the Lock Screen in ...
1
vote
0answers
29 views

Lightdm greeter: Not running inside a display manager, XDG_SEAT_PATH not defined

I am trying to use lightdm-webkit2-greeter under xfce. When I run dm-tool lock, I get Not running inside a display manager, XDG_SEAT_PATH not defined. When I run dm-tool list-seats, I get Unable to ...
3
votes
2answers
3k views

Change the lock screen wallpaper

I know this may sound bad, but I'm annoyed by the 'lock screen' wallpaper of KALI SANA 2.0. This is the default 'lock screen' wallpaper: Kali Sana 2.0 default lock screen I have seen many tutorials ...
5
votes
1answer
1k views

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

How to power down display on terminal?

I would like to power down/up my display from the terminal. Right now I have: setterm --blank force #wake setterm --blank poke Which gives a blank screen; but active screen (screen still receives ...
0
votes
0answers
18 views

Linux disconnects monitor when it goes to sleep

When my LG W2442PE monitor goes to sleep, then -- I think -- Debian 8 considers it gone completely (as if it was unplugged), and Gnome reconfigures itself to use only one screen, the laptop internal ...
7
votes
0answers
156 views

Taking a picture with a laptop webcam after entering an incorrect password

I'd like to set up my laptop so that if a wrong password is entered when the screen is locked, a picture is taken using the laptop's webcam. I examined xlock (from xlockmore package), but there is no ...
0
votes
0answers
15 views

Ubuntu won't lock on lid close, lock keystroke, or settings -> lock on Ubuntu 12.04 LTS installed via croton to a chromebook

I installed Ubuntu via this guide http://lifehacker.com/how-to-install-linux-on-a-chromebook-and-unlock-its-ful-509039343 using the unity option instead of xfce. When I close the lid, hit the lock ...
3
votes
2answers
542 views

Unlock Gnome shell takes a long time

I lock my GNOME Shell 3.6.3.1 by Ctrl+Alt+L as usual but when I try to unlock it takes up to a minute before I get my desktop back. While waiting I get a black background and a mouse pointer. Any ...
5
votes
2answers
1k views

Can I set a bash timeout only for virtual consoles (ctrl+alt+{f1-f6})

I know that I can set a TMOUT variable to automatically end a bash session after a specified period of inactivity. However, what I want is to apply that only to my 6 built-in virtual consoles, which ...
0
votes
1answer
1k views

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

How to display a video on my lock-screen instead of a wallpaper?

I am using Fedora 22. Is there anyway to display a video from a url or from disk storage (preferably muted) on the lock screen? I use this tool to change my desktop wallpaper every now and then. It ...
1
vote
1answer
111 views

How to disable logging out after the screen going blank?

It might be a very naive question but I've not managed to solve it on my own and failed to find any solution online (I'm probably missing a keyword or two to get helpful search results) I am using ...
0
votes
0answers
16 views

external Xscreen locker

I'm using Fedora + Xfce on this PC, and I found that Xfce screenlocker - xflock4 doesn't block pop-up windows (like Skype warnings about messages) and they appear above the "locked" screen. I tried to ...
3
votes
2answers
48 views

Can I force screen blank and ignore input?

I want to force my screen to blank and to stay blank regardless of what I do with my keyboard and mouse until it receives a command to unblank (kind of like a lock). The commands I know are: xset ...
3
votes
0answers
82 views

Keyboard doesn't work in X11 after resuming from sleep/suspend

My computer: Debian 8.3 Linux 3.16.0-4-amd64 #1 SMP Debian 3.16.7-ckt20-1+deb8u3 (2016-01-17) x86_64 GNU/Linux Dell Latitude 5420 I'm using XMonad window manager, some applets (in stalonetray) ...
22
votes
5answers
24k views

How can I lock my screen in Gnome 3.8 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 ...
3
votes
1answer
96 views

How to configure XFCE (or X itself or whatever) to run a custom command when the user has been idle for some time?

For as long as I can remember locking screen with screensaver had never been working good. The problem that had always been there is that when I move the mouse or press a key screensaver disappears ...
2
votes
0answers
31 views

How do I prevent unlocking the screen?

Use case: I want my screen to auto-lock when I unmount my USB drive. (That part is easy.) What's not so easy: I want the screen lock to require the USB drive and the password when I return. Thus, is ...
18
votes
5answers
16k views

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 ...
7
votes
3answers
17k views

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

i3 screen goes blank after 5 min inactivity

I am using i3 on Fedora 22, without a DM. The way I run it is with: exec i3 in my /etc/X11/xinitrc-common file, and: if [ -z "$DISPLAY" -a $XDG_VTNR -eq 1 ]; then startx fi in ~/....
2
votes
0answers
168 views

How to run a script after screen unlock under Gnome 3 with LightDM?

I'm on ArchLinux using Gnome 3, LightDM and Antergos/gnome-shell-extension-status-menu-buttons with light locker. I have a script that I need to run after every screen unlock, but so far I didn't ...
0
votes
0answers
15 views

Monitor shuts down when entering Terminal [Linux Mint]

I have a relatively small monitor for one of my machines that Linux Mint. When entering the terminal (ctrl + alt + F1) The monitor shuts down and I have to, completely blind, scrawl out my login and ...
0
votes
5answers
15k views

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 ...
2
votes
3answers
2k views

How to lock screen for a terminal session?

as we could use xflock4 command to lock the screen (ask for a password to continue) in an X session; I need a similar way to lock the tty1 session. Is there any? (logout is not working when I call in ...
1
vote
1answer
223 views

How do I enable the on-screen keyboard in the Linux Mint lock screen?

I'm using Linux Mint 17.2. I'm locked out of my own computer after changing my password to one using a 3rd tier character. I had set up my keyboard settings so the windows key enabled 3rd tier ...
1
vote
0answers
129 views

Lock screen on suspend with Awesome WM

I currently use Fedora 22 with a plain Awesome WM session. I can lock the screen with say slock. There are ways to lock the screen on suspend with the system wide instance of systemd, see this ...
0
votes
1answer
145 views

keyboard locked after resume until I type in a terminal

Issue: After my laptop comes back from suspend and I log in via lightdm, I have to use the mouse to open a terminal then type on the command line before my keyboard is responsive. I usually close the ...
2
votes
2answers
1k views

How to avoid system timeout to login screen when I make a cup of tea?

Linux Mint 17.1 (MATE) running on HP G250 Laptop and older HP desktops. It's just me and the dog at home and I like to run the computer all day, but it keeps returning to the login screen after a few ...
2
votes
0answers
42 views

How to keep a log about when screen has been locked/unlocked

I would like to keep track of the times when I locked/unlocked my computer. I'm running RHEL 6.6 with gnome 2. But maybe there is 'general' solution? Are there any commands, files or something which ...
1
vote
1answer
141 views

How can I lock my screen automatically if internet connection is lost?

I will sometimes remote into my work computer from home using TeamViewer. Obviously I have to unlock the screensaver to use the GUI. When I'm done, I'll lock the screen either from the desktop or via ...
1
vote
0answers
129 views

Run a script on a failed screen unlock attempt

I want to run a script in Python to detect when a user tries to unlock the screen, but fails. I use elementary OS Freya and light-lock. I tried it with dbus, but I couldn't figure out how to do it. ...
1
vote
0answers
14 views

Testing for an active window session

I'd like to run a cron job to test whether there is an active window session (GNOME or KDE) running on my host. By "active" I mean that in addition to just running, the user is "doing stuff". In ...
2
votes
0answers
312 views

xscreensaver screenlock Couldn't Grab Pointer - Already Grabbed

Running lxde and lxpanel on Debian 8.1. xdotool key "XF86LogGrabInfo" lists no actively grabbed devices in /var/log/Xorg.0.log. Clicking the Screenlock icon in the application launch bar has a long ...
1
vote
1answer
112 views

What software is lock or lck

Which software provides /usr/bin/lock or /local/bin/lck ? The manual says that GNU Screen will call a screenlock program. But I don't have them in my system. Also my $LOCKPRG is empty. So is there ...
4
votes
1answer
156 views

On lockscreen how can I auto-turn off monitors if they wake up?

I'm on Debian (Jessie) using KDE 4.14.2 nothing really stood out to me in the System Settings on how to trigger a lock screen and after doing a bunch of research I ended up binding Ctrl+L to run the ...
5
votes
2answers
972 views

Run commands after unlocking X screen (KDE)

When I leave work, I lock my machine with ctrl + l to lock the screen. When I come back, I always forget to log into jabber. Is there a way to run a command after the screen is unlocked? This is in ...
1
vote
2answers
364 views

Kill browser when lock screen

I am running xubuntu on a shared low-ressources computer. I would like to run a script that kills the browser (firefox and chromium) whenever the user locks the screen, so that other users can use the ...
3
votes
2answers
1k views

Custom shortcut to i3lock screen

I'm having difficulties with creating a custom keyboard shortcut. I'm trying to lock my screen using i3lock with a picture. From the terminal, the command i3lock -i ~/Pictures/lock.png works like ...
1
vote
2answers
669 views

Suspend button does not work when xscreensaver is active on xfce Debian

I've Debian jessie and xfce. When I push the power button, my system is suspended. When I press any key on my keyboard the system wake up and I get the login prompt of Xscreensaver (screen lock is ...
3
votes
2answers
844 views

Systemd: locking the console

I have a laptop that runs Debian Jessie with only the Linux console - no X server installed. A recent dist-upgrade replaced sysvinit with systemd. Now I'm trying to get systemd to lock the console ...
0
votes
1answer
86 views

How to configure the Screen Locker

I'm using KDE 4 and it locks the screen without warning and then it requires password to unlock, I need a warning before locking as the Gnome before locking the screen it set the screen brightness ...
2
votes
1answer
263 views

Cross linux method to detect screensaver or locked screen running

I'm looking for a cross linux method to detect if screensaver (both XScrenSaver and non-XSCreenSaver) is running or if locked screen is up. Bash or c method would be awesome. Can you please help me ...
0
votes
1answer
219 views

Mint maximum user passtext length?

Strangely, I can use a long passtext, approximately 64 words long, for disk encryption, but I'm having trouble with user password lengths. Certain steps fail like the installer or unlocking the ...