The lock screen lets a user lock the currently-running session behind a password screen. This screen may either be blank or show a screensaver until mouse or keyboard activity is detected.

learn more… | top users | synonyms

59
votes
3answers
28k views

How do I disable the on-screen keyboard in the unlock screen?

Somehow, I activated the on-screen keyboard (Onboard) in the unlock screen and I can't deactivate it now. I've restarted the computer, but it's still there in the unlock screen. How can I deactivate ...
57
votes
4answers
53k views

How do I lock the desktop screen via command line?

How can I lock my desktop screen from the command line?
53
votes
5answers
3k views

A timer that automatically locks the screen to take a break away from the computer?

I'm looking for a graphical or command line program that provides me with the following workflow: Start a 25min session After 25min screen is automatically locked for 5min (or maybe just turned ...
49
votes
8answers
40k views

How do I lock the screen from a terminal?

I am using Ubuntu 12.04. Is there any way to lock the screen or session from a terminal command or script? are there any changes happen in 13.04 ?
47
votes
1answer
1k views

How do I stop the constant requests for a password?

I am 70 years old and losing my memory. The only other person here is my wife, who I trust with everything. I have Ubuntu set to automatically log me in when I boot the system. I need to stop the ...
29
votes
5answers
17k views

How to make the lock screen look like the login screen?

Is there any way to make the login screen from a locked session (either by using Ctrl+Alt+L or from a screen timeout) look like the login screen when you're starting a new session? I hate that ...
22
votes
3answers
80k views

Keyboard shortcut for Lockscreen not working

I tried the combination CTRL+ALT+L or L but it is not working. But if I select the menu item LockScreen from setting drop down it works. Any thoughts on how to fix keyboard shortcut? Thanks.
18
votes
8answers
17k views

How do I stop the screen from being locked on suspend?

On GNOME the screen locks when I suspend, and I find that a bit annoying (no one else in the house uses ubuntu anyway haha). What can I do to stop this?
18
votes
3answers
7k views

How do I configure the screen to lock when I close the lid?

I've configured Ubuntu to put the screen in black when I close the lid of the laptop, but I want that, when I open it again, it demand the password like blocking the screen with Ctrl+Alt+L, but I can'...
18
votes
0answers
6k views

How do I turn off the onscreen keyboard on the lock screen? [duplicate]

The lock screen has an on screen keyboard that I am unable to disable. I don't remember exactly but I believe I turned it on using the "Screen Keyboard" setting in the Universal Access settings. I've ...
17
votes
4answers
29k views

Lock Screen not working. 14.04

I recently upgraded to 14.04 and since then my lock screen is not working.I read online that gnome-screensaver is not supported in Trusty and it was suggested that I install xscreensaver instead. The ...
17
votes
3answers
74k views

How do I change the length of time the lock screen appears for?

When my screen is locked and I then reawaken it, by moving the mouse or pressing the keyboard, the password entry screen appears. How can I change the amount of time that is taken before the password ...
16
votes
4answers
9k views

How can I lock the screen using the new lockscreen from the command line?

Ubuntu 14.04 introduces a new lockscreen that looks similar to the login screen. I am still able to lock the screen using the command gnome-screensaver-command --lock (as I always did before), ...
15
votes
3answers
23k views

How to disable screen lock in Ubuntu 14.04 / Unity?

I disabled the lock in the "Brightness & Lock" but I still get the lock screen when is resumes/wake from suspend. Although the option "Require my password when waking from suspend" is unchecked
14
votes
1answer
2k views

How to allow key functions while desktop locked

Is it possible to allow a keyboard's volume keys to continue working when your desktop is locked? Currently, the default behavior disables all special-function keys until the desktop's unlocked. I ...
13
votes
1answer
50k views

Ubuntu 14.04 LTS randomly freezes (graphics/unity only) [duplicate]

When I'm just chilling on the desktop or doing whatever, Ubuntu 14.04 LTS will (every 10-20 minutes or so) just randomly freeze. The screen just stops, I can't see my mouse move, etc. However, I can ...
12
votes
2answers
5k views

Key short cut `Super+L` (i.e. `Win+L`) not working for `LockScreen` in 12.04 LTS

