10 July 2011

why you should use gksudo or kdesudo instead of sudo to run graphical applications http://goo.gl/rJsUZ


These errors occur because sometimes when sudo launches an application, it launches with root privileges but uses the user's configuration file. For example, if you launch Firefox with the command
gksudo firefox
it uses root's Firefox configuration file. But if you launch Firefox with the command
sudo firefox
it runs with root privileges but uses the user's configuration file (in this case, you can see the homepage and theme are different).Change a few settings while launched as root, and you'll see if you dig into your Firefox profile that certain files are now owned by root.

via psychocats.net

No comments:

Post a Comment

Pages