I have tested this with both the DistUpgradeViewGtk3 and DistUpgradeViewText frontends. Using Gtk3, the screen lock prevention code fails, and no failure is reported in the logs. Using the text frontend, the screen lock prevention code works as expected.
I believe the issue is that for the Gtk3 and KDE frontends, the dist- upgrade script is not invoked in a way that preserves the user's environment variables [1], namely `DBUS_SESSION_BUS_ADDRESS` etc. So, the DBus call fails and the failure is not reported because `XDG_SESSION_TYPE` is not set either [2]. [1] https://git.launchpad.net/ubuntu-release-upgrader/tree/do-release-upgrade#n221 [2] https://git.launchpad.net/ubuntu-release-upgrader/tree/DistUpgrade/DistUpgradeController.py#n2079 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1968607 Title: screen became locked during release upgrade To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/ubuntu-release-upgrader/+bug/1968607/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
