Missing Linux apps on Windows

Karl F. Larsen klarsen1 at gmail.com
Tue May 12 21:20:34 UTC 2009


Franz Waldmüller wrote:
> 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
>
>   
    Should have used $ gedit and then it has no root capabilty but it 
works fine.


Karl





More information about the ubuntu-users mailing list