Description of problem: When starting the configuration tools (drakconf, drakrpm, etc.) in E17, an error message is displayed and the tools doesn't start: Enlightenment was unable to run the application: /usr/bin/drakrpm The application failed to start. The tools work when started from the terminal. In this case, I am asked to enter the root password, and after that everything works as expected. Steps to Reproduce: Simply start one the configuration tools from the E17 menu. Reproducible: Steps to Reproduce:
CC: (none) => razvan.rotaru
is a polkit agent running (ps uax | grep polkit)?
Hmm, polkitd is running. I don't know if this is the agent. polkitd 912 0.0 0.0 365052 8724 ? Ssl 18:38 0:00 /usr/lib/polkit-1/polkitd --no-debug
So, any ideas how to investigate this problem further?
same issue as described here: 11184 *** This bug has been marked as a duplicate of bug 11184 ***
Status: NEW => RESOLVEDCC: (none) => marc.lattemannResolution: (none) => DUPLICATE
No, this is not the same issue. You are likely not running a polkit *agent* (as asked in comment 1. Polkit authentication needs two parts: the daemon that implements the actual policy and does the check and an agent that allows for the passing of the authentication details to this daemon. Typically a desktop environment will provide it's own polkit agent (e.g. in gnome (and I think cinnamon too) it's built in to the shell, kde has it's agent, lxde has lxpolkit etc. etc.). I don't know what the "recommended" one for Enlightenment is, but we often fall back to mate-polkit so try installing that package and running that agent to see if it works (otherwise you can try and work out what polkit agent E is supposed to have and use that (either of which might then lead us to adding some missing deps).
Status: RESOLVED => REOPENEDCC: (none) => mageiaResolution: DUPLICATE => (none)
OK, so looking at your other comment on #11184, you do have mate-polkit installed but it's likely not running. This means we have to patch it's autostart file /etc/xdg/autostart/polkit-mate-authentication-agent-1.desktop to also start under Enlightenment. At present it says: OnlyShowIn=MATE;XFCE;OPENBOX;Old; So we have to work out what E presents itself as there so that it can process the autostart stuff properly. If someone can work out what value to put in here to make it start in E I can patch the package. Longer term, it would be nicer to package an EFL based polkit agent. I know there is one available as it's packaged in Arch, but not sure what state it's in https://wiki.archlinux.org/index.php/Enlightenment#Polkit_agent
Thanks Colin for the clarification on the polkit daemon/agent stuff. I'm always keen on learning... According to the instructions from your link, I could manage to activate the polkit-agent and it started after new login and also the mcc starts from the menu. [marc@Cauldron ~]$ ps aux | grep polkit polkitd 2094 0.0 0.6 375576 13180 ? Ssl 19:35 0:00 /usr/lib/polki -1/polkitd --no-debug marc 2531 0.0 1.1 432276 23036 ? SNsl 19:47 0:00 /usr/libexec/polkit-mate-authentication-agent-1 In the next step I will try to check the .desktop file
adding of polkit-mate-authentication-agent-1 into the autostart of enlightning seems to fix the issue: [marc@Cauldron ~]$ echo "/etc/xdg/autostart/polkit-mate-authentication-agent-1.desktop" > .e/e/applications/startup/.order" after adding it to the .order file the polkit agent is running on startup of e and mmc starts from menu Maybe you can use it as patch?
In reply to Marc Lattemann from comment #8) > [marc@Cauldron ~]$ echo > "/etc/xdg/autostart/polkit-mate-authentication-agent-1.desktop" > > .e/e/applications/startup/.order" > > after adding it to the .order file the polkit agent is running on startup of > e and mmc starts from menu > > Maybe you can use it as patch? Not really, we have to do like Colin suggested: (In reply to Colin Guthrie from comment #6) > This means we have to patch it's autostart file > /etc/xdg/autostart/polkit-mate-authentication-agent-1.desktop to also start > under Enlightenment. At present it says: > > OnlyShowIn=MATE;XFCE;OPENBOX;Old; > > So we have to work out what E presents itself as there so that it can > process the autostart stuff properly. If someone can work out what value to > put in here to make it start in E I can patch the package. I'm currently experimenting by not extending OnlyShowIn, but by using NotShowIn=KDE;GNOME; which probably will achieve the same thing, but for more desktops. BTW, E presents itself as DESKTOP=Enlightenment-0.17.0 ... which seems to be some old leftover, as we have e18 stable, and e19 is latest stable.
CC: (none) => doktor5000
(In reply to Florian Hubold from comment #9) > I'm currently experimenting by not extending OnlyShowIn, but by using > NotShowIn=KDE;GNOME; which probably will achieve the same thing, but for > more desktops. Perhaps this is a better approach... might need to add Cinnamon in there, but IIRC it might still pretend to be GNOME (which is fundamentally broken and a *very* bad upstream choice if this is the case - I remember seeing super ugly code related to that in Cinnamon - ugg).
Seems e18 doesn't start anything from /etc/xdg/autostart directly. Reading some related threads, the recommended way seems to be echo "/etc/xdg/autostart/some-autostart-file.desktop" >> ~/.e/e/applications/startup/.order or use menu => settings => all => applications => autostart applications and add it there. Also found this bugreport/thread upstream where the question is answered: http://lists.enlightenment.fr/enlightenment-bugs/2009/04/0325.html (They've moved their bugtracker to https://phab.enlightenment.org but seems the old bugs do no exist there, or I'm too dumb to search). So we can only fix this via an Errata entry. Just added: https://wiki.mageia.org/en/Mageia_5_Errata#Mageia_tools_do_not_start_under_E18_due_to_missing_polkit_agent
Status: REOPENED => RESOLVEDResolution: (none) => WONTFIX