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

39
votes
3answers
20k views

How do I lock the desktop screen via command line?

How can I lock my desktop screen from the command line?
30
votes
4answers
11k 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 ?
26
votes
5answers
9k 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
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 ...
15
votes
2answers
26k 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.
15
votes
3answers
5k 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 ...
12
votes
8answers
6k 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?
11
votes
3answers
1k 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 ...
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: ...
10
votes
2answers
2k 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.
9
votes
5answers
13k 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
1answer
625 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
4answers
4k 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
904 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 ...
7
votes
1answer
3k 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 ...
6
votes
1answer
944 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?
6
votes
4answers
3k 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 ...
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
1answer
2k 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
2answers
2k 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 ...
6
votes
1answer
2k 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
316 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
1answer
2k 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 ...
6
votes
0answers
651 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
1answer
2k 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?
5
votes
2answers
3k 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 ...
5
votes
3answers
2k 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 ...
5
votes
3answers
2k views

Ubuntu 11.04 hangs when try to resume from screen lock.

Sometimes if I lock my Ubuntu 11.04 screen, when I try to resume my work.. I see my PC hangs. The black screen does not go off. I can not even see the password prompt screen. I have to restart the PC. ...
5
votes
3answers
454 views

How can I use code or a script to lock my screen programmatically in Lubuntu?

I want to write code or a script to lock the PC when my C++ program receives a specific command from Ethernet. Is there any way to show the Login screen from the command line? I want to lock the ...
4
votes
4answers
10k 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 ...
4
votes
5answers
3k views

How to get lock screen option in Lubuntu?

I am using Ubuntu 12.04 with many DE. Lubuntu is one of them. I don't have any option to lock screen in Lubuntu while I do in Unity and other DE. Is there any program / application that I can ...
4
votes
1answer
5k 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 ...
4
votes
1answer
5k 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. ...
4
votes
1answer
2k views

How can I change power options to make my system “always on”?

Power options in 12.04 system settings has only one option: "Suspend when inactive", while I can't see any obvious settings I can change so that the system is always on - without locking the screen ...
4
votes
2answers
211 views

Is the lock screen secure enough to prevent “Mallory” from accessing the encrypted drive?

I use truecrypt to encrypt one of my drives and I would want to leave the computer running processes that use information of that drive while I'm not home, I've tried suspending it but everything ...
4
votes
3answers
795 views

Is there an alternative to the default lock-screen?

I have a tablet PC that I'm running oneric on. One thing I don't like is that the default lock screen requires you to enter a password. Since this is a tablet, this means that it either needs to be ...
4
votes
0answers
145 views

How can I disable the screen-saver on tablet with Ubuntu Touch Saucy?

How can I disable screen-saver Ubuntu Touch Saucy on my phone or tablet (Nexus 7) ? I do play a internet radio streaming with the mplayer (from terminal application). Unfortunately the tablet stop ...
4
votes
2answers
593 views

Ubuntu-GNOME 13.04 - Lock screen takes lot of time to unlock

I have gnome-screensaver package installed for using Ctrl+Alt+L to lock the screen. Though locking the screen works fine, it takes a whole lot of time to unlock after entering my password at the ...
4
votes
1answer
821 views

Having to log In twice after screen lockout

I'm on Ubuntu 10.04.2 LTS Desktop. (And by scanning /boot, it appears I might be on kernel 2.6.32-29-generic? Not certain.) Anyway, after my last system update, now my screen lock asks me to login ...
3
votes
1answer
4k views

Ubuntu 13.04 not locking screen

I might have uninstalled some packages I shouldn't. For now, the only thing I've been missing is the lock screen. When I press Ctrl + Alt + L, or press the "Lock" button on the shutdown menu or I ...
3
votes
1answer
2k views

How to re-enable lock screen?

Once I disabled the screen lock using a command that I can't remember. Now I want to re-enable the screen lock (via Ctrl+Alt+L) but I don't know how. If I look at System Settings → Brightness and ...
3
votes
2answers
7k 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 ...
3
votes
1answer
908 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 ...
3
votes
1answer
4k views

Lock screen when XScreenSaver is installed [duplicate]

I'm another user who dislikes the default screen-saver of Oneric. I installed XScreenSaver, but when I want to lock the screen, it doesn't work using CTRL+ALT+L , or using the option on the user ...
3
votes
1answer
4k views

How to enable new lock screen on gnome 3.6?

I'm using Gnome 3.6 (PPA) on Ubuntu 12.10 But I don't get the "new" lock screen. Users reported new lock screen are available now. GNOME lock screen (screensaver) is missing music controls How to ...
3
votes
1answer
81 views

How can I lock AND blank the screen from the keyboard in 14.04?

In older versions of Ubuntu when you pressed Ctrl+Alt+L it would lock and blank the screen (start the screensaver). In 14.04 it just locks the screen. How can I get it to lock AND blank the screen? ...
3
votes
1answer
246 views

Unlock Gnome 3 without mouse

When I want to unlock my screen in a Gnome 3 session, I have to use my mouse to "drag up" the screen and uncover the password input. I would prefer to not use the mouse for that action since I am ...