– Please Write here your help request –
I connecting to my Parrot OS 6.2 using XRDP.
my user is in the root-groups
When i click on the network-icon i received the popup in the screenshot.
I tried different thinks wich i found online. but nothing works.
like this:
If you want to scan wifi networks from a terminal, you would have to use sudo, i.e. a superuser, so it is expected that you would be asked for your superuser password to escalate privileges.
Are you installed on a pi, or is that the username?
It should be the password you chose at install time.
hi @Fred_Sheehan,
sorry for my bad explanation. My goal is to deactivate that popup. It appears always, when i click to network settings and this is annoying.
Yes it is installed on a pi and password is working.
As its a Pi i’d imagine your connecting remotely to it, and that causes polkit to have issues. You will need to add your user to the polkit group to prevent the pop ups;
sudo vim /etc/polkit-1/rules.d/allow-network-scans.rules
Paste the following content, replacing the username you want to allow scans for.
If you set up and connect via ssh as you might for admin purposes anyway, you have no issues.
Polkit only becomes a problem when you want to use RDP for that graphical desktop, by default remote users have no permissions to control anything with polkit.
You have to be careful not to be too liberal with polkit rules for remote access though, else it can leave a system very vulnerable. More systemd poettering nonsense…