Page 1 of 1

sudo vs. gksu in Ubuntu

Posted: Fri Jan 13, 2012 3:09 am
by Saman
Have you ever found that there is a clear difference in using sudo and gksudo?
I also thoguht both are same for a long time until recently. However in most cases this difference has no effect.

When you launch graphical applications with sudo, those are launched with root privileges but with user's configuration file. However when you use gksudo, it launches them correctly with root's configuration file.

If I simply the answer, lauch graphical applications with gksudo and terminal ones with sudo.