2022-10-04

Debian Fix

 

Linux is not very friendly, especially when you need to troubleshoot system problems, here are the common problems you may encounter



 

 


- System policy prevents WiFi scans

Cause: Apparently this is due to manually installing the xRDP package in Linux.

solution:
create a pkla file (under /etc/polkit-1/localauthority/50-local-d) and populate it with the following info...


  GNU nano 5.4                 47-allow-wifi-scan.pkla
[Allow Wifi Scan]
Identity=unix-user:*
Action=org.freedesktop.NetworkManager.wifi.scan;org.freedesktop.NetworkManager.enable-disable-wifi;org.freedesktop.NetworkManager.settings.modify.own;org.freedesktop.NetworkManager.settings.modify.system;org.freedesktop.NetworkManager.network-control
ResultAny=yes
ResultInactive=yes
ResultActive=yes


- su command but authentication failure

cause:
Since Ubuntu doesn't set a root password by default, you can't use it to become root.

solution:
Instead, to become root, use sudo -i with your personal password.

 

Share:

0 comments:

Post a Comment