Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Need to switch to lockscreen to LightDM GTK Greeter #3

Open
fossfreedom opened this issue Apr 30, 2016 · 21 comments
Open

Need to switch to lockscreen to LightDM GTK Greeter #3

fossfreedom opened this issue Apr 30, 2016 · 21 comments

Comments

@fossfreedom
Copy link
Member

fossfreedom commented Apr 30, 2016

Currently we've inherited the gnome-screensaver lockscreen, which's seen on Super+L:

ubuntu xenial running - oracle vm virtualbox 1_022

However, if you lock from Raven you see this beauty:

ubuntu 64bit minimal snapshot 1 running - oracle vm virtualbox_024

So how do we switch from gnome-screensaver and make lightdm-gtk-greeter the default locker?

@HEXcube HEXcube changed the title need to switch to lightdm lock screen Need to switch to lockscreen to LightDM GTK Greeter Apr 30, 2016
@HEXcube
Copy link
Contributor

HEXcube commented Apr 30, 2016

Ubuntu faced this problem before 14.04LTS. I remember trying to solve this with a dirty hack back then. 😆 But then around 14.04LTS, Ubuntu got the beautiful Light Locker which looks consistent with Unity Greeter. 😍 See this article by WebUpd8 explaining the steps to try Light Locker.

I think we should replace gnome-screensaver with light-locker. Xubuntu did it too, so we got the company of another flavor! 😃

@uD4ra
Copy link
Member

uD4ra commented Apr 30, 2016

It's Working fine 😄 light-locker, I just followed that WebUpd8 article..

@fossfreedom
Copy link
Member Author

nope - doesnt work for me.

@HEXcube
Copy link
Contributor

HEXcube commented Apr 30, 2016

When I was testing Arc's Unity Greeter theming last week, I noticed the lock button in Raven uses Unity Greeter. But, I hadn't changed anything in Budgie's settings except setting unity-greeter as the default in LightDM's configuration. Didn't try Super+L though. Next time I boot the VM, I'll try that. ☺️

@fossfreedom
Copy link
Member Author

"dm-tool lock" forces the switch to the lightdm lock greeter.

However its not a real lock because I can switch to TTY6 and back to TTY7 and the desktop is displayed not locked.

@HEXcube
Copy link
Contributor

HEXcube commented Apr 30, 2016

@fossfreedom That's interesting! I think I encountered something similar on Ubuntu GNOME 16.04LTS. Could see unlocked session by switching TTY! 😮 But that was GDM and it's lockscreen, not LightDM.

@Asheguy
Copy link

Asheguy commented Jun 17, 2016

I know that Manjaro's Budgie edition uses LightDM GTK as their login greeter. So I went to check out their lock screen and got the gnome-screensaver which was disheartening. I'm extremely impressed with this distro and think finding out how to do this will make it all the more better.

@dominichayesferen
Copy link

dominichayesferen commented Feb 2, 2017

@fossfreedom What elementary OS does is changes 'Lock' to lock + Switch User, and then LightDM unlocks the moment you sign into a logged in user by default unlocking GNOME Screensaver instantly...

@dominichayesferen
Copy link

...and that means that the user is still essentially locked

@fossfreedom
Copy link
Member Author

@feren hi - that sounds very interesting ... but I'm not sure I completely follow how elementary does this - can you point me at any packages/configuration that shows how elementary manages that instant unlock?

@dominichayesferen
Copy link

@fossfreedom I don't know exactly of the packages, but when I tried eOS Freya, when I locked, it always did Switch User instead by design, and if you add locking to GNOME Screensaver normally before switching users, you'll still keep the user secure in the process...

@dominichayesferen
Copy link

@fossfreedom I think it was something inside of the pantheon* packages that controlled that, the easiest diversion is editing Budgie to launch the command for LightDM's Switch User shortcut as well as the normal locking on Hibernate, Ctrl+Alt+L, menus, and so on...

@logileifs
Copy link

I used the same workaround @feren is describing when I was on ubuntu + gnome flashback to have the more beautiful switch user screen than the ugly gnome lock screen. It worked very well for me

@fossfreedom
Copy link
Member Author

Can you expand slightly? How do you lock and switch? Is that command line stuff or more complicated dbus stuff?

@dominichayesferen
Copy link

dominichayesferen commented Jun 27, 2018

@fossfreedom In a nutshell, it's probably that you'd have to make it point to executing a BASH Script that firstly locks using GNOME Screensaver, and then uses dm-tool switch-to-greeter or dm-tool lock to enter Switch User, and then when the user puts in their password on the DM, the DM will also unlock it on GNOME Screensaver too automatically.

@fossfreedom
Copy link
Member Author

fossfreedom commented Jun 27, 2018 via email

@dominichayesferen
Copy link

Huh, weird, in the times I've used GNOME Screensaver it has always had a means of unlocking...

@codic12
Copy link

codic12 commented Nov 26, 2019

@fossfreedom will Light Locker be default in a later version (20.04?)

@fossfreedom
Copy link
Member Author

@gsbhasin123 someone will need to dig in to make this happen https://discourse.ubuntubudgie.org/t/replacing-the-lock-screen-with-something-else/2328

@codic12
Copy link

codic12 commented Nov 26, 2019

Thanks David, will check.

And I am actually codic btw

@codic12
Copy link

codic12 commented Nov 30, 2019

@fossfreedom I've tried locking from Raven, also launches GNOME Screensaver in 19.10.
I would help, if I knew how 😆

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants