Linked Questions
10 questions linked to/from How to get GUI sudo password prompt without command line?
0
votes
1
answer
697
views
Run SH file, open dialog for sudo [duplicate]
I'm writing a .sh file which should open monodevelop in root mode. I don't want a terminal to be used for it since it has to stay open.
Now, what I currently got:
#!/bin/bash
sudo monodevelop
Now I ...
2
votes
1
answer
262
views
Can I execute a program with a sudo command through a shortcut? [duplicate]
I've created a file containing these two lines of code:
#!/bin/sh
sudo sh -c "sync; echo 3 > /proc/sys/vm/drop_caches"
I have ticked (from 'properties') the appropriate box to run the file as a ...
1
vote
1
answer
493
views
Pass sudo command from GUI [duplicate]
I have a shell script using some sudo command. When I run this script from terminal - it asks me for password and runs with any problem. But when I try to run executable shell script form GUI (double ...
243
votes
14
answers
1.5m
views
How do you run Ubuntu Server with a GUI?
Trying to run a Ubuntu server for the first time... But everything is in a terminal. Is there a way to switch to a GUI?
130
votes
3
answers
36k
views
Why should users never use normal sudo to start graphical applications?
I've read the comunity "RootSudo" documentation and am interested in this line:
You should never use normal sudo to start graphical applications as Root.
Why? What is the difference? Please ...
59
votes
3
answers
20k
views
What is the difference between gksudo and gksu?
Is there any difference between the behavior of gksu foo and gksudo foo?
Can they be used interchangeably?
86
votes
3
answers
37k
views
When to use pkexec vs. gksu/gksudo?
There are two general ways to run applications graphically as root (or, more generally, as another user). Programs like gksu, gksudo, and kdesudo are graphical frontends for sudo. In contrast, pkexec ...
11
votes
1
answer
29k
views
"Command 'gksu' not found" error on Ubuntu 18.04 [duplicate]
While running
gksu gedit /etc/udev/rules.d/somefile.rules
I am getting this suggestion.
Command 'gksu' not found, did you mean:
command 'gosu' from deb gosu
command 'ksu' from deb heimdal-...
11
votes
1
answer
7k
views
Why is pkexec preferred over gksudo for graphical applications?
Please provide Ubuntu documentation that refutes this: https://help.ubuntu.com/community/RootSudo Why, on my fully updated 13.04 system, does pkexec not function?
$ pkexec gedit somefile.txt
No ...
2
votes
1
answer
2k
views
How to prompt for sudo password using GUI?
I have written a Python script that executes several sudo-requiring actions.
How can I make the script provide a GUI prompt for the sudo password when executed?
I've tried placing gksudo -s python ...