alina at August 12th, 2013 02:29 — #1
I personally prefer Ubuntu login screen to Gnome lock screen, because the former is more beautiful. Also one may prefer it due to wallpaper privacy, for example on an encrypted home.
Well, after months of searching (and dissapointing) I found a workaround today and just want to share:
It’s easy through Dconf Editor. Open the schema org.gnome.desktop.screensaver, enter the command
dbus-launch gdmflexiserver -xnest for the variable embedded-keyboard-command, and then check embedded-keyboard-enabled for the same schema.
Now Ubuntu login screen appears every time the system wake from either screensaver (lockdown) or suspend or even switch user.
I hope this will be default with Mir.
raof at August 12th, 2013 02:50 — #2
That's the long-term plan; I don't know when it'll land, though.
alina at August 12th, 2013 20:15 — #3
Who knows? But the current Ubuntu Touch shows there’s no separate lock screen, there’s always a welcome screen to easily switch users. I guess the lock screen is something forced by X.
It’s not a lock screen, it’s not a barrier; it’s a welcome screen. We don’t need a lock screen, because Ubuntu is the first phone that uses every edge of the screen to take you directly to what you need.
– Mark Shuttleworth, Ubuntu phone propositional video
hexcube at November 19th, 2013 08:34 — #4
Whoa..! It works! This should have been the default behavior. I don't like the Gnome Screensaver Lockscreen at all. Ubuntu Login Screen looks great and is the best among all the Linux distro Login Screens i've seen. You don't know for how long have i been searching for a way to do this! I've been trying to replace the call to Gnome ScreenSaver Lockscreen with one to Unity Greeter(Ubuntu's default Login Screen). But,i couldn't find any solution until i found this. I'm using Ubuntu 12.04 LTS by the way.
From Ubuntu 14.04 LTS onwards Light Locker which looks similar to Ubuntu Login Screen is supposed to replace the Gnome Screensaver LockScreen. It would be a better solution than this 'tweak' - Replacing call to OnScreen Virtual Keyboard with that of LightDM. The problem with this method is that you'll see the Gnome Screensaver LockScreen for a second before seeing Unity Greeter. Ubuntu 14.04's Light Locker will solve this. Till then,me and all those 12.10,13,04 and 13.10 users can use this method.
Thanks to alina for sharing this tweak.
bregma at November 19th, 2013 13:57 — #5
There are a few security issues with most of these workarounds (there are ways it's possible to view what's on the screen, at least briefly, without entering a password).
One of the Unity7 polish tasks we're targeting for 14.04 is making the desktop lock screen use the Unity greeter in a secure way.
alina at December 30th, 2013 10:37 — #6
If you want to resume to login screen after suspend, you can follow the procedure in this answer.
And for the lock screen (screensaver) you can set a new custom shortcut in System Settings > Keyboard with the command:
dbus-launch gdmflexiserver -xnest
gdbus call --system --dest org.freedesktop.DisplayManager --object-path /org/freedesktop/DisplayManager/Seat0 --method org.freedesktop.DisplayManager.Seat.SwitchToGreeter
I don’t know the difference, but they both results in the same.
You can change the default Lock screen shortcut into something different and then use Ctrl+Alt+L for your custom shortcut.
kai_mast at December 31st, 2013 16:46 — #7
Well, I still need a lock screen for security. Don't want people to access my phone when it is lying around...
alina at December 31st, 2013 17:40 — #8
Of course there’s a lock screen, but exactly the same as the login screen. However we’re talking about desktop in this thread.
hexcube at January 1st, 2014 12:35 — #9
For me, the second one works better. Screen blanks out occasionally when using the first one.
alina at March 12th, 2014 16:39 — #10
The new lock screen is landed in 14.04 daily builds recently. I’m so excited!
marcoceppi at March 13th, 2014 13:07 — #11
Awhhh yeah, this looks awesome!
wojox at March 13th, 2014 16:50 — #12
It's a nice transition to the Desktop. Very smooth.
cprofitt at March 25th, 2014 23:19 — #13
unfortunately, this change has apparently broken functionality. My computer does not blank the screen now when I hit cntl+alt+L and if I accidently bump the mouse I can not resume a screen blank.
Hope they fix the bug.
bp_ at April 1st, 2014 12:59 — #14
This has got to be the single most annoying, consistent and persistent bug I've ever experienced in a Ubuntu+1 release.
Sit back at computer, login, do something, screen blanks, login, do something, screen blanks, login, resume work. Every. Single. Time. D:
alina at April 2nd, 2014 15:20 — #16
Have you set the screen turn-off delay to 1 second? To break the login-blank-login loop you can disable lock on when the screen turns off. (I can’t call it workaround.)
bp_ at April 2nd, 2014 16:43 — #17
I have now changed this setting; fingers crossed. Meanwhile, this happened:
I logged in, clicked around, the greeter kicked back in but, as it faded in (I guess?), it lost focus. As a result, I could click around the place as much as I wanted, but keyboard activity was going straight to the session and alt-tab + alt-` gave me luxuriously large window previews of what was actually going on.
I had to
xkill to get back to my desktop.
alina at April 2nd, 2014 20:26 — #18
Some time this happened to me too. I could get the focus back by clicking on the text entry indicator and maybe changing the language.
But where I said “disable lock on when screen turns off” (sorry for my not good enough English) I meant this:
Either disable it, or set a time-out (in the matter of security) to simply prevent the lock screen to appear after that after-unlocking-blank-screen.