I read somewhere that people should use
gksudo for applications that use the Gtk GUI instead of
sudo? What's the reasoning for this?
- There are other times, though, when side effects can be as mild as Firefox extensions not sticking or as extreme as as not being able to log in any more because the permissions on your .ICEauthority changed.
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
it uses root's Firefox configuration file.
But if you launch Firefox with the command
it runs with root privileges but uses the user's configuration file.