libscreensaver use wrong session path on ubuntu 20.04
My OS:
lsb_release -rd
Description: Ubuntu 20.04.1 LTS
Release: 20.04
If I lock my screen and then press button "Switch User..." and again type my login and pass, screensaver does not unlock my current session and shows unlock dialog. This is because of incorrect path of session in libscreensaver/gf-listener.c. To fix this problem should add "_3" to path. I create a patch which fixes problem.
--- a/gnome-flashback/libscreensaver/gf-listener.c
+++ b/gnome-flashback/libscreensaver/gf-listener.c
@@ -436,7 +436,7 @@
g_debug ("Session id: %s", session_id);
- path = g_strdup_printf ("%s/%s", LOGIN_SESSION_DBUS_PATH, session_id);
+ path = g_strdup_printf ("%s/_3%s", LOGIN_SESSION_DBUS_PATH, session_id);
g_free (session_id);
gf_login_session_gen_proxy_new_for_bus (G_BUS_TYPE_SYSTEM,
Edited by valia0906