lakinduakash / linux-wifi-hotspot

Feature-rich wifi hotspot creator for Linux which provides both GUI and command-line interface. It is also able to create a hotspot using the same wifi card which is connected to an AP already ( Similar to Windows 10).
BSD 2-Clause "Simplified" License
3.21k stars 295 forks source link

i need passwd to the gui #125

Closed GitGayPornHub closed 3 years ago

GitGayPornHub commented 3 years ago

Describe the bug A clear and concise description of what the bug is.

when i click the GUI ,then it shows Authentication is needed to run '/usr/bin/env' as the super user . and ask me to input passwd as root ,but i input my root passwd ,it always show me the wrong tips with "wrong passwd " i believe i use the correct passwd ,how can i do ?
To Reproduce Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior A clear and concise description of what you expected to happen.

Screenshots If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

Additional context Add any other context about the problem here.

lakinduakash commented 3 years ago

You should enter sudo password for the current user account. Otherwise, run as root ex: sudo wihotspot

niksingh710 commented 2 years ago

You should enter sudo password for the current user account. Otherwise, run as root ex: sudo wihotspot

What about Wayland ?? It does not allow to run GUI apps using Sudo It works with polkit but that asks password around 5 times and is kind of annoying.

sudo -E hotspot works but is there any other way? using river Wayland in arch