I want to change Key short cut to Super+L for LockScreen but it is not working. If I try any other combination like CTRL+ALT+L or CTRL+ALT+G , it works. Win+L combination used to work in 11.10.
11
votes
4answers
9k views

How to turn off screen (DPMS) together with locking session in KDE?

First of all, I'm aware a similar question for GNOME is asked here: "Switch off laptop backlight when locking screen". Objective I would like to turn off my screen on locking the session for power ...
10
votes
1answer
4k views

How do I stop the screen from being locked on resume on Kubuntu/KDE?

Per How do I stop the screen from being locked on suspend? I want to be able to sleep and resume without the screen locking. All the previous answers seem to involve fairly Gnome-specific things that ...
10
votes
1answer
2k views

Change unlock screen appearance

I wonder if it's possible to change the appearance of the unlock screen as I'm not a big fan of this default greyish dialog box: (Image reference: http://www.tuxgarage.com/2012/04/ubuntu-12-04-...
9
votes
3answers
2k views

How do I lock the screen after resuming from hibernation?

I've been able to successfully hibernate and resume my Ubuntu 12.04 Desktop PC using procedure that I've documented in this answer. However, I now have a problem that whenever the PC resumes, it does ...
9
votes
3answers
6k views

How to suspend from command line such that screen is locked?

I'm using Xubuntu 12.04. In the Power Manager, I have checked Extended -> Lock screen when going for suspend/hibernate. If I choose to suspend from the main menu / Panel 1, the screen is locked. ...
9
votes
3answers
4k views

How to run script after resume and after unlocking screen

In Ubuntu 12.04 LTS, I would like to run scripts after resuming from suspend, and after unlocking my desktop. These need to run as my user, and with access to my $DISPLAY. In particular, I would like ...
9
votes
2answers
9k views

When my screen is locked, will running processes/internet connection be halted?

Sometimes I leave my PC doing other stuff while running an upgrade or downloading big files, Syncing my Dropbox, or something like that. After 10mins or so, my screen is locked (which I like). I just ...
9
votes
5answers
15k views

Ubuntu 12.04 LTS often get a black screen with mouse cursor when trying to resume from lock screen. [closed]

Updated from 11.10 to 12.04 after fresh install, often the lock screen will give me a black screen with a mouse cursor instead of the usual. This occurs most often while the Ubuntu software center is ...
9
votes
1answer
1k views

Multimonitor in login screen vs. lock screen

I have a multiple monitor setup with two screens. The login screen uses dual monitor mode (as seen on the first picture), but the lock screen (CTRL + ALT + L) uses only a single monitor and disables ...
9
votes
1answer
238 views

Set a different passwords for unlock and sudo [duplicate]

I am running a single-user Ubuntu install. When I enter the password to unlock my screen after suspend/timeout, it is the same password I use for sudo - my user password. Is there any way for me to ...
9
votes
0answers
9k views

How do I stop the screensaver from turning on when watching videos online? [duplicate]

My screenlock is set to five minutes. So while playing YouTube videos after five minutes the screen locks even though the video is playing. Any solutions?
8
votes
4answers
23k views

How to lock my screen?

I can't enable lock screen mode in my laptop and also in my PC. I went to system setting > screen > lock Ctrl+Alt+L : Nothing happens! the shortcut is there but not works ! sudo apt-get --reinstall ...
8
votes
6answers
15k views

How do I disable the Cinnamon 2 lock screen?

When my computer is locked, I am presented with the default Ubuntu lockscreen. When I enter my password and unlock it, I am presented with the Cinnamon 2 lock screen and I have to enter my password ...
8
votes
4answers
7k views

Unlock screen in 14.04 without `gnome-screensaver-command`

I've been happily using blueproximity in 13.10, but since upgrade to 14.04 it only locks when my phone goes out of range (using gnome-screensaver-command -l), but it does not unlock with gnome-...
8
votes
2answers
13k views

Unlock login screen using command line

Is it possible to unlock the 13.04 Gnome shell login screen from a command line? A user is logged in to Gnome shell, I can log in to a console as this user. I also have root access. This is for ...
8
votes
1answer
5k views

Lock Tmux Session With Vlock

I have just installed tmux and vlock. When I try to perform the lock-session command, my terminal flashes and then nothing happens. Is there something in my .tmux.conf that must be added to tell tmux ...
8
votes
1answer
1k views

How can I put the display to sleep on screen lock?

When I invoke the "Lock Screen" action, is there a way to have the monitor go to sleep instantly? I'm aware of the power management setting to turn off the display after a set amount of time, but I ...
8
votes
2answers
95 views

Is the lock screen secure?

I have a fully encrypted drive so I know when my laptop is turned off that nobody can access my data but what about when the screen is locked with my root password? It is often impractical to turn ...
7
votes
1answer
1k views

How to move the lock window on the lock-screen?

Is it possible to move the window where you input your password on the lock screen away from the center, e.g. at the lower edge?
7
votes
4answers
8k views

Where can I change the automatic lock screen preference? [closed]

I'm using ubuntu in a VM, so, I leave it idle from time to time. When I go back obviously the screen is locked, but I would like to configure the idle time for something around 10 minutes. Where can I ...
7
votes
1answer
6k views

How to turn off the automatic lock?

I want Ubuntu to ask for my password when I log in but not lock me every time I am away for 5 minutes. How can I disable the automatic lock?
7
votes
6answers
23k views

Lubuntu enforces screen lock

I can't disable screen lock in Lubuntu. In Power management I have it unchecked. There is another option "Enable light locker" in the "Light locker settings". I also have this unchecked but I still ...
7
votes
3answers
408 views

Cannot log-in at locked screensaver, must log-in with “switch user..”

I have configured my screensavers to lock the desktop after some time; and sometimes, e.g. when I leave my desk, I prefer to lock the screen myself using the title bar "Lock/Switch account..." feature....
7
votes
3answers
243 views

How to lock screen 30 minutes after unlock [duplicate]

I would like my children to only use the computer for 30 minutes, at which time I would like the screen to be locked. At that point, if I choose to unlock the screen again, I would like the screen to ...
7
votes
1answer
3k views

Making gnome-screensaver auto-lock in XFCE

gnome-screensaver has been vastly simplified for major version 3 and no longer supplies the preferences dialog. It is now only useful for locking the screen and providing an unlock dialog. I use 12....
6
votes
3answers
9k views

How do I remove the dots from the lockscreen in Ubuntu 14.04?

You can remove the dots from the login screen in 12.04-13.10 using this method. How do you remove the dots from the new lock screen in Ubuntu 14.04?
6
votes
1answer
15k views

How to configure idle period for auto locking screen

I just installed a fresh Ubuntu 12.04 (Precise Pangolin). I noticed that, there is no screensaver settings, which is fine. I like to control the period of time after which the blank screen is shown,...
6
votes
1answer
5k views

How to change lock screen shortcut for Ubuntu 12.10?

Right now, Ctrl + Alt + L locks the screen but I want to make it Super + L as the shortcut, how can I do it ?
6
votes
4answers
20k views

Stop Xscreensaver from locking screen once screensaver starts

I have installed Lubuntu 12.04 and was wondering if there was a way to keep it from locking the screen when the screensaver starts? The "lock screen after X minutes" box is unchecked, so that is not ...
6
votes
2answers
7k views

Light locker stops background activities (eg. music playback) when screen is locked

I upgraded my xubuntu installation to the new release, 14.04. This release includes a new light-locker, a great improvement if you ask me. The thing is that whenever I try to lock the session or when ...
6
votes
1answer
1k views

How can I put a “lock sreen” icon on the launcher?

At first I apologize if the subject was in the wrong place The reason is that I do not speak English And enlisted Google to translate can I register and add this topic I have a question: I use ...
6
votes
4answers
815 views

Making touchpad and resume password changes permanent

in Ubuntu 10.10 I really don't want any password on resume on my EeePC, so I have to run gconftool-2 --set --type=bool /apps/gnome-power-manager/lock/suspend false and I want two finger middle click,...
6
votes
1answer
3k views

Visual keyboard on lockscreen [duplicate]

Possible Duplicate: How do I disable the on-screen keyboard in the unlock screen? Recently, every time I'm on the lockscreen, the visual keayboard appears at the bottom of the screen. How do I ...