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

58
votes
3answers
24k 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 ...
51
votes
3answers
38k views

How do I lock the desktop screen via command line?

How can I lock my desktop screen from the command line?
43
votes
7answers
26k 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 ?
28
votes
5answers
13k 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 ...
18
votes
2answers
54k 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
3answers
6k 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 ...
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 ...
16
votes
8answers
11k 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?
13
votes
2answers
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
2answers
5k 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), ...
12
votes
3answers
20k 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 ...
11
votes
1answer
13k 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
11
votes
2answers
4k 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.
10
votes
1answer
658 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
3answers
7k 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
1k 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: ...
9
votes
3answers
3k 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
5answers
14k 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
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
6answers
11k 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
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
1answer
949 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 ...
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
18k 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 ...
7
votes
4answers
7k 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
2answers
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. ...
7
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 ...
7
votes
1answer
5k 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
1answer
28k 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 ...
7
votes
1answer
4k 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 ...
7
votes
2answers
6k 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 ...
7
votes
1answer
209 views

Entirely disable suspension (at kernel level? - has to be independent of used DE and login state!)

Once again I need a workaround to deal with my almost broken notebook graphics card: It does not wake up after suspending! The Ubuntu 14.10 system is waking up, but the display stays off, so I have ...
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 ...
7
votes
3answers
46k 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 ...
6
votes
1answer
11k 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 ...
6
votes
2answers
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
5k 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 ...
6
votes
4answers
802 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 ...
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 ...
6
votes
5answers
13k 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 ...
6
votes
1answer
3k views

Can I change the lock screen background to be different from the desktop background?

I want the lock screen background to be different from the desktop background in Ubuntu 11.10, how can I do that? It's okay when I am using 11.04, why 11.10 can't? thanks
6
votes
1answer
466 views

What is wrong with this method of using an alternate lock screen background?

I have recently been trying to separate all three wallpaper states that are all the same as default. They are: Unity Greeter Lock screen Desktop All of them have a wallpaper, and as default the ...
6
votes
2answers
1k views

Replacing xscreensaver with gnome-screensaver, problems(Xubuntu)

I found this helpful question Replace xscreensaver With gnome-screensaver (Xubuntu) but the executable gnome-screensaver-preferences can't be found. So I'm not sure what to do, to get ...
6
votes
2answers
2k views

Lock Screen Blank

I have recently upgraded to ubuntu 12.04. I have been having some trouble with lock screen lately. While the system is locked, I sometimes get blank screen without the lock screen. So I am unable to ...
6
votes
0answers
624 views

Ubuntu 14.04 Lock Screen Keyboard Error [closed]

After locking Ubuntu 14.04 x64 Desktop edition, the usb and built-in keyboards do not work on the login screen. When clicking on password area nothing happens. But if I hit Ctrl + Alt + F1 and goes ...
6
votes
0answers
1k views

Set wallpaper in the Lock Screen [duplicate]

Is there an app or some way to set the desktop wallpaper as viewable when only logged in, and to set another when logged out or locked? I've tried Ubuntu Tweak, but it only does the login wallpaper, ...
5
votes
3answers
16k 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 ...
5
votes
1answer
2k views

How can I lock the keyboard and mouse when playing video

I'd like to set up my Ubuntu 12.04 laptop so that I can play a video on loop while my computer is unattended, while not allowing anyone to take over without a password. I think this could go one of ...
5
votes
4answers
275 views

Cannot unlock session if user has no password

I created an account with no password for my 3 year old child. After some time of inactivity on that account, the session locks. Then I cannot unlock the session. Trying to unlock with an empty ...
5
votes
2answers
8k 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 ...