Bug 14910 - Plasma 5 desktop - unable to start MCC from the application menu
Summary: Plasma 5 desktop - unable to start MCC from the application menu
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: Cauldron
Hardware: i586 Linux
Priority: Normal normal
Target Milestone: ---
Assignee: Nicolas Lécureuil
QA Contact:
URL:
Whiteboard: MGA5TOO FOR_ERRATA
Keywords:
: 16040 (view as bug list)
Depends on:
Blocks:
 
Reported: 2014-12-29 22:36 CET by Jüri Ivask
Modified: 2015-08-13 11:18 CEST (History)
6 users (show)

See Also:
Source RPM:
CVE:
Status comment:


Attachments

Description Jüri Ivask 2014-12-29 22:36:13 CET
Description of problem: unable to start MCC from the application menu in Plasma 5 desktop

Steps to Reproduce:
1. Try to start Mageia Control Center from the Application menu
2. Nothing happens

It is possible to start MCC from the konsole - it asks root password and MCC starts correctly.


Reproducible: 

Steps to Reproduce:
Comment 1 David Walser 2014-12-30 00:45:55 CET
This means that a polkit agent isn't running.  KDE4 has one, I'm not sure what the status is in Plasma 5.

Assignee: bugsquad => mageia

Comment 2 Jüri Ivask 2015-01-01 20:46:05 CET
It seems that for kf5 polkit-qt-1 is used:

From: https://community.kde.org/Frameworks/Building/Details
"To build polkit-qt-1

 $ git clone git://anongit.kde.org/polkit-qt-1.git
 $ mkdir polkit-qt-1/build
 $ cd polkit-qt-1/build
 $ cmake -DCMAKE_INSTALL_PREFIX=$KF5 -DCMAKE_PREFIX_PATH=$KF5 ..
 $ make
 $ make install"

