[Q] What's the difference between sudo and gksudo?
[digest]
"gksu is a frontend to su and gksudo is a frontend to sudo. Their
primary purpose is to run graphical commands that need root without
the need to run an X terminal emulator and using su directly."
"gksudo puts up a graphical password prompt, and won't mess up GUI logons when used to run graphical apps.
sudo is basically just a terminal version of gksudo. It doesn't understand X apps ..."
still confused???
--> example
"Using sudo with a graphical application does not work 100% of the time if you open an app using Alt-F2 for example if you if you press Alt-F2 and type: ... "
*** try "sudo synaptic" and "gksu synaptic"
"
There's absolutely no difference in Ubuntu because...
oli@bert:~$ ls -l /usr/bin/gksudo
lrwxrwxrwx 1 root root 4 2010-09-27 18:23 /usr/bin/gksudo -> gksu
...
"
[ref]
http://ubuntu-ky.ubuntuforums.org/showthread.php?t=1130412
http://ubuntuforums.org/archive/index.php/t-312823.html
https://lists.ubuntu.com/archives/ubuntu-studio-users/2007-September/000472.html
http://askubuntu.com/questions/21033/what-is-the-difference-between-gksudo-and-gksu
沒有留言:
張貼留言