Missing Linux apps on Windows
Franz Waldmüller
waldbauernbub at gmx.at
Tue May 12 19:21:17 UTC 2009
Karl F. Larsen schrieb:
> You can start Gedit from the
> command line as root with a sudo and it can do anything VI ever did.
When you start a graphical application from the command line you should
use the gksu command instead of sudo!
gksu gedit
https://help.ubuntu.com/community/RootSudo :
Graphical sudo
You should never use normal sudo to start graphical applications as
root. You should use gksudo (kdesudo on Kubuntu) to run such programs.
gksudo sets HOME=~root, and copies .Xauthority to a tmp directory. This
prevents files in your home directory becoming owned by root. (AFAICT,
this is all that's special about the environment of the started process
with gksudo vs. sudo).
A friend of mine started once openoffice with sudo to install
dictionaries for all users. He then wasn't able to launch openoffice
without root privileges
Franz
More information about the ubuntu-users
mailing list