Am 05.08.26 um 13:10 schrieb Michael Biebl:
What I do notice is, that mate-polkit pulls in the accountsservice package, which is not a dependency of cinnamon. Could you try the following: uninstall mate-polkit(-common) again, but keep accountsservice installed.Does that fix the issue?If so, cinnamon probably has an undeclared dependency on accountsservice and it should either add a dependency on it or handle its absence.
I pulled the sources for src:cinnamon and noticed the following:
$ grep AccountsService -R
src/main.c: g_log_set_handler ("AccountsService", G_LOG_LEVEL_DEBUG,
js/ui/polkitAuthenticationAgent.js:const AccountsService =
imports.gi.AccountsService;
js/ui/polkitAuthenticationAgent.js: this._accountsService =
AccountsService.UserManager.get_default();
files/usr/share/cinnamon/cinnamon-settings/modules/cs_user.py:gi.require_version('AccountsService',
'1.0')
files/usr/share/cinnamon/cinnamon-settings/modules/cs_user.py:from
gi.repository import AccountsService, GLib, GdkPixbuf, XApp
files/usr/share/cinnamon/cinnamon-settings/modules/cs_user.py:
self.accountService =
AccountsService.UserManager.get_default().get_user(current_user)
files/usr/share/cinnamon/cinnamon-settings-users/cinnamon-settings-users.py:gi.require_version("AccountsService",
"1.0")
files/usr/share/cinnamon/cinnamon-settings-users/cinnamon-settings-users.py:from
gi.repository import Gtk, GObject, Gio, GdkPixbuf, AccountsService, GLib
files/usr/share/cinnamon/cinnamon-settings-users/cinnamon-settings-users.py:
users = AccountsService.UserManager.get_default().list_users()
files/usr/share/cinnamon/cinnamon-settings-users/cinnamon-settings-users.py:
self.accountService = AccountsService.UserManager.get_default()
files/usr/share/cinnamon/cinnamon-settings-users/cinnamon-settings-users.py:
user.set_account_type(AccountsService.UserAccountType.ADMINISTRATOR)
files/usr/share/cinnamon/cinnamon-settings-users/cinnamon-settings-users.py:
user.set_account_type(AccountsService.UserAccountType.STANDARD)
files/usr/share/cinnamon/cinnamon-settings-users/cinnamon-settings-users.py:
if user.get_password_mode() == AccountsService.UserPasswordMode.REGULAR:
files/usr/share/cinnamon/cinnamon-settings-users/cinnamon-settings-users.py:
elif user.get_password_mode() == AccountsService.UserPasswordMode.NONE:
files/usr/share/cinnamon/cinnamon-settings-users/cinnamon-settings-users.py:
if user.get_account_type() ==
AccountsService.UserAccountType.ADMINISTRATOR:
files/usr/share/cinnamon/cinnamon-settings-users/cinnamon-settings-users.py:
account_type = AccountsService.UserAccountType.ADMINISTRATOR
files/usr/share/cinnamon/cinnamon-settings-users/cinnamon-settings-users.py:
account_type = AccountsService.UserAccountType.STANDARD
files/usr/share/cinnamon/cinnamon-settings-users/cinnamon-settings-users.py:
new_user.set_password_mode(AccountsService.UserPasswordMode.NONE)
files/usr/share/cinnamon/applets/[email protected]/applet.js:const
AccountsService = imports.gi.AccountsService;
files/usr/share/cinnamon/applets/[email protected]/applet.js: this._user
= AccountsService.UserManager.get_default().get_user(GLib.get_user_name());
files/usr/share/cinnamon/applets/[email protected]/applet.js:const
AccountsService = imports.gi.AccountsService;
files/usr/share/cinnamon/applets/[email protected]/applet.js: let user =
AccountsService.UserManager.get_default().get_user(GLib.get_user_name(
js/ui/polkitAuthenticationAgent.js: this._accountsService = AccountsService.UserManager.get_default();
This quick check confirms that the cinnamon authentication agent interacts with the AccountService daemon and it probably doesn't handle the case properly when it's not installed/running.
Regards, Michael
OpenPGP_signature.asc
Description: OpenPGP digital signature

