Results 1 to 4 of 4

Thread: What is a polkit agent?

  1. #1
    Join Date
    Dec 2007
    Beans
    12,046

    What is a polkit agent?

    Please see Julien's response at the bottom of this link: "be sure to have policykit-desktop-privileges package
    installed and a polkit agent running. That's may fix strange permissions
    problems.
    "

    I have policykit-desktop-privileges installed:

    Code:
    $ apt-cache policy policykit-desktop-privileges
    policykit-desktop-privileges:
      Installed: 0.16
      Candidate: 0.16
      Version table:
     *** 0.16 0
            500 http://archive.ubuntu.com/ubuntu/ saucy/main amd64 Packages
            100 /var/lib/dpkg/status
    $
    But how do I find out about whether or not I have "a polkit agent running"? I just see
    Code:
    $ pgrep -l agent
    1145 ssh-agent
    $
    I don't have any permission problems (that I know of) but I'm curious about this polkit agent business. I ran the pgrep command in an Openbox session (no desktop session, no gnome-settings daemon).

  2. #2
    Join Date
    Dec 2007
    Beans
    12,046

    Re: What is a polkit agent?

    After a little digging I found I have
    Code:
    root       620     1  0 15:35 ?        00:00:00 /usr/lib/policykit-1/polkitd --no-debug
    Maybe that's the "agent"?

  3. #3
    Join Date
    Jun 2007
    Location
    Arizona U.S.A.
    Beans
    3,514

    Re: What is a polkit agent?

    [from Arch Linux Wiki] Authentication agents

    An authentication agent is used to make the user of a session prove that the user of the session really is the user (by authenticating as the user) or an administrative user (by authenticating as an administrator). The polkit package contains a textual authentication agent called 'pkttyagent', which is used as a general fallback.

    If you are using a graphical environment, make sure that a graphical authentication agent installed and autostarted. Cinnamon, GNOME, MATE, KDE and LXDE have an authentication agent already.
    I believe the authentication agent service we use is provided by policykit-1-gnome and it displays the authentication dialogs when needed, polkitd being the daemon part which runs in the background, keeping watch.

  4. #4
    Join Date
    Dec 2007
    Beans
    12,046

    Re: What is a polkit agent?

    Quote Originally Posted by Dennis N View Post
    I believe the authentication agent service we use is provided by policykit-1-gnome and it displays the authentication dialogs when needed, polkitd being the daemon part which runs in the background, keeping watch.
    Thanks for responding!

    As the image shows, I have policykit-1-gnome as well and I see no problems when running gksudo leafpad (which I rarely do). So even though I'm using an Openbox session, it looks like things are being taken care of.

    I forgot to mention that I think I needed to do this for some reason:
    Code:
    Start-Date: 2014-01-29  16:49:35
    Commandline: apt-get install policykit-desktop-privileges
    Install: policykit-desktop-privileges:amd64 (0.16)
    End-Date: 2014-01-29  16:49:37
    It wasn't installed by default. I think I read about its function in a mailing list post by Julien. I'll link here if I find it.

    Found it: https://lists.ubuntu.com/archives/lu...er/002875.html
    Attached Images Attached Images
    Last edited by vasa1; March 19th, 2014 at 06:55 AM.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •