Bug 1726283 - xfce-polkit fails to launch
Summary: xfce-polkit fails to launch
Keywords:
Status: ASSIGNED
Alias: None
Product: Fedora EPEL
Classification: Fedora
Component: xfce-polkit
Version: epel7
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Kevin Fenzi
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-07-02 13:29 UTC by Joseph Nahmias
Modified: 2022-07-08 11:05 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed:
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Joseph Nahmias 2019-07-02 13:29:34 UTC
User-Agent:       Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:60.0) Gecko/20100101 Firefox/60.0
Build Identifier: 

I have a new RHEL 7.6 server which I have configured with the epel repo. I have set up Xrdp and xfce on this server.  Now, when I connect via RDP, the desktop launches properly; however, xfce-polkit always just gives a blank error dialog.

When I run it from a terminal window, this is what I get:

$ /usr/libexec/xfce-polkit

** (xfce-polkit:2512): CRITICAL **: 09:20:52.415: polkit_agent_listener_register_with_options: assertion 'POLKIT_IS_SUBJECT (subject)' failed

(xfce-polkit:2512): GLib-GObject-CRITICAL **: 09:20:55.982: g_object_unref: assertion 'G_IS_OBJECT (object)' failed


Reproducible: Always

Steps to Reproduce:
1. Log in to the system
or
2. Run /usr/libexec/xfce-polkit


Actual Results:  
Error.

Expected Results:  
No Errors.

$ rpm -qi xfce-polkit
Name        : xfce-polkit
Version     : 0.2
Release     : 8.el7
Architecture: x86_64
Install Date: Mon 01 Jul 2019 03:33:23 PM EDT
Group       : Unspecified
Size        : 38735
License     : GPLv2+
Signature   : RSA/SHA256, Sat 09 Jul 2016 02:06:25 PM EDT, Key ID 6a2faea2352c64e5
Source RPM  : xfce-polkit-0.2-8.el7.src.rpm
Build Date  : Thu 07 Jul 2016 12:33:40 PM EDT
Build Host  : buildvm-20.phx2.fedoraproject.org
Relocations : (not relocatable)
Packager    : Fedora Project
Vendor      : Fedora Project
URL         : https://github.com/ncopa/xfce-polkit
Summary     : Simple PolicyKit authentication agent for Xfce
Description :
Simple PolicyKit authentication agent for Xfce.

Comment 2 Jan Rybar 2019-07-02 14:19:22 UTC
Hello,

since xfce-polkit is really not a part of RHEL shipped and is not maintained by Polkit Devel team, I cannot guarantee you a correct answer.
Try to find out if another polkit agent isn't running, e.g. polkit-gnome. If yes, kill them all, then try again. If that doesn't help, try uninstalling them (polkit-gnome, polkit-kde, polkit-qt etc.) and reinstalling xfce-polkit, as there can be only one agent initiated by the session manager (also binaries in /usr/libexec are not supposed to be run by users)

Anyway moving this BZ to responsible maintainer.

Thank you.
Jan Rybar

Comment 3 Joseph Nahmias 2019-07-02 18:26:15 UTC
I don't see any other agents running, just polkitd.

$ ps -ef | grep [p]olkit
polkitd  14438     1  0 Jul01 ?        00:00:02 /usr/lib/polkit-1/polkitd --no-debug

Comment 4 Joseph Nahmias 2019-07-17 19:56:19 UTC
Bump.  Any advice on this issue?

Comment 5 Kevin Fenzi 2019-07-17 22:18:31 UTC
I'm afraid not. Does it work as expected if you login directly to the console? Or is this a headless machine?

Comment 6 Raphael Groner 2019-07-25 01:42:52 UTC
> I have a new RHEL 7.6 server which I have configured with the epel repo.
> I have set up Xrdp and xfce on this server.

Do we support this kind of combination? My assumption is xfce4-polkit is not of much usefulness without the other Xfce elements. Please try to install a full Xfce desktop and reproduce.


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