Wednesday, May 1, 2024
4
rated 0 times [  4] [ 0]  / answers: 1 / hits: 1819  / 1 Year ago, wed, december 28, 2022, 5:32:26

I'm running 12.04, latest updates.
when I use gksu in the menu to start a application the prompt for password doesn't appear and the application starts with user priviledges.
If I use gksu from commmand line everything works just fine.



I need to create a shortcut:
enter image description here



Any idea?


More From » authentication

 Answers
4

Press Alt + F2 then write : gksu-properties and open it.



The first option should be "sudo"



Authentication mode: sudo



and change the second option from "enable" to "force enable".



Grab mode : force enable



enter image description here



Then retry to open an application with gksu



You can also try the gksudo instead of gksu



Maybe gksudo works better.



Also you can try to create a new launcher



Open a terminal and issue the following commands



sudo apt-get install --no-install-recommends gnome-panel
gnome-desktop-item-edit ~/.local/share/applications/ --create-new


At the opened window complete the appropriate sections



enter image description here



Name: wireshark-root



Command: gksudo wireshark



Comment: anything you want



Find the new launcher and try to open it.



Alternatively you can try to replace the Command: gksudo wireshark



with Command: gksudo wireshark &



maybe the ampersand & helps here.


[#32591] Friday, December 30, 2022, 1 Year  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
bsorbedeldy

Total Points: 315
Total Questions: 110
Total Answers: 108

Location: Reunion
Member since Mon, Dec 28, 2020
3 Years ago
;