Announcement

Collapse
No announcement yet.

-pkexec

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    -pkexec

    The command 'synaptic-pkexec' does work in kubuntu 18.10
    The command 'gparted-pkexec' does not work ('gparted' does)

    The command 'gparted=pkexec' does work in debian LXDE and in ubuntu (i think)
    Why does this command not work in kubuntu 18.10?

    #2
    I don't know the answers but why not use KDE Partition Manager instead of gparted and Muon instead of Synaptic Package Manager? Both will prompt you for your password: the first immediately and the second when you want to do something requiring elevated privileges.
    Kubuntu 20.04

    Comment


      #3
      I just wonder:
      why does the command 'gparted-pkexec' work in LXDE but not in KDE
      why does the command 'synaptic-pkexec' work in LXDE and also in KDE

      Comment


        #4
        using synaptic-pkexec is working here for me.
        it ;looks like gparted need to be run like so : 'pkexec gparted'

        Dunno why pkexec is desired, as both prompt for a password when run anyway.

        What exactly does 'does not work' mean? is there an error message?

        Comment


          #5
          Originally posted by v7peer View Post
          I just wonder:
          why does the command 'gparted-pkexec' work in LXDE but not in KDE
          why does the command 'synaptic-pkexec' work in LXDE and also in KDE
          probably because they are using different Policykit authenticator agents (the password box)? LXDE's is Gtk2(as is Synaptic), I wonder which way the command works in Gnome (gtk3?)

          Comment


            #6
            The "gparted" package in 18.04+ does not install "/usr/bin/gparted-pkexec" executable (I think that it is/was a script wrapper for essentially running "pkexec gparted")...the "synaptic" package includes the executable "/usr/bin/synaptic-pkexec".

            I'm guessing that the gparted package in Debian LXDE still installs gparted-pkexec, which would explain the difference.

            Comment


              #7
              ok, thanks for the informative replies

              Comment

              Working...
              X