From 6c8d20a4589e73f773c9eca460182347cfae5357 Mon Sep 17 00:00:00 2001 From: Ali Riza KESKIN Date: Wed, 24 Jul 2024 13:06:09 +0000 Subject: [PATCH] start auth on daemon --- src/module/daemon.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/module/daemon.py b/src/module/daemon.py index 3a07833..25785f6 100644 --- a/src/module/daemon.py +++ b/src/module/daemon.py @@ -28,6 +28,7 @@ def module_init(): lightdm.set(session = str(data["session"])) GLib.idle_add(loginwindow.o("ui_entry_username").set_text, username) GLib.idle_add(loginwindow.o("ui_entry_password").set_text, password) + lightdm.greeter.authenticate(username) lightdm.set(username, password) lightdm.login() debug("daemon login done")