In Mageia there is polkit-qt-1-devel package and several polkit-qt-1 associated libraries, but package polkit-qt-1 itselt is missing...
Comment 3 Jüri Ivask 2015-01-01 21:40:03 CET
(In reply to Jüri Ivask from comment #2)
> ...but package polkit-qt-1 itselt is missing...

My mistake - polkit-qt-1 indeed contains only libraries and a dev package...
Comment 4 Jüri Ivask 2015-01-02 10:31:43 CET
But the kf5-polkit-kde-agent is existing:
git://anongit.kde.org/polkit-kde-agent-1.git#branch=frameworks
Comment 5 Ãlo Parri 2015-01-02 19:59:15 CET
polkit-kde-agent-1 can also be used by adding .desktop file to /etc/xdg/autostart (or ~/.config/autostart)

[Desktop Entry]
Name=PolicyKit Authentication Agent
Exec=/usr/lib64/kde4/libexec/polkit-kde-authentication-agent-1
Icon=exec
Terminal=false
Type=Application
Categories=
OnlyShowIn=KDE;
X-KDE-StartupNotify=false
X-KDE-autostart-phase=0
NoDisplay=true
X-DBUS-StartupType=Unique

For some reason polkit-kde-agent-1 does not have equivalent file while mate-polkit provides â/etc/xdg/autostart/polkit-mate-authentication-agent-1.desktop file. With OnlyShowIn=MATE;XFCE;OPENBOX;Old;

But using kf5 version with plasma 5 desktop would be better.

CC: (none) => yltsparri

Comment 6 Jüri Ivask 2015-01-06 19:33:00 CET
(In reply to Ãlo from comment #5)
> For some reason polkit-kde-agent-1 does not have equivalent file while
> mate-polkit provides
> â/etc/xdg/autostart/polkit-mate-authentication-agent-1.desktop file. With
> OnlyShowIn=MATE;XFCE;OPENBOX;Old;

Editing the last line to:
OnlyShowIn=MATE;XFCE;OPENBOX;KDE;Old;
seems to make mate-polkit-agent to work in Plasma 5.

Now it is possible to edit connections in plasma5-applet-nm :)
Comment 7 Filipe Saraiva 2015-01-22 16:35:49 CET
I can to reproduce this problem too.

CC: (none) => filipesaraiva

papoteur 2015-02-09 14:05:47 CET

See Also: (none) => https://bugs.mageia.org/show_bug.cgi?id=15236

Comment 8 Mårten Ström 2015-03-18 18:08:28 CET
cant open in mga5 beta3 on a 64 bit system. works fine opening from konsolle

CC: (none) => mageiasv

Comment 9 Otto Leipälä 2015-03-19 08:06:19 CET
Plasma 5.2 have polkit-kde so we could solve this problem already but plasma 5.2 newer build to cauldron and now it's too late to include it in Mageia 5.

http://koji.fedoraproject.org/koji/buildinfo?buildID=616053

https://www.kde.org/announcements/plasma-5.2.0.php

CC: (none) => ozkyster

Comment 10 Otto Leipälä 2015-03-29 12:07:01 CEST
(In reply to Ãlo from comment #5)
> polkit-kde-agent-1 can also be used by adding .desktop file to
> /etc/xdg/autostart (or ~/.config/autostart)
> 
> [Desktop Entry]
> Name=PolicyKit Authentication Agent
> Exec=/usr/lib64/kde4/libexec/polkit-kde-authentication-agent-1
> Icon=exec
> Terminal=false
> Type=Application
> Categories=
> OnlyShowIn=KDE;
> X-KDE-StartupNotify=false
> X-KDE-autostart-phase=0
> NoDisplay=true
> X-DBUS-StartupType=Unique
> 
> For some reason polkit-kde-agent-1 does not have equivalent file while
> mate-polkit provides
> â/etc/xdg/autostart/polkit-mate-authentication-agent-1.desktop file. With
> OnlyShowIn=MATE;XFCE;OPENBOX;Old;
> 
> But using kf5 version with plasma 5 desktop would be better.

As kde4 conflict with plasma 5 you can't install kde4 polkit agent to plasma 5 so only what works is mate and kf5 polkit agent.
Comment 11 Rémi Verschelde 2015-05-27 20:31:50 CEST
*** Bug 16040 has been marked as a duplicate of this bug. ***

CC: (none) => bjarne.thomsen

Samuel Verschelde 2015-06-06 16:55:43 CEST

Whiteboard: (none) => MGA5TOO FOR_ERRATA

Comment 12 Jüri Ivask 2015-07-13 17:04:44 CEST
Bug still valid with plasma desktop 5.3.2 default install using task-plasma5.
However, polkit-kde-agent-1 package is now available and and installable and I guess, should just be added as a dependency to according Plasma5 metapackage.
Comment 13 Ben McMonagle 2015-08-10 10:12:59 CEST
for both Cauldron i586 and x86 systems.
muti De : lxde, xfce, mate + cinnamon MCC and updater applet ask for required password when invoked.

Plasma5 DE  does not request password for either MCC or updater applet when invoked, same systems.

KDE(4) has not been installed on these systems

CC: (none) => westel

Comment 14 Jüri Ivask 2015-08-11 16:45:49 CEST
Workaround is to install the package polkit-kde-agent-1 yourself.

Nicolas, while you are upgrading Plasma 5 to 5.4beta - could you also add the polkit as a dependency to corresponding Plasma 5 metapackage? :)
Comment 15 Jüri Ivask 2015-08-13 11:18:28 CEST
Did a fresh network install of Cauldron -> Minimal install with X -> urpmi sddm task-plasma5. Package polkit-kde-agent-1 was installed during the installation - so it seems that the bug is fixed in august 12th KF 5.13 & Plasma 5.4beta update.

Status: NEW => RESOLVED
Resolution: (none) => FIXED


Note You need to log in before you can comment on or make changes to this bug.