Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 03-04-2018, 08:21 AM   #1
LQ Newbie
Registered: Mar 2018
Distribution: Slackware
Posts: 2

Rep: Reputation: Disabled
Polkit-gnome user session


I install Trinity on my Slackware and now I need to run polkit-gnome-agent in a user session. This works fine if you load gnome-agent through sudo, but when I try to run it under my user I get the error:

abc1@slackware:~$ /usr/libexec/polkit-gnome-authentication-agent-1

** (polkit-gnome-authentication-agent-1:15124): WARNING **: Unable to register authentication agent: GDBus.Errorrg.freedesktop.PolicyKit1.Error.Failed: User of caller and user of subject differs.
Cannot register authentication agent: GDBus.Errorrg.freedesktop.PolicyKit1.Error.Failed: User of caller and user of subject differs.
i checked the rights to the polkit configuration scripts, it looks like:

abc1@slackware:~$ sudo ls -l /etc/polkit-1/rules.d/
итого 12
-rw-r--r-- 1 polkitd root 189 мар 26 2016 10-org.freedesktop.NetworkManager.rules
-rw-r--r-- 1 polkitd root 461 мар 26 2016 20-plugdev-group-mount-override.rules
-rw-r--r-- 1 polkitd root 324 мар 26 2016 50-default.rules
this should work, but I do not know what might be wrong
Old 03-05-2018, 07:11 PM   #2
LQ Guru
Registered: Mar 2004
Distribution: Slackware
Posts: 6,156

Rep: Reputation: 698Reputation: 698Reputation: 698Reputation: 698Reputation: 698Reputation: 698
Do you have a link to Trinity package?

Also are you sure polkit-gnome-authentication-agent-1 is not already running?
ps -ef | grep [p]olkit


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] polkit-gnome prompt for root password? mshlinux Linux - Newbie 2 10-13-2016 11:03 PM
LXer: Those Polkit/PolicyKit XML files a pain to view? Polkit Explorer now avaiable... LXer Syndicated Linux News 0 03-31-2013 03:42 PM
LXer: KDE extends Polkit support to polkit-1 LXer Syndicated Linux News 0 12-26-2009 12:00 PM
Start gnome session for user at remote box. bubnoff Linux - General 8 07-27-2009 01:07 AM
To restart user session.Gnome environment rubendarioportillo Linux - Enterprise 2 10-31-2005 11:43 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 11:36 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration