Bug 13247 - XFCE 'Configure Your Computer' panel launcher run permissions
Summary: XFCE 'Configure Your Computer' panel launcher run permissions
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: 4
Hardware: i586 Linux
Priority: Normal normal
Target Milestone: ---
Assignee: QA Team
QA Contact:
URL:
Whiteboard: advisory mga4-32-ok MGA4-64-OK
Keywords: validated_update
Depends on:
Blocks:
 
Reported: 2014-04-21 23:23 CEST by Tommy Pyatt
Modified: 2014-04-28 18:01 CEST (History)
4 users (show)

See Also:
Source RPM:
CVE:
Status comment:


Attachments

Description Tommy Pyatt 2014-04-21 23:23:50 CEST
I installed KDE first, and then installed XFCE. I suspect that is probably related to this issue.

I noticed is that the 'Configure Your Computer' launcher in the panel is a shortcut for 'drakconf'. This launcher does nothing when clicked. Running drakconf from the command line I am presented with an authentication request, and so can start the application successfully.

I am not sure yet if Mageia has an equivalent of Ubuntu's 'gksudo', or how this launcher would react if I had installed XFCE initially.
Comment 1 Tommy Pyatt 2014-04-21 23:41:17 CEST
This also seems to affect 'Install & Remove Software' in the launcher. I can't view the command to open this by right clicking, so for now the only way I can install software in XFCE is via the command line.
Comment 2 Jani Välimaa 2014-04-22 17:57:58 CEST
Have you enabled "Launch KDE services on startup" setting in Advanced tab in Xfce's Session and Startup settings? KDE's Polkit agent doesn't autostart in other DEs than KDE.

If enabling this option doesn't help, install pkg 'mate-polkit' and restart your Xfce session.

I guess we should explicitly require mate-polkit instead of polkit-agent in Xfce to get working polkit agent OOTB.

CC: (none) => jani.valimaa

Comment 3 Jani Välimaa 2014-04-22 18:23:30 CEST
Pushed new release of xfce4-session [1] to core/updates_testing which changes require from general polkit-agent to explicit mate-polkit. Please test if it fixes your issue.

If you already have installed mate-polkit, please remove it before installing new xfce4-session from core/updates_testing.

Test case for QA:
1. Install Xfce with polkit-kde-agent-1 instead of mate-polkit (or replace mate-polkit with it).
2. Launc Xfce session
3. Try to launch rpmdrake or mcc from panel/app menu.
4. See apps not launching and errors in ~/.xsession-errors
5. Install updated xfce4-session from core/updates_testing which should also pull mate-polkit.
6. Logout and relogin to Xfce session.
7. Repeat step 3.

[1] xfce4-session-4.10.1-6.2.mga4

Assignee: bugsquad => qa-bugs

Comment 4 Tommy Pyatt 2014-04-22 23:36:34 CEST
Confirmed. The issue is no longer present after updating xfce4-session from core/updates_testing.

Do I set this to resolved now or does it need to go through QA first?
Comment 5 claire robinson 2014-04-23 08:08:43 CEST
Your testing is part of the QA Tommy, thanks, which architecture (i586 or x86_64) did you test with please?
Comment 6 Tommy Pyatt 2014-04-23 09:54:28 CEST
I tested with i586.
Comment 7 Tommy Pyatt 2014-04-23 09:56:33 CEST
Setting resolved.

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

Comment 8 claire robinson 2014-04-23 10:44:24 CEST
It's not resolved until testing is completed on the other architecture aswell and it has been pushed as an update Tommy. Thanks for you help.

Status: RESOLVED => REOPENED
Resolution: FIXED => (none)
Whiteboard: (none) => mga4-32-ok

Comment 9 Tommy Pyatt 2014-04-23 10:52:34 CEST
Apologies. Thanks for explaining.
Comment 10 claire robinson 2014-04-23 10:54:19 CEST
No problem :) There is more information here if you'd like to get more involved

https://wiki.mageia.org/en/QA_Team
Comment 11 Lewis Smith 2014-04-24 20:31:51 CEST
Tested OK MGA4 64-bit real hardware

Already had KDE, Mate, LXDE installed. Added XFCE from Core Release. This lot included both _polkit-kde-agent-1_ & _mate-polkit_ so all cited application launchers worked. Removing as per Comment 3 _mate-polkit_ also took with it Mate & LXDE desktops...
but using XFCE without _mate-polkit_ none of the application launchers:
- Mageia Control Centre taskbar icon
- menu Add/Remove software
- menu Tools/System Tools/Mageia Control Centre
did anything; as described.

Updated from Core Updates Testing
 xfce4-session-4.10.1-6.2.mga4
which also pulled back 
 mate-polkit-1.6.1-2.mga4
Log out/in with XFCE, the application launchers noted produced their password dialogues then worked OK.

CC: (none) => lewyssmith
Whiteboard: mga4-32-ok => mga4-32-ok MGA4-64-OK

Comment 12 claire robinson 2014-04-28 17:38:52 CEST
Validating. 13247.adv added to svn.

No advisory text provided, added as..

+  This adds a specific require of mate-polkit to xfce4-session, replacing the 
+  more general polkit-agent. With other polkit packages Mageia Control Centre 
+  or rpmdrake cannot not be launched in XFCE.

Could sysadmin please push to 4 updates

Thank

Keywords: (none) => validated_update
Whiteboard: mga4-32-ok MGA4-64-OK => advisory mga4-32-ok MGA4-64-OK
CC: (none) => sysadmin-bugs

Comment 13 Damien Lallement 2014-04-28 18:01:14 CEST
http://advisories.mageia.org/MGAA-2014-0108.html

Status: REOPENED => RESOLVED
CC: (none) => mageia
Resolution: (none) => FIXED


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