__SETUP: This system is my daily driver using Plasma, no problems. I am member of wheel, so launching mcc, i validate as my normal user. System is often, like currently, updated fully to updates testing repo. To test for another bug, i installed task-lxde-minimal, and rebooted. Now in LXDE: __PROBLEM: Clicking Mageia Control Centre icon in systray or menu, nothing visible happen! Trying in LXTerminal: $ mcc Too late to run INIT block at /usr/lib64/perl5/vendor_perl/Glib/Object/Introspection.pm line 257. ==== AUTHENTICATING FOR org.mageia.drakconf.pkexec.run ==== Authentication is required to run Mageia Control Center GUI Authenticating as: Morgan Leijström (morgan) Password: polkit-agent-helper-1: error response to PolicyKit daemon: GDBus.Error:org.freedesktop.PolicyKit1.Error.Failed: No session for cookie ==== AUTHENTICATION FAILED ==== Error executing command as another user: Not authorized This incident has been reported. __Other tests: sudo: works Isodumper: Report pane in Isodumper say "Authentication error.", and output in LXterminal where i started it say "Error creating textual authentication agent: Error opening current controlling terminal for the process (`/dev/tty'): No such device or address
Hi, thanks reporting this. I think there is something missing with polkit with LXDE. On my side, M8-Cauldron Plasma, user member of wheel group: ----BEGIN QUOTE TERMINAL--------------------- $ mcc Too late to run INIT block at /usr/lib64/perl5/vendor_perl/Glib/Object/Introspection.pm line 257. Ignore the following Glib::Object::Introspection & Gtk3 warnings Subroutine Gtk3::main redefined at /usr/share/perl5/vendor_perl/Gtk3.pm line 539. [AT THIS TIME: there is a GUI Polkit-agent to ask me my password] GLib-GObject-CRITICAL **: g_boxed_type_register_static: assertion 'g_type_from_name (name) == 0' failed at /usr/lib64/perl5/DynaLoader.pm line 210. GLib-GObject-CRITICAL **: g_boxed_type_register_static: assertion 'g_type_from_name (name) == 0' failed at /usr/lib64/perl5/DynaLoader.pm line 210. GLib-GObject-CRITICAL **: g_boxed_type_register_static: assertion 'g_type_from_name (name) == 0' failed at /usr/lib64/perl5/DynaLoader.pm line 210. GLib-GObject-CRITICAL **: g_boxed_type_register_static: assertion 'g_type_from_name (name) == 0' failed at /usr/lib64/perl5/DynaLoader.pm line 210. Oops, secure memory pool already initialized Oops, secure memory pool already initialized error: XDG_RUNTIME_DIR not set in the environment. -----END QUOTE-------------------------------- Running "mcc" from a CLI while under a X/Wayland session should open a GUI polkit-agent asking you for password. Running "mcc" from a tty should ask you for password at prompt and should run ncurses version of MCC. Assigning to polkit maintainer. (Please set the status to 'assigned' if you are working on it)
Keywords: (none) => TriagedCC: (none) => alienAssignee: bugsquad => mageia
I also see this in cauldron, there with the default live user with no password.
See Also: (none) => https://bugs.mageia.org/show_bug.cgi?id=27585Whiteboard: (none) => MGA7TOOVersion: 7 => Cauldron
Hi, For Mageia 7, if you install task-lxde-minimal, you also need to manually install a polkit client (for LXDE, it is lxpolkit). The simplest way to get a fully working LXDE session is to install task-lxde. For Cauldron, I did not check using a live ISO but, I did not have any problem in a Virtualbox VM that was installed with a normal x86_64 ISO because it installed task-lxde and not only task-lxde-minimal. Best regards, Nico.
CC: (none) => nicolas.salguero
Hi Nico Would it not be a good idea to have that dependency included in task-lxde-minimal instead of task-lxde? Because in Mageia i.e MCC is a flagship component, and documentation - also for new users - expect it to just work to click it. For using as fallback for another DE on a small device, full task-lxde is not wanted. (In reply to Aurelien Oudelet from comment #1) > Running "mcc" from a CLI while under a X/Wayland session should open a GUI > polkit-agent asking you for password. Have not tested in wayland > > Running "mcc" from a tty should ask you for password at prompt and should > run ncurses version of MCC. That could be a workaround, but do not work: When logged in as user "live" in either the text terminal found at i.e Ctrl-Alt-F2 or using LXTerminal, i get the no sesson for coocie error as seen in comment #0.
(In reply to Morgan Leijström from comment #4) > Would it not be a good idea to have that dependency included in > task-lxde-minimal instead of task-lxde? task-lxde-8-3.mga8 move lxpolkit dependency from task-lxde to task-lxde-minimal
Verified fixed in Cauldron on a live persistent system install: task-lxde-minimal update pulls in lxpolkit. MCC is started both from icon and by entering "mcc" as live user in lxterminal, it dont ask for user password, probably as intended for live user.
Version: Cauldron => 7Whiteboard: MGA7TOO => (none)
Whiteboard: (none) => Fixed in task-lxde-8-3.mga8
CC: (none) => wilcal.int
See Also: https://bugs.mageia.org/show_bug.cgi?id=27585 => (none)
Pinging this for mga7.
Suggested advisory: ======================== The updated packages fix a packaging issue: lxpolkit should be a dependency of task-lxde-minimal rather than task-lxde otherwise, when installing only task-lxde-minimal, a polkit agent is missing to be able to launch Mageia Control Centre, for instance. References: https://bugs.mageia.org/show_bug.cgi?id=27574 ======================== Updated packages in core/updates_testing: ======================== task-lxde-7-1.1.mga7 task-lxde-minimal-7-1.1.mga7 from SRPM: task-lxde-7-1.1.mga7.src.rpm
Keywords: Triaged => (none)Assignee: mageia => qa-bugsWhiteboard: Fixed in task-lxde-8-3.mga8 => (none)Status: NEW => ASSIGNEDSource RPM: (none) => task-lxde-7-1.mga7.src.rpm
MGA7-64 LXDE on Peaq C1011 This notebook had no LXDE before, so just seeing the title on this bug, I installed task-lxde from MATE, logged out, logged in to LXDE: OK (of course). Installed the new version of the two packages, and only then read about the original problem, which of course I couldn't replicate anymore. Anyway, logged out, logged in again, and all seems OK. File types tested like odt, ods, odp, odb, internet access, access to NFS-shares. Waiting for others to confirm.
CC: (none) => herman.viaene
Thank you Nicolas. Yes Herman, at least you proved it did not get destroyed :) I will try in a few hours mga7-32 on persistent USB stick.
Fixed, thanks :) Repeated old experiment, using 32 bit Xfce persistent live: 1) Full normal update. Only desktop ever installed is default Xfce. 2) Lnstalled task-lxde-minimal, disabled autologin, reboot 3) Loged into lxde 4) Found MCC icon nonresponsive 5) Enabled updates testing and updated task-lxde-minimal, which pulled in lxpolkit 6) Logged out and in again 7) MCC icon works
Keywords: (none) => validated_updateWhiteboard: (none) => MGA7-32-OKCC: (none) => sysadmin-bugs
Advisory pushed to SVN.
Keywords: (none) => advisoryCC: (none) => ouaurelien
An update for this issue has been pushed to the Mageia Updates repository. https://advisories.mageia.org/MGAA-2020-0236.html
Resolution: (none) => FIXEDStatus: ASSIGNED => RESOLVED