[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Editing the DNS with Network Manager Non Root



David Christensen <dpchrist@holgerdanske.com> writes:

> On 5/14/22 05:57, Richmond wrote:
>> <tomas@tuxteam.de> writes:
>> 
>>> On Sat, May 14, 2022 at 10:50:46AM +0100, Richmond wrote:
>>>> Richmond <richmond@criptext.com> writes:
>>>>
>>>>> David Christensen <dpchrist@holgerdanske.com> writes:
>>>
>>> [...]
>>>
>>>>> I expect there is some component of xfce4 which is supposed to
>>>>> prompt for the root password. Perhaps it is not installed. I don't
>>>>> know what it is called.
>>>>
>>>> Is there a debian package for this? :
>>>>
>>>> https://aur.archlinux.org/packages/xfce-polkit
>>>>
>>>> "A simple PolicyKit authentication agent for XFCE"
>>>
>>> There seem to be several options [1]. Gksu, some polkit thingy...
>>> Blame my search engine if it fails ;-)
>>>
>>>
>>> Cheers
>>>
>>> [1] https://forum.xfce.org/viewtopic.php?id=11728 Gksu is a frontend
>> for su which a developer would apply to an app as I understand it. I
>> am dealing with an applet, so I cannot edit its icon and put a
>> wrapper in.  Some polkit thingy would be xfce-polkit I think, but I
>> found no debian package.
>
>
> I do not see a package specifically for Xfce, but I do see one for
> MATE:
>
> 2022-05-14 15:11:15 root@laalaa ~ # apt-cache search policy kit | sort
> | grep polkit gir1.2-polkit-1.0 - GObject introspection data for
> PolicyKit libpolkit-agent-1-0 - PolicyKit Authentication Agent API
> libpolkit-agent-1-dev - PolicyKit Authentication Agent API -
> development files libpolkit-gobject-1-0 - PolicyKit Authorization API
> libpolkit-gobject-1-dev - PolicyKit Authorization API - development
> files libpolkit-qt5-1-1 - PolicyKit-qt5-1 library libpolkit-qt5-1-dev
> - PolicyKit-qt5-1 development files lxpolkit - LXDE PolicyKit
> authentication agent mate-polkit - MATE authentication agent for
> PolicyKit-1 mate-polkit-bin - MATE authentication agent for
> PolicyKit-1 (executable wrapper script) mate-polkit-common - MATE
> authentication agent for PolicyKit-1 (common files) polkit-kde-agent-1
> - KDE dialogs for PolicyKit ukui-polkit - UKUI authentication agent
> for PolicyKit-1
>
>
>
> My Debian 11 Xfce has the following, installed by
> debian-11.3.0-amd64-netinst.iso:
>
> 2022-05-14 15:13:47 root@laalaa ~ # dpkg-query -l '*polkit*'
> Desired=Unknown/Install/Remove/Purge/Hold
> |
>   Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
> |/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad) ||/ Name
> Version Architecture Description
> +++-===========================-================-============-=================>
> ii gir1.2-polkit-1.0 0.105-31+deb11u1 amd64 GObject
> introspec>
> un gir1.2-polkitagent-1.0 <none> <none> (no description a> ii
> libpolkit-agent-1-0:amd64 0.105-31+deb11u1 amd64 PolicyKit Authent> ii
> libpolkit-gobject-1-0:amd64 0.105-31+deb11u1 amd64 PolicyKit Authori>
> un polkit-1-auth-agent <none> <none> (no description a>


I got it working! that's the good news, the bad news is I am not sure
how. I installed all the packages above (except polkit-1-auth-agent
which seems to be an unreal package) but it still didn't work. Then I
went into synaptic (which incidentally did not prompt for a password)
and searched for xfce and found some packages relating to the panel
which were not installed, nor part of the xfce meta package. Also I
installed policykit-1-gnome which unfortunately doesn't come up on
searches for polkit. I think this last one may be the culprit but not
sure.

Thanks for your help, and the others.


Reply to: