alina — 2013-08-12T02:29:12-04:00 — #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 — 2013-08-12T02:50:15-04:00 — #2
That's the long-term plan; I don't know when it'll land, though.
alina — 2013-08-12T20:15:23-04:00 — #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 — 2013-11-19T08:34:24-05:00 — #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 — 2013-11-19T13:57:25-05:00 — #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 — 2013-12-30T10:37:57-05:00 — #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 — 2013-12-31T16:46:55-05:00 — #7
Well, I still need a lock screen for security. Don't want people to access my phone when it is lying around...
alina — 2013-12-31T17:40:30-05:00 — #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 — 2014-01-01T12:35:37-05:00 — #9
For me, the second one works better. Screen blanks out occasionally when using the first one.
alina — 2014-03-12T16:39:35-04:00 — #10
The new lock screen is landed in 14.04 daily builds recently. I’m so excited!
marcoceppi — 2014-03-13T13:07:03-04:00 — #11
Awhhh yeah, this looks awesome!
wojox — 2014-03-13T16:50:27-04:00 — #12
It's a nice transition to the Desktop. Very smooth.
cprofitt — 2014-03-25T23:19:07-04:00 — #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_ — 2014-04-01T12:59:59-04:00 — #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 — 2014-04-02T15:20:36-04:00 — #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_ — 2014-04-02T16:43:33-04:00 — #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 — 2014-04-02T20:26:50-04:00 — #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.