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 · 17 comments

Comments

Projects
None yet
6 participants
@fossfreedom
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 from need to switch to lightdm lock screen to Need to switch to lockscreen to LightDM GTK Greeter Apr 30, 2016

@HEXcube

This comment has been minimized.

Member

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! 😃

@Udara-U3

This comment has been minimized.

Member

Udara-U3 commented Apr 30, 2016

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

@fossfreedom

This comment has been minimized.

Member

fossfreedom commented Apr 30, 2016

nope - doesnt work for me.

@HEXcube

This comment has been minimized.

Member

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

This comment has been minimized.

Member

fossfreedom commented Apr 30, 2016

"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

This comment has been minimized.

Member

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

This comment has been minimized.

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.

@feren

This comment has been minimized.

feren 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...

@feren

This comment has been minimized.

feren commented Feb 2, 2017

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

@fossfreedom

This comment has been minimized.

Member

fossfreedom commented Feb 2, 2017

@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?

@feren

This comment has been minimized.

feren commented Feb 2, 2017

@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...

@feren

This comment has been minimized.

feren commented Feb 2, 2017

@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

This comment has been minimized.

logileifs commented Jun 25, 2018

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

This comment has been minimized.

Member

fossfreedom commented Jun 26, 2018

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

@feren

This comment has been minimized.

feren 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

This comment has been minimized.

Member

fossfreedom commented Jun 27, 2018

@feren

This comment has been minimized.

feren commented Jun 28, 2018

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment