canonical / lightdm

Display Manager
GNU General Public License v3.0
827 stars 138 forks source link

Need help: Lockscreen bypassing issue on GNOME #361

Open MrGizful opened 3 months ago

MrGizful commented 3 months ago

Hi,

I am currently developing a custom greeter/lockscreen based on lightdm-gobject. It works well on most window managers, but I’ve encountered a significant issue with GNOME. When using the dm-tool lock command to lock the session, the lockscreen runs in a new session. This allows users to easily switch back to the original session, effectively bypassing the session lock.

I have two questions:

  1. Can I force LightDM to run the lockscreen in the same session?
  2. Alternatively, is there another way to lock the session?

Thank you in advance.